-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
77 lines (76 loc) · 2 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
module.exports = {
purge: [
'./src/components/**/*.js',
'./src/pages/**/*.js',
'./src/pages/**/*.mdx',
'./src/templates/**/*.js',
'./content/**/*.mdx',
],
theme: {
fontFamily: {
mono: ['Recursive', 'system-ui', 'monospace'],
},
typography: (theme) => ({
default: {
css: {
color: theme('colors.gray.800'),
fontFamily: 'Recursive, sans-serif', // https://recursive.design
fontVariationSettings:
"'MONO' 0, 'CASL' 0, 'wght' 400, 'slnt' 0, 'CRSV' 0.5",
'code, pre': {
fontVariationSettings:
"'MONO' 1, 'CASL' 0, 'wght' 400, 'slnt' 0, 'CRSV' 0.5",
},
'h1, h2, h3, h4, h5': {
fontVariationSettings:
"'MONO' 0, 'CASL' 0.1, 'wght' 800, 'slnt' 0, 'CRSV' 0.5",
},
strong: {
fontVariationSettings:
"'MONO' 0, 'CASL' 0, 'wght' 800, 'slnt' 0, 'CRSV' 0.5",
},
em: {
fontVariationSettings:
"'MONO' 0, 'CASL' 0.3, 'wght' 400, 'slnt' -12, 'CRSV' 0.5",
},
a: {
color: theme('colors.green.600'),
},
'a:hover': {
color: theme('colors.green.500'),
},
code: {
padding: '2px 4px',
borderRadius: 3,
background: theme('colors.gray.200'),
},
img: {
marginTop: 0,
marginBottom: 0,
},
'code::before, code::after': {
content: "''",
},
},
},
}),
extend: {
colors: {
green: {
50: '#EDFAF7',
100: '#E7F7F3',
200: '#C3EAE0',
300: '#9FDECE',
400: '#58C5A9',
500: '#10AC84',
600: '#0E9B77',
700: '#0A674F',
800: '#074D3B',
900: '#053428',
},
},
},
},
variants: {},
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/ui')],
}