-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
60 lines (57 loc) · 1.38 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
const { colors } = require('@cotowali/design')
const defaultTheme = require('tailwindcss/defaultTheme')
const fontSans = [
'Lexend',
'"M PLUS 1p"',
'-apple-system',
'BlinkMacSystemFont',
'"Yu Gothic"',
'YuGothic',
'sans-serif',
]
const fontMono = [
'Source Code Pro',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'Liberation Mono',
'Courier New',
'monospace',
]
module.exports = {
theme: {
extend: {
minHeight: defaultTheme.spacing,
minWidth: defaultTheme.spacing,
zIndex: {
front: '10',
},
fontSize: {
'2xs': '0.5rem',
},
fontFamily: {
sans: fontSans,
mono: fontMono,
title: ['Montserrat', ...fontSans],
},
colors: {
'brand-red': colors.red.hex(),
'brand-red-lighten-1': colors.red.lighten(0.2).hex(),
'brand-dark-red': colors.darkRed.hex(),
'brand-dark-red-lighten-1': colors.darkRed.lighten(0.2).hex(),
dark: colors.dark.hex(),
'dark-darken-1': colors.dark.darken(0.4).hex(),
black: colors.black.hex(),
white: colors.white.hex(),
},
spacing: {
hero: '876px',
'header-height': defaultTheme.spacing[12],
'article-pt': defaultTheme.spacing[8],
'default-scroll-mt': defaultTheme.spacing[12 + 8], // header-height + article-pt
},
},
},
plugins: [],
}