-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
68 lines (67 loc) · 1.62 KB
/
tailwind.config.js
File metadata and controls
68 lines (67 loc) · 1.62 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
const theme = require("./themeConfig.json");
module.exports = {
purge: {
content: [
"./components/**/*.scss",
"./components/**/*.jsx",
"./pages/**/*.jsx",
"./styles/**/*.scss",
],
options: {
safelist: [/^bg-skin-badge/, /^text-skin-badge/, /grid-cols/],
},
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
zIndex: {
"-10": "-10",
},
textColor: {
skin: {
base: theme.textColorBase,
light: theme.textColorLight,
"extra-light": theme.textColorExtraLight,
gray: theme.textColorGray,
highlight: theme.colorHighlight,
"badge-1": theme.badgeColor1,
"badge-2": theme.badgeColor2,
},
},
backgroundColor: {
skin: {
base: theme.bgColorBase,
light: theme.bgColorLight,
highlight: theme.colorHighlight,
"badge-1": theme.badgeColor1,
"badge-2": theme.badgeColor2,
dark: theme.bgColorDark,
},
},
borderColor: {
skin: {
base: theme.borderColorBase,
dark: theme.borderColorDark,
highlight: theme.colorHighlight,
},
},
fontFamily: {
base: theme.fontFamilyBase,
medium: theme.fontFamilyMedium,
bold: theme.fontFamilyBold,
},
maxWidth: {
"content-md": theme.contentWidthMd,
"content-sm": theme.contentWidthSm,
"content-xs": theme.contentWidthXs,
},
boxShadow: {
sm: theme.shadowSmall,
},
},
},
variants: {
extend: {},
},
plugins: [],
};