site: properly fix modals

uncss was clearing out the "block" and "animate-fade-in/out", so removed
that step since tailwind does a similar thing anyway.
This commit is contained in:
Harvey Tindall
2022-12-29 21:15:07 +00:00
parent 6bab805528
commit 47d00d1f27
5 changed files with 29 additions and 6 deletions
+3 -1
View File
@@ -2,8 +2,9 @@ let colors = require("tailwindcss/colors")
let dark = require("../css/dark");
module.exports = {
content: ["./index.html", "./out/main.js"],
content: ["./safelist.html", "./index.html", "./out/main.js"],
darkMode: 'class',
important: true,
theme: {
extend: {
keyframes: {
@@ -44,5 +45,6 @@ module.exports = {
}
}
},
safelist: ["block", "animate-fade-in", "animate-fade-out"],
plugins: [require("a17t")],
}