-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
86 lines (86 loc) · 2.02 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
module.exports = {
content: ['./themes/dreamlandbook/layout/**/*.ejs'],
darkMode: 'class',
theme: {
textShadow: {},
extend: {
colors: {
'background': {
DEFAULT: '#f0f0f0',
dark: '#222222'
},
'page-bg': {
DEFAULT: '#fafafa',
dark: '#161616'
},
'main-text': {
DEFAULT: '#444444',
dark: '#ffffff'
},
'border-color': {
DEFAULT: '#eee',
dark: '#262626'
},
'theme-blue': '#0084FF',
'theme-red': '#FF3842',
'theme-pink': '#d44040',
'theme-green': '#3e9f50',
'theme-yellow': '#ffc93e',
'theme-orange': '#ff953e'
},
minHeight: {
'0': '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'4/5': '80%',
'17/20': '85%',
'9/10': '90%',
'19/20': '95%',
'full': '100%',
'10': '10rem',
'20': '20rem',
'30': '30rem',
'40': '40rem',
'50': '50rem',
'80': '80rem'
},
zIndex: {
'-100': -100,
'-20': -20,
'-10': -10,
'-3': -3,
'-2': -2,
'-1': -1,
'-0': -0,
'0': 0,
'1': 1,
'2': 2,
'3': 3,
'10': 10,
'20': 20,
'30': 30,
'40': 40,
'50': 50,
'100': 100,
'auto': 'auto',
}
},
},
variants: {
extend: {
backgroundColor: ['dark'],
textColor: ['dark'],
},
},
plugins: [
require('tailwindcss-typography')({
// all these options default to the values specified here
ellipsis: true, // whether to generate ellipsis utilities
hyphens: true, // whether to generate hyphenation utilities
kerning: true, // whether to generate kerning utilities
textUnset: true, // whether to generate utilities to unset text properties
componentPrefix: 'c-', // the prefix to use for text style classes
})
],
}