-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
33 lines (32 loc) · 1013 Bytes
/
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
module.exports = {
theme: {
extend: {
colors: {
'regal-blue': '#243c5a',
'primary-color': '#2ec4b6',
'primary-text-color': '#333',
'secondary-text-color': '#aaa',
'light-gray-color': '#f4f4f4',
'mid-gray-color': '#e9e9e9',
'dark-gray-color': '#1a1a1a',
}
},
fontFamily: {
"base": ["Open Sans", "sans-serif"],
"alt": ["dosis", "sans-serif"],
},
},
variants: {
margin: ({after}) => after(['first', 'last', 'odd', 'even']),
},
purge: {
enabled: !process.env.ROLLUP_WATCH,
mode: 'all',
content: ['./**/**/*.html', './**/**/*.svelte'],
options: {
whitelistPatterns: [/svelte-/],
defaultExtractor: (content) =>
[...content.matchAll(/(?:class:)*([\w\d-/:%.]+)/gm)].map(([_match, group, ..._rest]) => group),
},
},
}