site: use tailwind

This commit is contained in:
Harvey Tindall
2022-01-04 21:14:12 +00:00
parent 3b0701e772
commit e86f5f4c3c
10 changed files with 1812 additions and 110 deletions
+26
View File
@@ -0,0 +1,26 @@
let colors = require("tailwindcss/colors")
let dark = require("../css/dark");
module.exports = {
content: ["./index.html", "./out/main.js"],
darkMode: 'class',
theme: {
extend: {
colors: {
neutral: colors.slate,
positive: colors.green,
urge: colors.violet,
warning: colors.yellow,
info: colors.blue,
critical: colors.red,
d_neutral: dark.d_neutral,
d_positive: dark.d_positive,
d_urge: dark.d_urge,
d_warning: dark.d_warning,
d_info: dark.d_info,
d_critical: dark.d_critical
}
}
},
plugins: [require("a17t")],
}