Add additional classes to PurgeCSS safelist

This commit is contained in:
Oliver Davies 2021-02-10 20:18:18 +00:00
parent ab69190d8f
commit b9b09b5719
2 changed files with 33 additions and 7 deletions

View 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

View file

@ -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: {