-
Notifications
You must be signed in to change notification settings - Fork 148
/
tailwind.config.ts
112 lines (111 loc) · 3.74 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
import type { Config } from "tailwindcss";
const config: Config = {
future: {
hoverOnlyWhenSupported: true,
},
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
extend: {
colors: {
background: "hsl(var(--background) / <alpha-value>)",
panel: "hsl(var(--panel) / <alpha-value>)",
brand: "hsl(var(--brand) / <alpha-value>)",
purple: "hsl(var(--purple) / <alpha-value>)",
blue: "hsl(var(--blue) / <alpha-value>)",
gray: {
1: "hsl(var(--gray-1) / <alpha-value>)",
2: "hsl(var(--gray-2) / <alpha-value>)",
3: "hsl(var(--gray-3) / <alpha-value>)",
4: "hsl(var(--gray-4) / <alpha-value>)",
5: "hsl(var(--gray-5) / <alpha-value>)",
6: "hsl(var(--gray-6) / <alpha-value>)",
7: "hsl(var(--gray-7) / <alpha-value>)",
8: "hsl(var(--gray-8) / <alpha-value>)",
9: "hsl(var(--gray-9) / <alpha-value>)",
10: "hsl(var(--gray-10) / <alpha-value>)",
11: "hsl(var(--gray-11) / <alpha-value>)",
12: "hsl(var(--gray-12) / <alpha-value>)",
a1: "var(--gray-a1)",
a2: "var(--gray-a2)",
a3: "var(--gray-a3)",
a4: "var(--gray-a4)",
a5: "var(--gray-a5)",
a6: "var(--gray-a6)",
a7: "var(--gray-a7)",
a8: "var(--gray-a8)",
a9: "var(--gray-a9)",
a10: "var(--gray-a10)",
a11: "var(--gray-a11)",
a12: "var(--gray-a12)",
},
},
screens: {
tall: { raw: "(min-height: 840px)" },
tallx2: { raw: "(min-height: 1000px)" },
desktop: { raw: "(min-height: 840px) and (min-width: 960px)" },
},
spacing: {
"scrollbar-offset": "calc(16px + var(--removed-body-scroll-bar-size, 0px))",
},
borderRadius: {
inherit: "inherit",
},
fontSize: {
xxs: "11px",
},
keyframes: {
slideDownAndFade: {
from: { opacity: "0", transform: "translateY(-2px)" },
to: { opacity: "1", transform: "translateY(0)" },
},
slideLeftAndFade: {
from: { opacity: "0", transform: "translateX(2px)" },
to: { opacity: "1", transform: "translateX(0)" },
},
slideUpAndFade: {
from: { opacity: "0", transform: "translateY(2px)" },
to: { opacity: "1", transform: "translateY(0)" },
},
slideRightAndFade: {
from: { opacity: "0", transform: "translateX(-2px)" },
to: { opacity: "1", transform: "translateX(0)" },
},
overlayShow: {
from: { opacity: "0" },
to: { opacity: "1" },
},
contentShow: {
from: { opacity: "0", transform: "translateY(-1%) scale(0.98)" },
to: { opacity: "1", transform: "translateY(0%) scale(1)" },
},
},
animation: {
slideDownAndFade: "slideDownAndFade 250ms cubic-bezier(0.16, 1, 0.3, 1)",
slideLeftAndFade: "slideLeftAndFade 250ms cubic-bezier(0.16, 1, 0.3, 1)",
slideUpAndFade: "slideUpAndFade 250ms cubic-bezier(0.16, 1, 0.3, 1)",
slideRightAndFade: "slideRightAndFade 250ms cubic-bezier(0.16, 1, 0.3, 1)",
overlayShow: "overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1)",
contentShow: "contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1)",
},
fontFamily: {
sans: [
"Inter",
"ui-sans-serif",
"system-ui",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
],
},
},
},
plugins: [],
};
export default config;