-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
63 lines (63 loc) · 1.39 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
safelist: [
// these are for the layer backgrounds
'bg-brand-depth-0',
'bg-brand-depth-1',
'bg-brand-depth-2',
'bg-brand-depth-3',
'bg-brand-depth-4',
'bg-brand-depth-5',
],
theme: {
extend: {
colors: {
brand: {
depth: '#c6e4f8',
'depth-0': '#93bde5',
'depth-1': '#76aed9',
'depth-2': '#1f8bbf',
'depth-3': '#003b54',
'depth-4': '#002234',
'depth-5': '#00101f',
},
},
fontFamily: {
mono: [
'ui-monospace',
'Cascadia Code',
'Source Code Pro',
'Menlo',
'Consolas',
'DejaVu Sans Mono',
'monospace',
],
sans: [
' -apple-system',
'BlinkMacSystemFon',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Open Sans',
'Helvetica Neue',
'sans-serif',
],
display: ['"Metal Mania"'],
body: ['"Open Sans"'],
},
typography: ({ theme }) => ({
DEFAULT: {
css: {
'*': {
color: theme('colors.brand-7'),
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
};