-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.ts
158 lines (153 loc) · 4.22 KB
/
tailwind.config.ts
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
import type { Config } from "tailwindcss";
import defaultTheme from "tailwindcss/defaultTheme";
import tailwindForm from "@tailwindcss/forms";
import tailwindTypography from "@tailwindcss/typography";
import tailwindContainerQueries from "@tailwindcss/container-queries";
const config = {
darkMode: "class",
content: ["./app/**/*.{js,jsx,ts,tsx}"],
theme: {
container: {
padding: {
DEFAULT: "0.8rem",
sm: "2rem",
lg: "1.5rem",
xl: "3rem",
"2xl": "10rem",
},
},
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
lexend: ["Lexend", "sans-serif"],
inter: ["Inter var", "sans-serif"],
cursive: ["Gloria Hallelujah", "cursive"],
},
colors: {
gray: {
darkest: "#0E141A",
dark: "#17212B",
},
brand: {
DEFAULT: "#5282FF",
50: "#FFFFFF",
100: "#F5F8FF",
200: "#CCDAFF",
300: "#A4BDFF",
400: "#7B9FFF",
500: "#5282FF",
600: "#1A59FF",
700: "#003EE1",
800: "#002FA9",
900: "#001F71",
950: "#001755",
},
background: {
DEFAULT: "#0E141A",
50: "#FCFCFD",
100: "#F1F4F8",
150: "#E9EEF3",
200: "#CDD8E4",
300: "#A8BCD0",
400: "#84A0BD",
500: "#5F84A9",
600: "#364C63",
700: "#1E2B38",
800: "#17212B",
900: "#0E141A",
950: "#040608",
},
},
animation: {
bg: "bg 5s ease infinite",
"rotate-bg": "rotate-bg 5s linear infinite",
tada: "tada 1s ease-in-out ",
float: "float 2s ease-in-out infinite",
popover: "popover 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
spotlight: "spotlight 2s ease .75s 1 forwards",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
bg: {
"0%, 100%": {
"background-size": "200% 200%",
"background-position": "left center",
},
"50%": {
"background-size": "200% 200%",
"background-position": "right center",
},
},
"rotate-bg": {
"0%": {
transform: "rotate(0deg)",
},
"50%": {
transform: "rotate(180deg)",
},
"100%": {
transform: "rotate(360deg)",
},
},
tada: {
from: { transform: "scale3d(1, 1, 1)" },
"10%, 20%": {
transform: "scale3d(0.97, 0.97, 0.97) rotate3d(0, 0, 1, -3deg)",
},
"30%, 50%, 70%, 90%": {
transform: "scale3d(1.03, 1.03, 1.03) rotate3d(0, 0, 1, 3deg)",
},
"40%, 60%, 80%": {
transform: "scale3d(1.03, 1.03, 1.03) rotate3d(0, 0, 1, -3deg)",
},
to: { transform: "scale3d(1, 1, 1)" },
},
float: {
"0%": {
transform: "translatey(0px)",
},
"50%": {
transform: "translatey(-5px)",
},
"100%": {
transform: "translatey(0px)",
},
},
popover: {
from: {
opacity: "0",
transform: "translateY(4px)",
},
to: {
opacity: "1",
transform: "translateY(0)",
},
},
spotlight: {
"0%": {
opacity: "0",
transform: "translate(-72%, -62%) scale(0.5)",
},
"100%": {
opacity: "1",
transform: "translate(-50%,-40%) scale(1)",
},
},
},
},
},
plugins: [tailwindForm, tailwindTypography, tailwindContainerQueries],
} satisfies Config;
export default config;