mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 09:50:33 +01:00
refactor(module)!: implement design system with CSS variables (#2298)
This commit is contained in:
@@ -3,12 +3,12 @@ export default {
|
||||
root: '',
|
||||
wrapper: '',
|
||||
labelWrapper: 'flex content-center items-center justify-between',
|
||||
label: 'block font-medium text-gray-700 dark:text-gray-200',
|
||||
label: 'block font-medium text-[--ui-text]',
|
||||
container: 'mt-1 relative',
|
||||
description: 'text-gray-500 dark:text-gray-400',
|
||||
error: 'mt-2 text-error-500 dark:text-error-400',
|
||||
hint: 'text-gray-500 dark:text-gray-400',
|
||||
help: 'mt-2 text-gray-500 dark:text-gray-400'
|
||||
description: 'text-[--ui-text-muted]',
|
||||
error: 'mt-2 text-[--ui-error]',
|
||||
hint: 'text-[--ui-text-muted]',
|
||||
help: 'mt-2 text-[--ui-text-muted]'
|
||||
},
|
||||
variants: {
|
||||
size: {
|
||||
@@ -20,7 +20,7 @@ export default {
|
||||
},
|
||||
required: {
|
||||
true: {
|
||||
label: `after:content-['*'] after:ms-0.5 after:text-error-500 dark:after:text-error-400`
|
||||
label: `after:content-['*'] after:ms-0.5 after:text-[--ui-error]`
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user