-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.js
100 lines (99 loc) · 2.31 KB
/
tailwind.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
const colors = require("tailwindcss/colors");
module.exports = {
purge: {
// comment out this line for development
enabled: true,
content: ["./src/**/*.html", "./src/**/*.ts", "./src/**/*.tsx"],
safelist: [
/^bg/,
/^ring/,
/^hover:text/,
/^text/,
/^border/,
/^hover:bg/,
/^w-/
],
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
gray: {
...colors.gray,
404: "#C0C0C0",
},
blueGray: {
...colors.blueGray,
303: "#CCDADF",
404: "#B0C4DE",
},
warmGray: {
...colors.warmGray,
303: "#D8BFD8",
404: "#BC8F8F",
},
orange: {
...colors.orange,
404: "#FF6347",
// 444: "#FFA500",
606: "#FF4500",
},
red: {
...colors.red,
404: "#E9967A",
606: "#FF0000",
},
blue: {
...colors.blue,
// 1
707: "#0000FF",
// 2
770: "#0000CD",
// 3
777: "#000080",
},
yellow: {
...colors.yellow,
303: "#FFFF00",
330: "#FFD700",
},
amber: colors.amber,
lime: colors.lime,
green: {
...colors.green,
303: "#9ACD32",
505: "#008000",
},
emerald: colors.emerald,
teal: colors.teal,
cyan: colors.cyan,
sky: colors.sky,
purple: colors.purple,
violet: colors.violet,
fuchsia: colors.fuchsia,
rose: colors.rose,
},
backgroundImage: (theme) => ({
defaultBackground: "url('../images/ice_macro_texture_1600x1200.jpg')",
defaultBackground_2: "url('../images/pexels-a-pasaric-small.jpg')",
defaultBackground_3: "url('../images/pexels-j-novacek-small.jpg')",
}),
boxShadow: {
inner_md: "inset 0 2px 10px 0 rgba(0, 0, 0, 0.06)",
inner_lg: "inset 0 2px 15px 0 rgba(0, 0, 0, 0.06)",
inner_xl: "inset 0 2px 20px 0 rgba(0, 0, 0, 0.06)",
},
screens: {
xs: "505px",
},
},
},
variants: {
extend: {
borderWidth: ["hover"],
zIndex: ["hover"],
ringWidth: ["focus-visible"],
},
},
plugins: [],
};