-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
75 lines (73 loc) · 2.02 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
64
65
66
67
68
69
70
71
72
73
74
75
const plugin = require('tailwindcss/plugin');
module.exports = {
purge: [
'./site/**/*.njk',
'./site/**/*.html',
'./assets/scripts/**/*.js',
],
darkMode: 'media',
theme: {
extend: {
screens: {
nav: '800px',
},
colors: {
/** These are the "Brand Colors" chosen by Marina */
teal: {
DEFAULT: '#027da6',
light: '#439ebb',
lighter: '#81bed1',
lightest: '#bfdde8',
},
clay: {
DEFAULT: '#c19da7',
light: '#d0b5bc',
lighter: '#e0cfd5',
lightest: '#f1e8eb',
},
orange: {
DEFAULT: '#e99569',
light: '#efb08f',
lighter: '#f5ccb8',
lightest: '#fae6db',
},
space: '#1E2952',
},
fontFamily: {
heading: "'Texturina', serif",
body: "'Nunito Sans', sans-serif",
},
fontSize: {
homeHeading: '6rem',
},
gridTemplateColumns: {
'page-content': '1fr minmax(500px, 768px) 1fr',
},
minHeight: {
'page-content': '600px',
}
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
/**
* Add order classes (i.e. order-1, order-2, etc).
* @param addUtilities
*/
plugin(function ({addUtilities}) {
let order = {};
for (let i = 0; i < 20; i++) {
order[`.order-${i}`] = {
order: i * 10,
};
}
addUtilities(order, {
variants: ['responsive'],
})
}),
]
}