-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.js
71 lines (70 loc) · 1.44 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
theme: {
inset: {
0: 0,
6: '6px',
},
minHeight: {
20: '20px',
60: '60px',
75: '75px',
},
extend: {
colors: {
kanban: {
gray: '#2F495E',
lightgreen: '#00C58E',
green: '#108775',
},
light: {
surface: '#F8FAFC',
onSurfacePrimary: '#2F495E',
onSurfaceSecondary: '#606F7B',
elevatedSurface: defaultTheme.colors.white,
border: defaultTheme.colors.gray['300'],
},
dark: {
surface: '#2C3E50',
onSurfacePrimary: '#e2e8f0',
onSurfaceSecondary: '#B8C2CC',
elevatedSurface: '#1a202c',
border: defaultTheme.colors.gray['600'],
},
},
},
darkSelector: '.dark-mode',
},
variants: {
borderColor: [
'dark',
'dark-hover',
'dark-focus',
'dark-focus-within',
'hover',
],
backgroundColor: [
'dark',
'dark-hover',
'dark-group-hover',
'dark-even',
'dark-odd',
'hover',
],
textColor: [
'dark',
'dark-hover',
'dark-active',
'dark-placeholder',
'hover',
],
},
plugins: [
require('tailwindcss-dark-mode')(),
require('@tailwindcss/custom-forms'),
],
}