-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
76 lines (75 loc) · 1.79 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
const colors = require("tailwindcss/colors");
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
black: colors.black,
white: colors.white,
gray: colors.slate,
red: colors.red,
yellow: {
50: "#fff4e5",
100: "#ffdeb2",
200: "#ffc87f",
DEFAULT: "#ffb24c",
300: "#ffb24c",
400: "#ff9c19",
500: "#e58300",
600: "#b26600",
700: "#7f4800",
800: "#4c2b00",
900: "#190e00",
},
},
container: {
center: true,
padding: {
DEFAULT: "0.5rem",
md: "1rem",
},
},
extend: {
transitionProperty: {
width: "width",
padding: "padding",
},
height: {
inner: "var(--inner-height, 100vh)",
},
minHeight: {
inner: "var(--inner-height, 100vh)",
16: "4rem",
infint: "99999",
},
backgroundImage: (theme) => ({
"icons-light": "url('/images/wanas-icons-light.png')",
"icons-dark": "url('/images/wanas-icons-dark.png')",
logo: "url('/images/wanas-logo.svg')",
"my-location": "url('/images/my-location.svg')",
}),
backgroundSize: {
auto: "auto",
cover: "cover",
contain: "contain",
"50%": "120px",
},
},
},
// variants: {
// extend: {
// height: ["hover", "focus"],
// width: ["hover", "focus", "focus-within"],
// padding: ["hover"],
// transitionProperty: ["hover", "focus"],
// textColor: ["disabled"],
// margin: ["first", "last"],
// },
// },
plugins: [],
};