-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
76 lines (76 loc) · 1.93 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
module.exports = {
content: [
'./src/pages/**/*.{js,jsx,ts,tsx}',
'./src/components/**/*.{js,jsx,ts,tsx}',
'./src/templates/**/*.{js,jsx,ts,tsx}'
],
theme: {
extend: {
colors: {
text: '#c9c9c9',
primary: '#33ff00',
secondary: '#00ccff',
tertiary: '#ff1493',
highlight: '#ffff00',
link: '#f7f7f7',
background: '#000000',
outline: '#202020',
surface: '#111111'
},
fontFamily: {
sans: ['Inconsolata', 'ui-sans-serif', 'system-ui'],
mono: ['ui-monospace', 'monospace']
},
maxWidth: {
'8xl': '90rem'
},
gridTemplateColumns: {
['auto-auto']: 'auto auto',
['auto-1fr']: 'auto 1fr',
['1fr-auto']: '1fr auto',
['1fr-1fr']: '1fr 1fr',
['1fr-auto-auto']: '1fr auto auto',
['1fr-1fr-auto']: '1fr 1fr auto'
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.text'),
'h1, h3, h4, h5, h6': {
color: theme('colors.text'),
a: {
color: theme('colors.text')
}
},
h2: {
color: theme('colors.tertiary'),
a: {
color: theme('colors.tertiary')
}
},
a: {
color: theme('colors.link')
},
strong: {
color: theme('colors.text')
},
code: {
color: theme('colors.secondary'),
'&::before': {
content: '"" !important'
},
'&::after': {
content: '"" !important'
}
},
blockquote: {
fontSize: '1rem!important',
color: theme('colors.text')
}
}
}
})
}
},
plugins: [require('@tailwindcss/typography')]
};