-
Notifications
You must be signed in to change notification settings - Fork 19
/
tailwind.config.js
121 lines (118 loc) · 2.93 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: 'jit',
content: [
'./src/**/*.{js,jsx,ts,tsx,md,mdx,txt}',
],
theme: {
extend: {
boxShadow: {
// 'combo': '0px -12px 10px 7px #000000, inset 0px 8px 12px -12px #000000',
// 'inset': 'inset 0px 8px 12px -12px #000000',
// 'drop': '0px -12px 10px 7px #000000',
// 'subtle': '0px -16px 10px 7px #000000',
'noogle': '0 1px 6px 0 #20212451',
},
colors: {
light: {
bg: '#ffffff',
highlight: '#1a0dab',
primary: '#4d5156',
secondary: '#70757a',
},
dark: {
bg: '#202124',
highlight: '#8ab4f8',
primary: '#bdc1c6',
secondary: '#9aa0a6',
},
toolbar: {
bg: '#DDD6C6',
fg: '#F7F6F3',
hover: '#E5E0D5', // '#E8EED9',
text: '#212124',
placeholder: '#5A5A5B',
input: '#D5D4D2',
},
},
fontFamily: {
google: ['Google Sans', 'Helvetica', 'Arial', 'sans-serif'],
},
spacing: {
'30px': '30px',
}
},
},
plugins: [
require('tailwind-safelist-generator')({
path: './src/tailwind-classes.txt',
// https://tailwindcss.com/docs/theme#configuration-reference
patterns: [
'items-center',
'justify-center',
'focus:outline-none',
'focus:shadow-outline',
'text-center',
'text-right',
'text-{fontSize}',
'underline',
'font-{fontWeight}',
'font-{fontFamily}',
'overflow-auto',
'grid',
'grid-cols-{gridTemplateColumns}',
'grid-rows-{gridTemplateRows}',
'gap-{gap}',
'flex',
'flex-row',
'flex-col',
'flex-wrap',
'flex-{flex}',
'basis-{flexBasis}',
'leading-{lineHeight}',
'shadow-{boxShadow}',
'list-{listStyleType}',
'list-inside',
'm-{margin}',
'md:m-{padding}',
'mt-{margin}',
'mb-{margin}',
'mx-{margin}',
'my-{margin}',
'ml-{margin}',
'mr-{margin}',
'p-{padding}',
'md:p-{padding}',
'pt-{padding}',
'pb-{padding}',
'px-{padding}',
'py-{padding}',
'pl-{padding}',
'pr-{padding}',
'h-{height}',
'md:h-{height}',
'lg:h-{height}',
'min-h-{minHeight}',
'max-h-{maxHeight}',
'w-{width}',
'md:w-{width}',
'lg:w-{width}',
'min-w-{minWidth}',
'max-w-{maxWidth}',
/*
'{flexGrow}',
'{flexShrink}',
'{flexFamily}',
*/
'rounded-{borderRadius}',
'border',
'border-{borderWidth}',
'border-{borderColor}',
'bg-{backgroundColor}',
'text-{colors}',
'hover:bg-{backgroundColor}',
'hover:text-{colors}',
],
}),
],
}