2022-01-04 21:13:09 +00:00
|
|
|
let colors = require("tailwindcss/colors")
|
|
|
|
let dark = require("../css/dark");
|
|
|
|
|
|
|
|
module.exports = {
|
2022-12-29 21:15:07 +00:00
|
|
|
content: ["./safelist.html", "./index.html", "./out/main.js"],
|
2022-01-04 21:13:09 +00:00
|
|
|
darkMode: 'class',
|
2022-12-29 21:15:07 +00:00
|
|
|
important: true,
|
2022-01-04 21:13:09 +00:00
|
|
|
theme: {
|
|
|
|
extend: {
|
2022-12-29 20:31:29 +00:00
|
|
|
keyframes: {
|
|
|
|
'fade-in': {
|
|
|
|
'0%': {
|
|
|
|
opacity: '0'
|
|
|
|
},
|
|
|
|
'100%': {
|
|
|
|
opacity: '1'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
'fade-out': {
|
|
|
|
'0%': {
|
|
|
|
opacity: '1'
|
|
|
|
},
|
|
|
|
'100%': {
|
|
|
|
opacity: '0'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
animation: {
|
|
|
|
'fade-in': 'fade-in 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94)',
|
|
|
|
'fade-out': 'fade-out 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94)'
|
|
|
|
},
|
2022-01-04 21:13:09 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-29 21:15:07 +00:00
|
|
|
safelist: ["block", "animate-fade-in", "animate-fade-out"],
|
2022-01-04 21:13:09 +00:00
|
|
|
plugins: [require("a17t")],
|
|
|
|
}
|