-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
79 lines (78 loc) · 1.9 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
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
mode: "jit",
purge: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
},
colors: {
gray: colors.gray,
brand: {
DEFAULT: colors.indigo[500],
red: colors.red[500]
},
rose: colors.rose,
},
typography: {
DEFAULT: {
css: {
color: colors.gray[300],
blockquote: {
color: colors.gray[100],
borderLeftColor: colors.gray[800],
},
h1: {
color: colors.gray[100],
fontWeight: '500'
},
h2: {
color: colors.gray[100],
fontWeight: '500'
},
h3: {
color: colors.gray[100],
fontWeight: '500'
},
h4: {
color: colors.gray[100],
fontWeight: '500'
},
strong: {
color: colors.gray[300]
},
pre: {
backgroundColor: colors.gray[900],
},
thead: {
color: colors.gray[100],
borderBottomColor: colors.gray[600]
},
'tbody tr': {
borderBottomColor: colors.gray[800]
},
a: {
color: colors.indigo[500]
},
hr: {
borderColor: colors.gray[800]
},
code: {
color: colors.gray[100],
}
},
},
},
},
},
variants: {
extend: {},
},
plugins: [require("@tailwindcss/typography")],
};