- Add a canonical 24, 28, and 32 pixel control scale - Rebuild the AI prompt as a multiline compound input - Keep property-panel icon actions at the explicit compact size
22 lines
684 B
TypeScript
22 lines
684 B
TypeScript
export default {
|
|
base: 'flex cursor-pointer items-center justify-center bg-transparent text-muted outline-none hover:bg-hover hover:text-surface focus-visible:border-panel-focus',
|
|
variants: {
|
|
size: {
|
|
xs: 'size-6 rounded border-none text-sm leading-none',
|
|
sm: 'size-7 rounded-md border-none text-sm leading-none',
|
|
md: 'size-8 rounded-md border-none text-base leading-none'
|
|
},
|
|
active: {
|
|
true: 'border-accent text-accent'
|
|
},
|
|
disabled: {
|
|
true: 'cursor-not-allowed opacity-50 hover:bg-transparent hover:text-muted'
|
|
}
|
|
},
|
|
defaultVariants: {
|
|
size: 'sm' as const,
|
|
active: false as const,
|
|
disabled: false as const
|
|
}
|
|
}
|