Add additional classes to PurgeCSS safelist
This commit is contained in:
parent
ab69190d8f
commit
b9b09b5719
32
web/themes/custom/opdavies/tailwind-safelist-classes.txt
Normal file
32
web/themes/custom/opdavies/tailwind-safelist-classes.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
bg-blue-600
|
||||
bg-gray-200
|
||||
block
|
||||
block-opdavies-branding
|
||||
border
|
||||
border-gray
|
||||
border-l-0
|
||||
flex
|
||||
flex-col
|
||||
flex-none
|
||||
italic
|
||||
my-auto
|
||||
p-3
|
||||
pl-5
|
||||
pr-6
|
||||
py-3
|
||||
rounded-full
|
||||
rounded-l-full
|
||||
rounded-r-full
|
||||
sm:flex-row
|
||||
sm:space-x-4
|
||||
sm:space-y-0
|
||||
space-x-3
|
||||
space-y-3
|
||||
space-y-4
|
||||
text-center
|
||||
text-sm
|
||||
text-white
|
||||
w-16
|
||||
w-32
|
||||
w-auto
|
||||
w-full
|
|
@ -12,15 +12,9 @@ module.exports = {
|
|||
content: [
|
||||
'../../../../config/**/*.yml',
|
||||
'opdavies.theme',
|
||||
'tailwind-safelist-classes.txt',
|
||||
'templates/**/*.twig',
|
||||
'/tmp/body-field-values.txt'
|
||||
],
|
||||
options: {
|
||||
safelist: [
|
||||
'bg-gray-200',
|
||||
'block-opdavies-branding'
|
||||
]
|
||||
}
|
||||
},
|
||||
theme: {
|
||||
extend: {
|
||||
|
|
Loading…
Reference in a new issue