-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.cjs
69 lines (69 loc) · 1.56 KB
/
tailwind.config.cjs
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
module.exports = {
content: ['./docs/public/**/*.html', './docs/src/**/*.{astro,html,md,js,jsx,svelte,ts,tsx,vue}'],
theme: {
extend: {
fontFamily: {
defaults: ['Raleway', 'serif'],
headings: ['Raleway', 'sans-serif'],
mono: ['Roboto Mono', 'monospace'],
},
fontSize: {
xxs: '0.65rem',
xs: '0.725rem',
sm: '0.9rem',
base: '1.05rem',
lg: '1.1rem',
xl: '1.2rem',
'2xl': '1.4rem',
'3xl': '1.8rem',
'4xl': '2.2rem',
},
fontWeight: {
extralight: '200',
light: '300',
normal: '400',
medium: '500',
semibold: '600',
bold: '700',
},
// tracking
letterSpacing: {
tighter: '-0.05em',
tight: '-0.025em',
normal: '0',
wide: '0.025em',
wider: '0.05em',
},
// leading
lineHeight: {
none: '1',
tight: '1.25',
snug: '1.5',
normal: '1.75',
relaxed: '2',
loose: '2.25',
},
borderWidth: {
default: '1px',
0: '0',
0.5: '0.5px',
1: '1px',
2: '2px',
3: '3px',
4: '4px',
},
borderColor: (theme) => ({
...theme('colors'),
DEFAULT: theme('colors.darker-grey', 'currentColor'),
}),
colors: {
theme: '#D32333',
'lighter-grey': '#F1F1F1',
'light-grey': '#A8A8A8',
'mid-grey': '#404040',
'dark-grey': '#1D1D1D',
'darker-grey': '#19181B',
},
},
},
}