-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtailwind.config.js
More file actions
89 lines (88 loc) · 2.09 KB
/
Copy pathtailwind.config.js
File metadata and controls
89 lines (88 loc) · 2.09 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// eslint-disable-next-line @typescript-eslint/no-var-requires
const colors = require('tailwindcss/colors')
module.exports = {
mode: 'jit',
darkMode: 'class',
purge: ['./views/**/*.pug', './public/**/*.js'],
theme: {
extend: {
//alert animation
keyframes: {
'fade-in-down': {
'0%': {
opacity: '0',
transform: 'translateY(-30px)'
},
'100%': {
opacity: '1',
transform: 'translateY(0)'
},
}
},
animation: {
'fade-in-down': 'fade-in-down 0.8s ease-out'
},
boxShadow: {
full:
'0px 4px 32px rgba(0, 0, 0, 0.3), 4px 0px 4px rgba(0, 0, 0, 0.1);',
},
colors: {
'indigo-1000': '#211f5b',
orange: colors.orange,
'heatmap-0': '#D2F9C8',
'heatmap-1': '#A3EE91',
'heatmap-2': '#69DA4D',
'heatmap-3': '#42962E',
'heatmap-4': '#0E2D06',
},
typography: () => ({
dark: {
css: {
color: 'white',
strong: {
color: 'white',
'font-weight': 'bold',
},
h1: {
color: 'white',
'margin-top': '0'
},
h2: {
color: 'white',
'margin-top': '0'
},
h3: {
color: 'white',
'margin-top': '0'
},
h4: {
color: 'white',
'margin-top': '0'
},
p: {
color: 'white',
'margin-top': '0',
'margin-bottom': '1em'
},
'ul > li': {
'&::before': {
'background-color': 'white',
'font-weight': 'bold'
}
},
'ol > li': {
'&::before': {
color: 'white',
'font-weight': 'bold'
}
}
}
}
})
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
}