-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
63 lines (63 loc) · 1.37 KB
/
tailwind.config.js
File metadata and controls
63 lines (63 loc) · 1.37 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./main.js",
"./docs/**/*.md"
],
darkMode: 'class',
theme: {
extend: {
colors: {
pine: {
DEFAULT: '#2E7D32',
light: '#A5D6A7',
dark: '#1B5E20',
50: '#E8F5E9',
100: '#C8E6C9',
200: '#A5D6A7',
300: '#81C784',
400: '#66BB6A',
500: '#4CAF50',
600: '#43A047',
700: '#388E3C',
800: '#2E7D32',
900: '#1B5E20',
}
},
typography: (theme) => ({
DEFAULT: {
css: {
'code::before': {
content: '""'
},
'code::after': {
content: '""'
},
code: {
fontWeight: '500',
backgroundColor: theme('colors.gray.100'),
padding: '0.25rem 0.375rem',
borderRadius: '0.25rem',
fontSize: '0.875em',
},
'pre code': {
backgroundColor: 'transparent',
padding: '0',
}
}
},
invert: {
css: {
code: {
backgroundColor: theme('colors.gray.800'),
}
}
}
})
},
},
plugins: [
require('@tailwindcss/typography'),
],
}