mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
31 lines
671 B
TypeScript
31 lines
671 B
TypeScript
export default {
|
|
slots: {
|
|
root: '',
|
|
wrapper: '',
|
|
labelWrapper: 'flex content-center items-center justify-between',
|
|
label: 'block font-medium text-default',
|
|
container: 'mt-1 relative',
|
|
description: 'text-muted',
|
|
error: 'mt-2 text-error',
|
|
hint: 'text-muted',
|
|
help: 'mt-2 text-muted'
|
|
},
|
|
variants: {
|
|
size: {
|
|
xs: { root: 'text-xs' },
|
|
sm: { root: 'text-xs' },
|
|
md: { root: 'text-sm' },
|
|
lg: { root: 'text-sm' },
|
|
xl: { root: 'text-base' }
|
|
},
|
|
required: {
|
|
true: {
|
|
label: `after:content-['*'] after:ms-0.5 after:text-error`
|
|
}
|
|
}
|
|
},
|
|
defaultVariants: {
|
|
size: 'md'
|
|
}
|
|
}
|