mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 18:30:35 +01:00
chore: use new syntax for css variables (#3258)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
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-[var(--ui-text)]',
|
||||
label: 'block font-medium text-(--ui-text)',
|
||||
container: 'mt-1 relative',
|
||||
description: 'text-[var(--ui-text-muted)]',
|
||||
error: 'mt-2 text-[var(--ui-error)]',
|
||||
hint: 'text-[var(--ui-text-muted)]',
|
||||
help: 'mt-2 text-[var(--ui-text-muted)]'
|
||||
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-[var(--ui-error)]`
|
||||
label: `after:content-['*'] after:ms-0.5 after:text-(--ui-error)`
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user