-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
62 lines (60 loc) · 1.38 KB
/
tailwind.config.cjs
File metadata and controls
62 lines (60 loc) · 1.38 KB
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
const defaultTheme = require('tailwindcss/defaultTheme');
const config = {
mode: 'jit',
purge: ['./src/**/*.{html,js,svelte,ts,md}'],
// darkMode: 'media',
theme: {
extend: {
colors: {
green: {
main: '#0C3537',
light: '#6CC5AE'
},
orange: {
main: '#F7AA63'
}
},
fontFamily: {
serif: ["'Trade Winds', cursive", ...defaultTheme.fontFamily.serif],
sans: ['acumin-pro', ...defaultTheme.fontFamily.sans],
eos: ['ethnocentric', ...defaultTheme.fontFamily.sans],
unfortunate: ['chauncy-pro', ...defaultTheme.fontFamily.sans],
hunters: ['ccmonstermash', ...defaultTheme.fontFamily.sans]
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.white'),
a: { color: theme('colors.gray.300') },
h1: {
color: theme('colors.orange.main')
},
h2: {
color: theme('colors.gray.200')
},
h3: {
color: theme('colors.gray.300')
},
h4: {
color: theme('colors.gray.300')
},
blockquote: {
color: theme('colors.orange.main')
},
'ol > li::before': {
color: theme('colors.gray.300')
},
strong: {
color: theme('colors.orange.main')
},
a: {
color: theme('colors.green.light')
}
}
}
})
}
},
plugins: [require('@tailwindcss/typography')]
};
module.exports = config;