-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
114 lines (110 loc) · 3.67 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/spaces/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
main: "var(--main)",
main50: "var(--main50)",
mainAccent: "var(--main-accent)",
overlay: "rgba(0,0,0,0.8)",
// light mode
bg: "var(--bg)",
text: "black",
border: "var(--border)",
// dark mode
darkBg: "var(--dark-bg)",
darkText: "#e6e6e6",
darkBorder: "var(--dark-border)",
darkNavBorder: "#000",
secondaryBlack: "#212121",
ruby: "#C74241",
sapphire: "#088BBC",
amethyst: "#7D3D7B",
emerald: "#2B9043",
amber: "#F0A82D",
steel: "#8D97A0",
},
translate: {
boxShadowX: "var(--horizontal-box-shadow)",
boxShadowY: "var(--vertical-box-shadow)",
reverseBoxShadowX: "calc(var(--horizontal-box-shadow) * -1)",
reverseBoxShadowY: "calc(var(--vertical-box-shadow) * -1)",
},
boxShadow: {
light:
"var(--horizontal-box-shadow) var(--vertical-box-shadow) 0px 0px var(--border)",
dark: "var(--horizontal-box-shadow) var(--vertical-box-shadow) 0px 0px var(--dark-border)",
nav: "4px 4px 0px 0px var(--border)",
navDark: "4px 4px 0px 0px var(--dark-border)",
},
fontWeight: {
base: "var(--base-font-weight)",
heading: "var(--heading-font-weight)",
},
borderRadius: {
base: "var(--border-radius)",
},
keyframes: {
marquee: {
"0%": { transform: "translateX(0%)" },
"100%": { transform: "translateX(-100%)" },
},
marquee2: {
"0%": { transform: "translateX(100%)" },
"100%": { transform: "translateX(0%)" },
},
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
"caret-blink": {
"0%,70%,100%": { opacity: "1" },
"20%,50%": { opacity: "0" },
},
},
animation: {
marquee: "marquee 5s linear infinite",
marquee2: "marquee2 5s linear infinite",
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"caret-blink": "caret-blink 1.25s ease-out infinite",
},
screens: {
m1600: { raw: "(max-width: 1600px)" },
m1500: { raw: "(max-width: 1500px)" },
m1400: { raw: "(max-width: 1400px)" },
m1300: { raw: "(max-width: 1300px)" },
m1250: { raw: "(max-width: 1250px)" },
m1200: { raw: "(max-width: 1200px)" },
m1100: { raw: "(max-width: 1100px)" },
m1000: { raw: "(max-width: 1000px)" },
m900: { raw: "(max-width: 900px)" },
m850: { raw: "(max-width: 850px)" },
m800: { raw: "(max-width: 800px)" },
m750: { raw: "(max-width: 750px)" },
m700: { raw: "(max-width: 700px)" },
m650: { raw: "(max-width: 650px)" },
m600: { raw: "(max-width: 600px)" },
m550: { raw: "(max-width: 550px)" },
m500: { raw: "(max-width: 500px)" },
m450: { raw: "(max-width: 450px)" },
m400: { raw: "(max-width: 400px)" },
m350: { raw: "(max-width: 350px)" },
},
width: {
container: "1300px",
},
},
},
plugins: [require("@tailwindcss/typography"), require("tailwindcss-animate")],
darkMode: "class",
};