feat: uniformize components sizes (#68)

This commit is contained in:
Benjamin Canac
2024-04-16 12:26:29 +02:00
committed by GitHub
parent 78e45600de
commit f302a15972
96 changed files with 1854 additions and 1720 deletions

View File

@@ -12,12 +12,11 @@ export default {
},
variants: {
size: {
'2xs': { root: 'text-xs' },
'xs': { root: 'text-xs' },
'sm': { root: 'text-sm' },
'md': { root: 'text-sm' },
'lg': { root: 'text-base' },
'xl': { root: 'text-base' }
xs: { root: 'text-xs' },
sm: { root: 'text-xs' },
md: { root: 'text-sm' },
lg: { root: 'text-sm' },
xl: { root: 'text-base' }
},
required: {
true: {
@@ -26,6 +25,6 @@ export default {
}
},
defaultVariants: {
size: 'sm'
size: 'md'
}
}