-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
104 lines (96 loc) · 2.51 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
const colors = require("tailwindcss/colors");
module.exports = {
content: ["./src/**/*.{html,js,jsx}"],
darkMode: "class",
theme: {
colors: {
primary: "#4299E1",
secondary: "#39BDF8",
"nav-background": "#FFFFFF",
background: "#F8F9FA",
"secondary-background": "#DCF0FF",
"txt-color": "#000000",
"txt-secondary-color": "#64748b",
"txt-hover-color": "#94a3b8",
"background-dim": "rgb(0,0,0,0.5)",
"dark-bg": "#161A23",
"dark-bg-paper": "#252836",
"dark-bg-linkHover": "#1C2633",
"dark-bg-input": "#2D303E",
"dark-border-primary": "#43454E",
"dark-border-input": "#505261",
"dark-txt-primary": "#ffffff",
"dark-txt-secondary": "#9C9FB1",
"dark-txt-link": "#8493A9",
"dark-txt-input": "#CCCEDE",
"dark-secondary-background": "#2E303E",
...colors,
},
screens: {
"2xl": { max: "1535px" },
// => @media (max-width: 1535px) { ... }
xl: { max: "1279px" },
// => @media (max-width: 1279px) { ... }
lg: { max: "1023px" },
// => @media (max-width: 1023px) { ... }
md: { max: "850px" },
// => @media (max-width: 767px) { ... }
sm: { max: "639px" },
// => @media (max-width: 639px) { ... }
},
extend: {
backgroundImage: {
blob: "url('./assets/blob.svg')",
},
keyframes: {
slideRight: {
from: {
opacity: 0,
transform: "translateX(-40px) scale(0.98)",
},
to: {
opacity: 1,
transform: "translateX(0px) scale(1)",
},
},
slideLeft: {
from: {
opacity: 0,
transform: "translateX(40px) scale(0.98)",
},
to: {
opacity: 1,
transform: "translateX(0px) scale(1)",
},
},
roundIn: {
from: {
opacity: 0,
transform: "rotate(0.5turn)",
},
to: {
opacity: 1,
transform: "rotate(0)",
},
},
roundOut: {
from: {
opacity: 0,
transform: "rotate(0turn)",
},
to: {
opacity: 1,
transform: "rotate(0.5)",
},
},
},
animation: {
slideRight: "slideRight ease-in 0.3s",
slideLeft: "slideLeft ease-in 0.3s",
roundIn: "roundIn ease-in 0.3s",
roundOut: "roundOut ease-in 0.3s",
},
},
},
plugins: [],
};