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,15 +1,17 @@
const colors = require('tailwindcss/colors')
module.exports = {
purge: [
'./js/**/*.js',
'../lib/plausible_web/templates/**/*.html.eex',
],
safelist: [
// PlausibleWeb.StatsView.stats_container_class/1 uses this class
// it's not used anywhere else in the templates or scripts
"max-w-screen-xl"
],
purge: {
content: [
'./js/**/*.js',
'../lib/plausible_web/templates/**/*.html.eex',
],
safelist: [
// 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: {