chore: use new syntax for css variables (#3258)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Sandro Circi
2025-02-07 11:24:14 +01:00
committed by GitHub
parent 8e7c52e1fb
commit 104852a55c
230 changed files with 12934 additions and 12958 deletions

View File

@@ -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)`
}
}
},