-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
68 lines (68 loc) · 1.43 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
module.exports = {
important: '#site',
purge: [
'_site/**/*.html',
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
'dark-footer': '#151515',
'apl-purple': { DEFAULT: '#6030B2', "b71": "#6739B5" },
'apl-orange': { DEFAULT: '#ff8200', },
},
opacity: {
'7': '0.07',
},
padding: {
'18': '4.5rem',
'38': '9.5rem',
},
letterSpacing: {
semiwide: '0.01rem',
},
width: {
'68': '19rem',
},
maxWidth: {
'container': '1140px',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
},
typography: (theme) => ({
DEFAULT: {
css: {
a: {
textDecoration: 'none',
'&:hover': {
textDecoration: 'underline',
},
},
code: {
backgroundColor: theme('colors.gray.200'),
borderRadius: '4px',
paddingTop: '2px',
paddingRight: '4px',
paddingBottom: '2px',
paddingLeft: '4px',
},
'code::before': {
content: 'none',
},
'code::after': {
content: 'none',
},
},
},
}),
},
},
variants: {
extend: {
},
},
plugins: [
require('@tailwindcss/typography'),
],
}