-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
83 lines (80 loc) · 2.11 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
/* eslint-disable */
// https://github.com/timlrx/tailwind-nextjs-starter-blog/blob/master/tailwind.config.js
// https://github.com/tailwindlabs/tailwindcss/issues/6251
const colors = require("tailwindcss/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
mode: "jit",
content: [
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/layouts/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class", // 'media' or 'class'
theme: {
extend: {
colors: {
transparent: "transparent",
current: "currentColor",
yellow: colors.yellow,
purple: colors.purple,
blue: colors.blue,
gray: colors.gray,
bluegray: colors.slate,
almostblack: "hsl(221, 30%, 7%)",
red: colors.red,
orange: colors.orange,
green: colors.green,
pink: colors.pink,
fuchsia: colors.fuchsia,
indigo: colors.indigo,
lime: colors.lime,
amber: colors.amber,
sky: colors.sky,
white: "#fff",
},
fontSize: {
xxs: ".625rem",
},
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
display: ["Space Grotesk", ...defaultTheme.fontFamily.sans],
display2: ["Space Mono", ...defaultTheme.fontFamily.sans],
mono: [
"Space Mono",
"SFMono-Regular",
"ui-monospace",
"Menlo",
"Monaco",
"Consolas",
"Liberation Mono",
"Courier New",
"monospace",
],
label: [
"Recursive",
"ui-monospace",
"SFMono-Regular",
"Menlo",
"Monaco",
"Consolas",
"Liberation Mono",
"Courier New",
"monospace",
],
label_mono: [
"Recursive",
"ui-monospace",
"SFMono-Regular",
"Menlo",
"Monaco",
"Consolas",
"Liberation Mono",
"Courier New",
"monospace",
],
},
},
},
plugins: [require("@tailwindcss/typography")],
};