-
Notifications
You must be signed in to change notification settings - Fork 24
/
tailwind.config.js
50 lines (49 loc) · 1.04 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
/** eslint disable */
module.exports = {
purge: [
'./src/**/*.jsx',
],
theme: {
extend: {
fontFamily: {
sans: ["'Nunito', sans-serif"],
},
fontWeight: {
light: '300',
normal: '400',
bold: '700',
semibold: '600',
extrabold: '800',
},
colors: {
primary: '#061E23',
secondary: '#004552',
white: '#F4F4F9',
accent: '#00B2D2',
light: '#f1f1f2a1',
dark: '#00313A',
},
screens: {
light: { raw: '(prefers-color-scheme: light)' },
dark: { raw: '(prefers-color-scheme: dark)' },
},
},
},
variants: {},
plugins: [
({ addBase, config }) => {
addBase({
body: {
color: config('theme.colors.black'),
backgroundColor: config('theme.colors.white'),
},
'@screen dark': {
body: {
color: config('theme.colors.white'),
backgroundColor: config('theme.colors.primary'),
},
},
});
},
],
};