-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
45 lines (44 loc) · 1.1 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
const colors = require("tailwindcss/colors")
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
keyframes: {
fadeIn: {
"0%": { transform: "translateX(-50%)", opacity: 0 },
"100%": { transform: "translateX(0%)", opacity: 100 },
},
fadeOut: {
"0%": { transform: "translateX(0%)", opacity: 100 },
"100%": { transform: "translateX(50%)", opacity: 0 },
},
},
animation: {
fadeIn: "fadeIn 0.33s ease-in-out normal forwards",
fadeOut: "fadeOut 0.33s ease-in-out normal forwards",
},
},
colors: {
transparent: "transparent",
current: "currentColor",
primaryLight: colors.gray,
primaryDark: colors.green,
danger: colors.red,
success: colors.green,
warning: colors.yellow,
// Spell Schools
// abjuration: colors.amber,
// conjuration: colors.emerald,
// divination: colors.red,
// enchantment: colors.indigo,
// evocation: colors.lime,
// illusion: colors.cyan,
// necromancy: colors.fuchsia,
// transmutation: colors.orange,
},
},
plugins: [],
}