mirror of
https://github.com/YunoHost/yunohost-portal.git
synced 2024-09-03 20:06:23 +02:00
fix: add bg-color classes in tailwind safelist
This commit is contained in:
parent
d01074cef1
commit
2d652abc2f
1 changed files with 15 additions and 1 deletions
|
@ -1,7 +1,21 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// Safelisting some classes to avoid content purge
|
// Safelisting some classes to avoid content purge
|
||||||
plugins: [require('daisyui')],
|
plugins: [require('daisyui')],
|
||||||
safelist: ['safelisted'],
|
safelist: [
|
||||||
|
'safelisted',
|
||||||
|
'bg-primary',
|
||||||
|
'bg-secondary',
|
||||||
|
'bg-accent',
|
||||||
|
'bg-neutral',
|
||||||
|
'bg-base-100',
|
||||||
|
'bg-base-200',
|
||||||
|
'bg-base-300',
|
||||||
|
'bg-base-content',
|
||||||
|
'bg-info',
|
||||||
|
'bg-success',
|
||||||
|
'bg-warning',
|
||||||
|
'bg-error',
|
||||||
|
],
|
||||||
daisyui: {
|
daisyui: {
|
||||||
themes: true,
|
themes: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue