-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
119 lines (116 loc) · 3.04 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/main.tsx",
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
],
safelist: [
{
pattern: /flex-(row|col)/,
variants: ["sm", "md", "lg", "xl", "2xl"],
},
{
pattern:
/justify-(center|end|normal|around|between|evenly|start|stretch)/,
variants: ["sm", "md", "lg", "xl", "2xl"],
},
{
pattern: /items-(baseline|center|end|start|stretch)/,
variants: ["sm", "md", "lg", "xl", "2xl"],
},
{
pattern: /gap-(x|y)-[1-8]/,
variants: ["sm", "md", "lg", "xl", "2xl"],
},
],
theme: {
extend: {
boxShadow: {
"outline-dark": "0 0 0 3px #67E8F9", // cyan-300
"outline-inset-dark":
"inset 0 -0.125em 0 0 #111827, inset 0 -0.22em 0 0 #22D3EE", // coolgray-900, cyan-400
"outline-inset-dark-fill":
"inset 0 -0.125em 0 0 #111827, inset 0 -1em 0 0 #22D3EE", // coolgray-900, cyan-400
"outline-light": "0 0 0 3px #22D3EE", // cyan-400
"outline-light-blur": "0 0 3pt 2pt rgb(178 245 234)",
},
// cyan, coolgray are used. the others are from the tailwind 2.0 color palette for experimenting.
colors: {
coolgray: {
/* eslint-disable sort-keys */
50: "#F9FAFB",
100: "#F3F4F6",
200: "#E5E7EB",
300: "#D1D5DB",
400: "#9CA3AF",
500: "#6B7280",
600: "#4B5563",
700: "#374151",
800: "#1F2937",
900: "#111827",
/* eslint-enable sort-keys */
},
cyan: {
/* eslint-disable sort-keys */
50: "#ECFEFF",
100: "#CFFAFE",
200: "#A5F3FC",
300: "#67E8F9",
400: "#22D3EE",
500: "#06B6D4",
600: "#0891B2",
700: "#0E7490",
800: "#155E75",
900: "#164E63",
/* eslint-enable sort-keys */
},
emerald: {
/* eslint-disable sort-keys */
50: "#ECFDF5",
100: "#D1FAE5",
200: "#A7F3D0",
300: "#6EE7B7",
400: "#34D399",
500: "#10B981",
600: "#059669",
700: "#047857",
800: "#065F46",
900: "#064E3B",
/* eslint-enable sort-keys */
},
gray: {
/* eslint-disable sort-keys */
50: "#FAFAFA",
100: "#F4F4F5",
200: "#E4E4E7",
300: "#D4D4D8",
400: "#A1A1AA",
500: "#71717A",
600: "#52525B",
700: "#3F3F46",
800: "#27272A",
900: "#18181B",
/* eslint-enable sort-keys */
},
"soft-black": "#121212",
},
fontFamily: {
default: "Asul, sans-sarif",
},
margin: {
"21": "84px",
},
maxWidth: {
"65ch": "65ch",
},
width: {
"65ch": "65ch",
},
zIndex: {
"100": "100",
},
},
},
};
export default config;