-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
83 lines (83 loc) · 2.31 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
module.exports = {
purge: ['./components/**/*.js', './pages/**/*.js'],
theme: {
fontFamily: {
'electronix': ['Electronix', 'ui-sans-serif', 'system-ui'],
'virgil': ['Virgil', 'ui-sans-serif', 'system-ui']
},
extend: {
colors: {
'imperial-red': '#E63946',
'light-steel-blue': {
light: '#F7F8FD',
highlight: '#dfe6f6',
DEFAULT: '#B0C1E8',
},
'prussian-blue': '#1D3557',
'mild-gray': '#FAFAFA',
background: '#F7F8FD',
success: '#0070f3',
cyan: '#79FFE1',
linkedin: '#2867B2',
github: '#24292e'
},
typography: (theme) => ({
DEFAULT: {
css: {
a: {
textDecoration: 'none',
fontWeight: '400',
color: theme('colors.prussian-blue'),
borderBottomWidth: '2px',
borderColor: theme('colors.imperial-red'),
whiteSpace: 'pre-wrap', /* CSS3 */
whiteSpace: '-moz-pre-wrap', /* Mozilla, since 1999 */
whiteSpace: '-pre-wrap', /* Opera 4-6 */
whiteSpace: '-o-pre-wrap', /* Opera 7 */
wordWrap: 'break-word' /* Internet Explorer 5.5+ */
},
mark: {
backgroundColor: theme('colors.light-steel-blue.highlight'),
color: theme('colors.prussian-blue'),
padding: '3px'
},
'code::before': {
content: '""'
},
'code::after': {
content: '""'
},
code: {
backgroundColor: theme('colors.light-steel-blue.light'),
color: theme('colors.imperial-red'),
borderRadius: '0.3em',
padding: '4px 5px 6px',
}
}
}
}),
spacing: {
28: '7rem',
},
letterSpacing: {
tighter: '-.04em',
},
lineHeight: {
tight: 1.2,
},
fontSize: {
'5xl': '2.5rem',
'6xl': '2.75rem',
'7xl': '4.5rem',
'8xl': '6.25rem',
},
boxShadow: {
small: '0 5px 10px rgba(0, 0, 0, 0.12)',
medium: '0 8px 30px rgba(0, 0, 0, 0.12)',
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
}