forked from Graduation-Proj-ITI/User
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
151 lines (148 loc) · 4.47 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
/** @type {import('tailwindcss').Config} */
const colors = require("tailwindcss/colors");
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./src/**/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
primary: "#133A5E",
secondary: "#FFB921",
bgColor: "#f1f0f6a1",
transparent: "transparent",
current: "currentColor",
black: "#000",
white: "#fff",
dark: "#4C4C4C",
"dark-gray": "#939393",
error: "#C83D3D",
bluegray: colors.blueGray,
coolgray: colors.coolGray,
gray: colors.gray,
truegray: colors.trueGray,
warmgray: colors.warmGray,
red: colors.red,
orange: colors.orange,
amber: colors.amber,
yellow: colors.yellow,
lime: colors.lime,
green: colors.green,
emerald: colors.emerald,
teal: colors.teal,
cyan: colors.cyan,
sky: colors.sky,
blue: colors.blue,
indigo: colors.indigo,
violet: colors.violet,
purple: colors.purple,
fuchsia: colors.fuchsia,
pink: colors.pink,
rose: colors.rose,
},
backgroundImage: {
community: "url('../../public/images/community/community.png')",
shop: "url('../../public/images/products/backgroundProduct.png')",
footerBg:
"linear-gradient(to top, #133A5Ecf, #133A5Ecf), url('https://i.shgcdn.com/4427c8e2-7042-41d8-bcfb-0fb78efd53bf/-/format/auto/-/preview/3000x3000/-/quality/lighter/')",
slide1: "url('../../images/slider/slide1.jpg')",
slide2: "url('../../images/slider/slide2.jpg')",
slide3: " url('../../images/slider/slide3.jpg')",
slide4: " url('../../images/slider/slide4.jpg')",
bgLamp: "url('../../images/categories/lamp-1.jpg')",
bgSofa: "url('../../images/categories/sofa.jpg')",
bgChair: "url('../../images/categories/chair.jpg')",
bgDecoration: "url('../../images/categories/decoration.jpg')",
bgStorage: "url('../../images/categories/storage.jpg')",
bgBed: "url('../../images/categories/bed.jpg')",
bgTable: "url('../../images/categories/table.jpg')",
},
fontSize: {
sm: "0.8rem",
base: "1rem",
xl: "1.25rem",
},
boxShadow: {
base: "0 0 10px 0 rgba(211, 211, 211, 0.25)",
},
animation: {
"spin-slow": "spin 3s linear infinite",
wiggle: "wiggle 0.5s ease-in-out forwards",
fadeInLeft: "fadeInLeft 0.7s linear",
fadeInRight: "fadeInRight 0.7s linear",
},
keyframes: {
wiggle: {
"0%": { opacity: 0 },
"100%": { opacity: 1 },
},
fadeInLeft: {
"0%": {
opacity: 0,
transform: "translateX(-50px)",
},
"100%": {
opacity: 1,
transform: "translateX(0)",
},
},
fadeInRight: {
"0%": {
opacity: 0,
transform: "translateX(0)",
},
"100%": {
opacity: 1,
transform: "translateX(-40px)",
},
},
container: {
center: true,
padding: "1rem",
},
},
},
},
plugins: [require("daisyui")],
// daisyui: {
// themes: [
// {
// light: {
// colors: {
// transparent: "transparent",
// current: "currentColor",
// black: "#000",
// white: "#fff",
// bluegray: colors.blueGray,
// coolgray: colors.coolGray,
// gray: colors.gray,
// truegray: colors.trueGray,
// warmgray: colors.warmGray,
// red: colors.red,
// orange: colors.orange,
// amber: colors.amber,
// yellow: colors.yellow,
// lime: colors.lime,
// green: colors.green,
// emerald: colors.emerald,
// teal: colors.teal,
// cyan: colors.cyan,
// sky: colors.sky,
// blue: colors.blue,
// indigo: colors.indigo,
// violet: colors.violet,
// purple: colors.purple,
// fuchsia: colors.fuchsia,
// pink: colors.pink,
// rose: colors.rose,
// primary: "#133A5E",
// secondary: "#FF9934",
// bgColor: "#EEEEEE",
// },
// },
// },
// ],
// },
};