-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathtailwind.config.js
134 lines (134 loc) · 3.68 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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
purge: ["./src/**/*.js", "./plugins/**/*.js", "./MDX/**/*.mdx"],
theme: {
extend: {
fontSize: {
xs: ".75rem",
sm: ".875rem",
base: "1rem",
lg: "1.125rem",
xl: "1.25rem",
"2xl": "1.5rem",
"3xl": "1.875rem",
"4xl": "2.25rem",
"5xl": "3rem",
"6xl": "4rem",
"7xl": "5rem",
"8xl": "6rem",
"9xl": "7rem",
},
textColor: {
white: "#ffffff",
grey: "#444444",
black: "#111111",
blue: "#067bc2",
primary: "var(--color-text-primary)",
secondary: "var(--color-text-secondary)",
link: "var(--color-text-link)",
default: "var(--color-text-default)",
"default-soft": "var(--color-text-default-soft)",
inverse: "var(--color-text-inverse)",
"inverse-soft": "var(--color-text-inverse-soft)",
},
backgroundColor: {
white: "#ffffff",
grey: "#999999",
modal: "#00000050",
primary: "var(--color-bg-primary)",
"primary-light": "var(--color-bg-primary-light)",
compliment: "var(--color-bg-compliment)",
accent: "var(--color-bg-accent)",
"accent-light": "var(--color-bg-accent-light)",
secondary: "var(--color-bg-secondary)",
default: "var(--color-bg-default)",
inverse: "var(--color-bg-inverse)",
"logo-one": "var(--color-logo-one)",
"logo-two": "var(--color-logo-two)",
"logo-three": "var(--color-logo-three)",
},
borderColor: {
primary: "var(--color-bg-primary)",
accent: "var(--color-bg-accent)",
link: "var(--color-text-link)",
secondary: "var(--color-bg-secondary)",
default: "var(--color-bg-default)",
inverse: "var(--color-bg-inverse)",
"light-grey": "#00000015",
},
typography: {
DEFAULT: {
css: {
color: "var(--color-text-secondary)",
"code::before": false,
"code::after": false,
},
},
sm: {
css: {
color: "var(--color-text-secondary)",
h1: {
color: "var(--color-text-secondary)",
},
h2: {
color: "var(--color-text-secondary)",
},
h3: {
color: "var(--color-text-secondary)",
},
h4: {
color: "var(--color-text-secondary)",
},
h5: {
color: "var(--color-text-secondary)",
},
h6: {
color: "var(--color-text-secondary)",
},
p: {
color: "var(--color-text-secondary)",
},
},
},
"3xl": {
css: {
ul: {
fontSize: "2rem",
},
code: {
fontSize: "1rem !important",
},
blockquote: {
fontSize: "2.5rem",
},
p: {
fontSize: "2rem",
},
},
},
},
},
fontFamily: {
display: "var(--font-display)",
body: "var(--font-body)",
},
fontWeights: {
normal: "var(--font-weight-normal)",
display: "var(--font-weight-display)",
btn: "var(--font-weight-btn)",
},
},
variants: {},
// https://github.com/tailwindcss/custom-forms
plugins: [
require("postcss-import"),
require("tailwindcss"),
require("postcss-nested"),
require("autoprefixer"),
require("@tailwindcss/typography"),
require("@tailwindcss/custom-forms"),
],
};