-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
66 lines (65 loc) · 1.9 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
const theme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
colors: {
white: "white",
transparent: "transparent",
gray: colors.gray,
green: {
400: "#009999",
500: "#008080",
600: "#006666",
700: "#004D4D",
},
yellow: {
50: "#FEFAF1",
300: "#FFE6B3",
500: "#FFC34D",
600: "#E6A117",
},
},
extend: {
spacing: {
7.5: "1.875rem", // 30px
15: "3.75rem", // 60px
30: "7.5rem", // 120px
45: "11.25rem", // 180px
},
animation: {
flip: "flip 0.2s linear 1",
rock: "rock 3s ease-out 1",
},
keyframes: {
flip: {
"0%": { transform: "translate(0, 0) rotate(0deg)" },
"100%": { transform: "translate(5px, 0) rotate(370deg)" },
},
rock: {
"0%": { transform: "translate(5px, 0) rotate(10deg)" },
"10%": { transform: "translate(-5px, 0) rotate(-10deg)" },
"20%": { transform: "translate(4px, 0) rotate(8deg)" },
"30%": { transform: "translate(-4px, 0) rotate(-8deg)" },
"40%": { transform: "translate(3px, 0) rotate(6deg)" },
"50%": { transform: "translate(-3px, 0) rotate(-6deg)" },
"60%": { transform: "translate(2px, 0) rotate(4deg)" },
"70%": { transform: "translate(-2px, 0) rotate(-4deg)" },
"80%": { transform: "translate(1px, 0) rotate(2deg)" },
"90%": { transform: "translate(-1px, 0) rotate(-2deg)" },
"100%": { transform: "translate(0, 0) rorate(0deg)" },
},
},
},
screens: {
"2xs": "360px",
xs: "480px",
...theme.screens,
},
},
plugins: [],
};