mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 23:11:43 +01:00
chore(Avatar): use preset system
This commit is contained in:
@@ -93,6 +93,9 @@ export default defineNuxtModule<ModuleOptions>({
|
||||
// Safelist dynamic colors used in preset
|
||||
safelist: [
|
||||
'dark',
|
||||
{
|
||||
pattern: new RegExp(`bg-(${safeColorsAsRegex})-400`)
|
||||
},
|
||||
{
|
||||
pattern: new RegExp(`bg-(${safeColorsAsRegex})-(100|600|700)`),
|
||||
variants: ['hover', 'disabled', 'dark']
|
||||
|
||||
Reference in New Issue
Block a user