-
Notifications
You must be signed in to change notification settings - Fork 13
/
tailwind.config.js
62 lines (61 loc) · 1.37 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
/* eslint-disable global-require */
const plugin = require('tailwindcss/plugin');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: 'class',
theme: {
extend: {
colors: {
'tl-lime': '#a4ce27',
'tl-sage': '#649044',
'tb-sand': '#e5d993',
'tb-brown': '#634228',
'sl-ecto': '#13d591',
'sl-teal': '#008076',
'tr-orange': '#dc8B36',
'tr-umber': '#b44a1e',
're-sky': '#20c3fe',
're-ocean': '#034f92',
'mono-dark': '#f9fafb',
'mono-white': '#374151',
gray: {
150: '#f1f2f5',
},
zinc: {
550: '#46464e',
750: '#35353b',
},
},
dropShadow: {
overlay: '0 8px 4px rgba(0, 0, 0, 0.3)',
},
fontFamily: {
'sans-alt': ['Inconsolata', 'sans-serif'],
},
},
},
plugins: [
require('@tailwindcss/forms')({
strategy: 'class',
}),
plugin(({ addVariant }) => {
const themes = [
'tl-dark',
'tb-dark',
'sl-dark',
'tr-dark',
're-dark',
'mono-dark',
'tl-light',
'tb-light',
'tr-light',
'sl-light',
're-light',
'mono-light',
];
themes.forEach(theme => {
addVariant(theme, `.theme-${theme} &`);
});
}),
],
};