fix: allow safelist for hover & active variants

This commit is contained in:
Shariq Ansari 2023-11-29 17:48:34 +05:30
parent 8da8472e93
commit 0d878e6413

View File

@ -6,7 +6,7 @@ module.exports = {
'./node_modules/frappe-ui/src/components/**/*.{vue,js,ts,jsx,tsx}',
'../node_modules/frappe-ui/src/components/**/*.{vue,js,ts,jsx,tsx}',
],
safelist: [{ pattern: /(!text|!bg|hover:!bg)-/ }],
safelist: [{ pattern: /!(text|bg)-/, variants: ['hover', 'active'] }],
theme: {
extend: {},
},