-
Notifications
You must be signed in to change notification settings - Fork 9
/
tailwind.config.js
69 lines (68 loc) · 1.34 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
module.exports = {
content: ["./**/*.tsx"],
darkMode: "media",
corePlugins: {
container: false,
},
theme: {
container: {
center: true,
padding: {
DEFAULT: "1rem",
sm: "2rem",
},
},
fontFamily: {
serif: ["Bitter", "serif"],
sans: [
"SF Pro Text",
"Inter",
"system-ui",
"BlinkMacSystemFont",
"Segoe UI",
"Roboto",
"Ubuntu",
],
monospace: [`SF Mono`, `ui-monospace`, `Monaco`, "Monospace"],
},
extend: {
colors: {
primary: {
50: "#fffff9",
100: "#ffffad",
200: "#fffe75",
300: "#fffe2d",
400: "#fffe0f",
500: "#efee00",
600: "#d0d000",
700: "#b2b100",
800: "#939300",
900: "#757400",
},
black: {
50: "#707070",
100: "#424242",
200: "#323232",
300: "#242424",
400: "#181818",
500: "#0a0a0a",
600: "#040404",
700: "#000",
},
},
},
},
plugins: [customContainerPlugin],
};
function customContainerPlugin({ addComponents }) {
addComponents({
".container": {
"@screen lg": {
maxWidth: "1024px",
},
"@screen xl": {
maxWidth: "1166px",
},
},
});
}