mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 16:30:45 +01:00
fix(module): stop using tailwind's shorthand arbitrary variable syntax (#2366)
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-[--ui-text]',
|
||||
label: 'block font-medium text-[var(--ui-text)]',
|
||||
container: 'mt-1 relative',
|
||||
description: 'text-[--ui-text-muted]',
|
||||
error: 'mt-2 text-[--ui-error]',
|
||||
hint: 'text-[--ui-text-muted]',
|
||||
help: 'mt-2 text-[--ui-text-muted]'
|
||||
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)]'
|
||||
},
|
||||
variants: {
|
||||
size: {
|
||||
@@ -20,7 +20,7 @@ export default {
|
||||
},
|
||||
required: {
|
||||
true: {
|
||||
label: `after:content-['*'] after:ms-0.5 after:text-[--ui-error]`
|
||||
label: `after:content-['*'] after:ms-0.5 after:text-[var(--ui-error)]`
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user