-
Notifications
You must be signed in to change notification settings - Fork 758
/
Copy pathtailwind.config.js
86 lines (86 loc) · 2.89 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
module.exports = {
content: ['./src/**/*.js', './src/**/*.mdx', './src/**/*.md'],
darkMode: 'class',
theme: {
extend: {
screens: {
'2xl': '1400px',
},
colors: {
brand: '#0080ff',
'primary-shade': 'var(--color-primary-shade)',
'primary-tint': 'var(--color-primary-tint)',
primary: 'var(--color-primary)',
'on-primary': 'var(--color-on-primary)',
'primary-container': 'var(--color-primary-container)',
'on-primary-container': 'var(--color-on-primary-container)',
secondary: 'var(--color-secondary)',
'on-secondary': 'var(--color-on-secondary)',
'secondary-container': 'var(--color-secondary-container)',
'on-secondary-container': 'var(--color-on-secondary-container)',
surface: 'var(--color-surface)',
'on-surface': 'var(--color-on-surface)',
'surface-variant': 'var(--color-surface-variant)',
'on-surface-variant': 'var(--color-on-surface-variant)',
outline: 'var(--color-outline)',
'outline-variant': 'var(--color-outline-variant)',
'inverse-surface': 'var(--color-inverse-surface)',
'inverse-on-surface': 'var(--color-inverse-on-surface)',
'inverse-primary': 'var(--color-inverse-primary)',
'surface-0': 'var(--color-surface-0)',
'surface-1': 'var(--color-surface-1)',
'surface-2': 'var(--color-surface-2)',
'surface-3': 'var(--color-surface-3)',
'surface-4': 'var(--color-surface-4)',
'surface-5': 'var(--color-surface-5)',
red: 'var(--color-red)',
green: 'var(--color-green)',
orange: 'var(--color-orange)',
},
typography: () => ({
DEFAULT: {
css: {
strong: {
color: 'inherit',
fontWeight: 'bold',
},
h1: {
// 'font-size': '40px',
'font-weight': 'bold',
color: 'inherit',
lineHeight: 1.2,
// marginBottom: '0.7em',
},
h2: {
// 'font-size': '32px',
// 'margin-top': '1.5em',
// marginBottom: '0.5em',
color: 'inherit',
a: {
'font-weight': 'inherit',
},
},
h3: {
// 'font-size': '26px',
// 'margin-top': '1.25em',
'font-weight': 'bold',
lineHeight: 1.4,
// marginBottom: '1em',
// marginTop: '1.25em',
color: 'inherit',
},
h4: {
// fontSize: '20px',
'font-weight': 'bold',
// marginBottom: '1em',
// marginTop: '1.2em',
lineHeight: '1.4',
color: 'inherit',
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
};