-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
67 lines (67 loc) · 1.82 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./*.html"],
theme: {
extend: {
colors: {
"primary-bg": "#100E1D",
"secondary-bg": "#1E213A",
"btn-bg1": "#6E707A",
"btn-bg1-h": "#55565e", // hover
"btn-bg2": "#585676",
"btn-bg2-h": "#424059", // hover
"btn-bg3": "#3C47E9",
"btn-bg3-h": "#1825d8", // hover
"primary-text": "#E7E7EB",
"primary-text-h": "#cacad3", // hover
"secondary-text": "#88869D",
"dark-text": "#110E3C",
"tertiary-text": "#A09FB1",
"range-bg": "#ffec65",
},
fontFamily: {
raleway: ["Raleway", "sans-serif"],
},
fontSize: {
html: "62.5%",
desktop: "75%",
land: "58%",
port: "53%",
16: "16px",
},
gridTemplateColumns: {
// Body layout
body: "8fr, 17fr",
"body-tp": "10fr, 15fr",
days: "repeat(auto-fit, minmax(13rem, 1fr))",
highlight: "repeat(auto-fit, minmax(30rem, 1fr))",
"highlight-p": "repeat(auto-fit, minmax(100%, 1fr))",
},
gridTemplateRows: {
// Body layout
highlight: "20.4rem, 15.9rem",
body: "minmax(102.3rem, 100vh)",
"body-tl": "minmax(max-content, 100vh)",
"body-p": "minmax(100vh, max-content), max-content",
},
screens: {
"large-desktop": "1800px", // 1800px
tl: "1200px", // tablet-landscape
tp: "900px", // tablet-portrait
p: "600px", // phone
sp: "300px", // small-phone
},
keyframes: {
// loading keyframe
l4: {
to: { transform: "rotate(1turn)" },
},
},
animation: {
// loading animation
l4: "l4 1s infinite steps(10)",
},
},
},
plugins: [],
};