-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
59 lines (58 loc) · 1.17 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
const forms = require('@tailwindcss/forms');
module.exports = {
mode: process.env.NODE_ENV === 'production' ? 'jit' : undefined,
purge: ['./src/**/*.html', './src/**/*.js'],
darkMode: 'class',
theme: {
colors: {
black: '#333',
white: '#FFF',
grey: {
de: '#dedede',
cc: '#ccc',
aa: '#aaa',
99: '#999',
66: '#666',
},
form: {
bg: {
disabled: '#f1eded',
},
},
button: {
text: {
disabled: '#cac7c6',
primary: '#FFF',
},
secondary: {
normal: '#ece9e6',
hover: '#f5f3f0',
active: '#dbd7d6',
},
primary: {
normal: '#4fa7ff',
hover: '#3d93e5',
active: '#2b83d6',
},
},
alert: {
text: '#333',
bg: {
info: '#ddf7ff',
warn: '#fde1cb',
alert: '#ffcbcb',
success: '#f5ffc3',
},
},
},
fontFamily: {
roboto: ['Roboto', 'sans-serif'],
condensed: ['Roboto Condensed', 'sans-serif'],
},
extend: {},
},
variants: {
extend: {},
},
plugins: [forms],
};