Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Fix tailwind safelist (#2966)

Uku Tahte4b1aa64d1bc
diff --git a/assets/tailwind.config.js b/assets/tailwind.config.js
index 4b5bf5459e..83ae7fcb73 100644
--- a/assets/tailwind.config.js
+++ b/assets/tailwind.config.js
@@ -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: {