-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathtailwind.config.js
84 lines (83 loc) · 1.96 KB
/
tailwind.config.js
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
const windmill = require("@windmill/react-ui/config");
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = windmill({
purge: [
"src/**/*.js",
"node_modules/@windmill/react-ui/lib/defaultTheme.js",
"node_modules/@windmill/react-ui/dist/index.js",
],
theme: {
extend: {
fontSize: {
xxxs: ".45rem",
xxs: ".65rem",
},
width: {
800: "800px",
},
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
},
boxShadow: {
bottom:
"0 5px 6px -7px rgba(0, 0, 0, 0.6), 0 2px 4px -5px rgba(0, 0, 0, 0.06)",
},
colors: {
primary: {
100: "#def7ec",
200: "#bcf0da",
300: "#84e1bc",
400: "#31c48d",
500: "#0e9f6e",
600: "#057a55",
700: "#046c4e",
800: "#03543f",
900: "#014737",
},
gray: {
100: "#F4F4F5",
200: "#E4E4E7",
300: "#D4D4D8",
400: "#A1A1AA",
500: "#71717A",
600: "#52525B",
700: "#3F3F46",
800: "#27272A",
900: "#18181B",
},
},
},
},
variants: {
boxShadow: ["responsive", "hover", "focus", "dark:focus", "focus-within"],
outline: ["responsive", "focus", "hover", "active", "focus-within"],
},
experimental: {
applyComplexClasses: true,
},
plugins: [
require("tailwind-css-variables")({
colors: "color",
screens: false,
fontFamily: false,
fontSize: false,
fontWeight: false,
lineHeight: false,
letterSpacing: false,
backgroundSize: false,
borderWidth: false,
borderRadius: false,
width: false,
height: false,
minWidth: false,
minHeight: false,
maxWidth: false,
maxHeight: false,
padding: false,
margin: false,
boxShadow: false,
zIndex: false,
opacity: false,
}),
],
});