-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
76 lines (67 loc) · 1.99 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
const colors = require("tailwindcss/colors");
module.exports = {
purge: {
content: ["./dist/**/*.html"],
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
transparent: "transparent",
current: "currentColor",
grey: colors.gray,
trueGrey: colors.trueGray,
warmGrey: colors.warmGray,
red: colors.red,
orange: colors.orange,
green: colors.green,
emerald: colors.emerald,
teal: colors.teal,
cyan: colors.cyan,
lightBlue: colors.lightBlue,
blue: colors.lightBlue,
indigo: colors.indigo,
yellow: colors.amber,
violet: colors.violet,
purple: colors.purple,
fuchsia: colors.fuchsia,
pink: colors.pink,
rose: colors.rose,
},
keyframes: {
fade: { "0%": { opacity: "0" }, "100%": { opacity: "1" } },
slideInLeft: {
"0%": { opacity: "0", transform: "translateX(-5%)" },
"100%": { opacity: "1", transform: "translateX(0%)" },
},
slideInRight: {
"0%": { opacity: "0", transform: "translateX(5%)" },
"100%": { opacity: "1", transform: "translateX(0%)" },
},
slideInBtm: {
"0%": { opacity: "0", transform: "translateY(5%)" },
"100%": { opacity: "1", transform: "translateY(0%)" },
},
},
animation: {
fade: "fade 500ms ease-in-out",
slideInLeft: "slideInLeft 350ms ease-in-out",
slideInRight: "slideInRight 350ms ease-in-out",
slideInBtm: "slideInBtm 200ms ease-in-out",
},
fontFamily: {
notoSansJP: ["'Noto Sans JP'", "helvetica", "sans-serif"],
},
backgroundImage: (theme) => ({
"hero-image-home":
"url('https://d1yt94yd1gs7u3.cloudfront.net/img/hero-image-home.jpg')",
}),
},
},
variants: {
extend: {
backgroundColor: ["active"],
},
},
plugins: [require("tailwindcss-debug-screens")],
};