mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 19:23:31 +00:00
fix: Add safelist to tailwind config for dynamic classes
This commit is contained in:
@@ -5,6 +5,17 @@ module.exports = {
|
||||
'./src/public/**/*.html',
|
||||
'./src/public/**/*.js',
|
||||
],
|
||||
safelist: [
|
||||
'opacity-60',
|
||||
{
|
||||
pattern: /^(bg|text)-(red|yellow|green|blue)-(100|200|300|400|500|600|700|800|900)(\/50)?$/,
|
||||
},
|
||||
{
|
||||
pattern: /^dark:(bg|text)-(red|yellow|green|blue)-(100|200|300|400|500|600|700|800|900)(\/50)?$/,
|
||||
},
|
||||
'vm-icon',
|
||||
'ct-icon',
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user