-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.ts
124 lines (123 loc) · 3.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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
colors: {
transparent: "transparent",
"white-translucent": "#ffffff08",
light: {
100: "#fff",
200: "#F0FFFB",
300: "#C5D5E0",
},
grey: {
light: "#313237",
dark: "#2D2E33",
400: "#9DAAB3",
500: "#4C4E57",
600: "#3E4047",
},
black: {
700: "#34353B",
},
aqua: {
100: "#6CF9D8",
},
orange: {
100: "#E36D3A",
},
purple: {
100: "#AA81FF",
},
teal: {
100: "#44D2FF",
},
},
fontSize: {
xs: ["0.75rem", "1.05rem"], // [12px, 16.8px]
sm: ["0.875rem", "1.225rem"], // [14px, 19.6px]
md: ["1rem", "1.4rem"], // [16px, 22.4px]
lg: ["1.125rem", "1.575rem"], // [18px, 25.2px]
"heading-1": ["4rem", "4.4rem"], // [64px, 70.4x]
"heading-2": ["3rem", "3.3rem"], // [48px, 52.8px]
"heading-3": ["2rem", "2.2rem"], // [32px, 35.2px]
"heading-4": ["1.5rem", "1.65rem"], // [24px, 26.4px]
"heading-5": ["1.25rem", "1.375rem"], // [20px, 22px]
},
letterSpacing: {
"tight-1": "-0.28rem", // -4.48px
"tight-2": "-0.18rem", // -2.88px
"tight-3": "-0.14rem", // -2.24px
"tight-4": "-0.12rem", // -1.92px
"tight-5": "-0.04rem", // -0.64px
"tight-6": "-0.03rem", // -0.48px
"wide-4": "0.12rem", // 1.92px
},
extend: {
container: {
screens: {
xl: "1024px",
"2xl": "1024px",
},
},
screens: {
sm: "760px",
md: "900px",
},
fontWeight: {
lighter: "275",
},
maxWidth: {
"100": "400px",
},
animation: {
"infinite-scroll-20": "infinite-scroll 20s linear infinite",
"infinite-scroll-30": "infinite-scroll 30s linear infinite",
},
keyframes: {
"infinite-scroll": {
from: { transform: "translateX(0)" },
to: { transform: "translateX(-100%)" },
},
},
dropShadow: {
"aqua-sm": [
"0px 0px 8.286px #6CF9D8",
"0px 0px 5.919px #00A27C",
"0px 0px 1.578px rgba(0, 0, 0, 0.25)",
],
aqua: [
"0px 0px 13.811px #6CF9D8",
"0px 0px 9.865px #00A27C",
"0px 0px 2.631px rgba(0, 0, 0, 0.25)",
],
"teal-sm": [
"0px 0px 8.286px #7FE9E1",
"0px 0px 5.919px #7FBCE9",
"0px 0px 1.578px rgba(0, 0, 0, 0.25)",
],
teal: [
"0px 0px 13.811px #7FE9E1",
"0px 0px 9.865px #7FBCE9",
"0px 0px 2.631px rgba(0, 0, 0, 0.25)",
],
"purple-sm": [
"0px 0px 8.286px #E66DFA",
"0px 0px 5.919px #974AE4",
"0px 0px 1.578px rgba(0, 0, 0, 0.25)",
],
purple: [
"0px 0px 13.811px #E66DFA",
"0px 0px 9.865px #974AE4",
"0px 0px 2.631px rgba(0, 0, 0, 0.25)",
],
},
},
},
plugins: [require("tailwind-scrollbar-hide")],
};
export default config;