feat(annotator): match task-specific Figma screens
This commit is contained in:
parent
9de99c833b
commit
9ed811369d
23 changed files with 94 additions and 119 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import React from 'react'
|
||||
import clsx from 'clsx'
|
||||
import { useAnnotatorStore } from '../../annotatorStore'
|
||||
import { ANNOTATOR_COLORS } from '../../annotatorTheme'
|
||||
|
||||
export const ThumbnailStrip: React.FC = () => {
|
||||
const images = useAnnotatorStore((s) => s.images)
|
||||
|
|
@ -25,9 +26,10 @@ export const ThumbnailStrip: React.FC = () => {
|
|||
className={clsx(
|
||||
'relative aspect-video w-full overflow-hidden rounded-lg border-2 transition-all',
|
||||
isActive
|
||||
? 'border-[#4F46E5] shadow-xs'
|
||||
? 'shadow-xs'
|
||||
: 'border-transparent opacity-85 hover:opacity-100'
|
||||
)}
|
||||
style={isActive ? { borderColor: ANNOTATOR_COLORS.selection } : undefined}
|
||||
>
|
||||
<img
|
||||
src={img.thumbnailUrl}
|
||||
|
|
@ -40,9 +42,10 @@ export const ThumbnailStrip: React.FC = () => {
|
|||
className={clsx(
|
||||
'font-mono text-[10px] transition-colors',
|
||||
isActive
|
||||
? 'font-semibold text-[#4F46E5]'
|
||||
? 'font-semibold'
|
||||
: 'text-slate-400 group-hover:text-slate-600'
|
||||
)}
|
||||
style={isActive ? { color: ANNOTATOR_COLORS.selection } : undefined}
|
||||
>
|
||||
{shortName}
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue