forked from jayehernandez/jayehernandez
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
57 lines (56 loc) · 1.21 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
const plugin = require('tailwindcss/plugin');
const defaultTheme = require('tailwindcss/defaultTheme');
const { colors } = require('tailwindcss/defaultTheme');
module.exports = {
purge: [
'./src/**/*.njk',
],
theme: {
extend: {
// screens: {
// 'dark': { 'raw': '(prefers-color-scheme: dark)' },
// },
fontFamily: {
'sans': [
'DM Sans',
...defaultTheme.fontFamily.sans,
]
},
borderRadius: {
'xl': '1.5rem',
'xxl': '5rem',
},
colors: {
teal: {
'100': '#aed1ca',
'200': '#aed1ca',
'400': '#176355',
'800': '#031c17',
},
gray: {
'100': '#f5f5f5',
'200': '#eeeeee',
'300': '#e0e0e0',
'400': '#bdbdbd',
'500': '#9e9e9e',
'600': '#757575',
'700': '#616161',
'800': '#424242',
'900': '#212121',
},
}
},
},
variants: {
textColor: ['responsive', 'hover', 'focus', 'group-hover'],
},
plugins: [
plugin(function({ addBase, config }) {
addBase({
'h1': {
fontFamily: 'Montserrat Alternates',
},
})
})
],
}