mirror of
https://github.com/immich-app/ui.git
synced 2026-09-30 13:32:54 +08:00
* chore: formatter use 2 spaces instead of tabs * chore: format * chore: use defaults * chore: 120 width --------- Co-authored-by: Jason Rasmussen <jason@rasm.me>
26 lines
544 B
TypeScript
26 lines
544 B
TypeScript
import { tv } from 'tailwind-variants';
|
|
|
|
export const styles = {
|
|
label: tv({
|
|
base: '',
|
|
variants: {
|
|
size: {
|
|
tiny: 'text-xs',
|
|
small: 'text-sm',
|
|
medium: 'text-base',
|
|
large: 'text-lg',
|
|
giant: 'text-xl',
|
|
},
|
|
color: {
|
|
muted: 'text-gray-600 dark:text-gray-400',
|
|
primary: 'text-primary',
|
|
secondary: 'text-dark',
|
|
success: 'text-success',
|
|
danger: 'text-danger',
|
|
warning: 'text-warning',
|
|
info: 'text-info',
|
|
},
|
|
},
|
|
}),
|
|
};
|