-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.cjs
105 lines (104 loc) · 2.52 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
fontFamily: {
sans: ["Open Sans"],
},
extend: {
colors: {
primary: "#9147ff",
"primary-light-contrast": "#b689fa",
"primary-dark-contrast": "#6826c9",
secondary: "#b5179e",
feedback: {
error: "#cc0000",
warning: "#ff8800",
success: "#007e33",
info: "#0d47a1",
},
},
backgroundImage: {
waves: "url('./assets/waves.svg')",
},
keyframes: {
blurIn: {
"0%, 100%": { backdropFilter: "blur(1px)" },
"100%": { backdropFilter: "blur(5px)" },
},
fadeIn: {
"0%, 100%": {
transform: "translateY(50px)",
opacity: 0,
},
"100%": {
transform: "translateY(0px)",
opacity: 1,
},
},
downSlide: {
"0%, 100%": {
transform: "translateY(-20px)",
opacity: 0,
},
"100%": {
transform: "translateY(0px)",
opacity: 1,
},
},
upSlide: {
"0%, 100%": {
transform: "translateY(20px)",
opacity: 0,
},
"100%": {
transform: "translateY(0px)",
opacity: 1,
},
},
leftSlide: {
"0%, 100%": {
transform: "translateX(20px)",
opacity: 0,
},
"100%": {
transform: "translateX(0px)",
opacity: 1,
},
},
rightSlide: {
"0%": {
transform: "translateX(0px)",
opacity: 1,
},
"100%": {
transform: "translateX(20px)",
opacity: 0,
},
},
hide: {
"0%, 100%": {
opacity: 1,
},
"100%": {
opacity: 0,
},
},
},
animation: {
blurIn: "blurIn 0.45s ease-in-out forwards",
fadeIn: "fadeIn 0.4s ease forwards",
downSlide: "downSlide 0.25s ease forwards",
leftSlide: "leftSlide 0.25s ease forwards",
rightSlide: "rightSlide 0.25s ease forwards",
upSlide: "upSlide 0.25s ease forwards",
hide: "hide 0.25s ease forwards",
},
},
},
plugins: [
require("tailwind-scrollbar-hide"),
require("@tailwindcss/line-clamp"),
],
};