-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathtailwind.config.js
66 lines (65 loc) · 1.53 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
violet: {
100: "#A5B4FB",
200: "#A8A6FF",
300: "#918efa",
400: "#807dfa",
},
pink: {
200: "#FFA6F6",
300: "#fa8cef",
400: "#fa7fee",
},
red: {
200: "#FF9F9F",
300: "#fa7a7a",
400: "#f76363",
},
orange: {
200: "#FFC29F",
300: "#FF965B",
400: "#fa8543",
},
yellow: {
200: "#FFF59F",
300: "#FFF066",
400: "#FFE500",
},
lime: {
100: "#c6fab4",
200: "#B8FF9F",
300: "#9dfc7c",
400: "#7df752",
},
cyan: {
200: "#A6FAFF",
300: "#79F7FF",
400: "#53f2fc",
},
},
backgroundImage: (theme) => ({
desktop: "url('/src/assets/neo-brutalism-image1.webp')",
mobile: "url('/src/assets/neo-brutalism-image1-mobile.webp')",
}),
},
},
plugins: [
function ({ addUtilities }) {
const newUtilities = {
".bg-desktop": {
"background-image": "url('/src/assets/neo-brutalism-image1.webp')",
},
".bg-mobile": {
"background-image":
"url('/src/assets/neo-brutalism-image1-mobile.webp')",
},
};
addUtilities(newUtilities, ["responsive", "hover"]);
},
],
};