-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
120 lines (120 loc) · 2.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
module.exports = {
purge: ["./src/views/**/*.ejs", "./public/scripts/badge.js"],
darkMode: false,
theme: {
screens: {
xs: "375px",
ml: "425px",
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
fontFamily: {
primary: ["Roboto", "sans-serif"],
},
colors: {
primary: "#e1e1e6",
secondary: "#c4c4cc",
tertiary: "#202024",
quaternary: "#454545",
fade: {
yellow: "#f7b125",
pink: "#fd2875",
"alt-pink": "rgba(253, 40, 117, 0.5)",
"alt-yellow": "rgba(247, 177, 37, 0.35)",
},
components: {
page: "#121216",
button: "#272729",
input: "#555559",
overlay: "rgba(0, 0, 0, 0.5)",
separator: "rgba(0, 0, 0, 0.1)",
},
utils: {
transparent: "transparent",
},
},
letterSpacing: {
widest: "0.2rem",
},
boxShadow: {
inner: "inset 0 0 0 2px #272729",
},
keyframes: {
"finite-bounce": {
"0%, 50%, 100%": { transform: "translateY(0)" },
"25%": { transform: "translateY(-25%)" },
"75%": { transform: "translateY(-20%)" },
},
"swipe-down": {
from: { transform: "translateY(-9.5%)" },
to: { transform: "translateY(0)" },
},
pop: {
"0%": { opacity: "0", transform: "scale(0.5)" },
"60%": { transform: "scale(1.15)" },
"100%": { opacity: "1", transform: "scale(1)" },
},
},
animation: {
"finite-bounce": "finite-bounce 1s ease-out",
"swipe-down": "swipe-down 0.65s ease-out",
pop: "pop 0.65s ease-in-out",
},
extend: {
backgroundImage: {
"badge-surface": "url(/images/badge.svg)",
"badge-band": "url(/images/band.svg)",
"desktop-page": "url(/images/body-desktop.svg)",
"desktop-badge-surface": "url(/images/badge-desktop.svg)",
},
fontSize: {
"125%": "125%",
"150%": "150%",
"2.5xl": ["1.6rem", "2.1rem"],
"6.5xl": ["4.125rem", "1"],
},
minWidth: {
70.5: "17.625rem",
101.25: "25.3125rem",
},
maxWidth: {
69: "17.25rem",
},
spacing: {
hpx: "0.5px", // half a pixel
4.5: "1.125rem",
7.5: "1.875rem",
14.5: "3.625rem",
15: "3.75rem",
19: "4.75rem",
28.75: "7.1875rem",
"-35": "-8.75rem",
35: "8.75rem",
35.75: "8.9375rem",
39: "9.75rem",
41: "10.25rem",
42: "10.5rem",
46: "11.515rem",
94: "23.5rem",
},
transitionProperty: {
"filter-transform": "filter, transform",
"colors-shadow":
"background-color, border-color, color, fill, stroke, box-shadow",
},
},
},
variants: {
extend: {
boxShadow: ["hover"],
animation: ["hover"],
brightness: ["hover"],
scale: ["active"],
transitionProperty: ["focus"],
},
},
plugins: [],
};