Fix tailwind safelist (#2966)

This commit is contained in:
Uku Taht 2023-05-25 10:34:10 +03:00 committed by GitHub
parent 7b22aff11c
commit e4b1aa64d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,8 @@
const colors = require('tailwindcss/colors')
module.exports = {
purge: [
purge: {
content: [
'./js/**/*.js',
'../lib/plausible_web/templates/**/*.html.eex',
],
@ -9,7 +10,8 @@ module.exports = {
// PlausibleWeb.StatsView.stats_container_class/1 uses this class
// it's not used anywhere else in the templates or scripts
"max-w-screen-xl"
],
]
},
darkMode: 'class',
theme: {
container: {