-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
57 lines (57 loc) · 1.51 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
gridTemplateColumns: {
checkoutLg: "56% 1fr",
},
colors: {
product: {
yellow: {
DEFAULT: "#DBAC2C",
light: "#F1E9C9",
dark: "#C47F17",
},
purple: {
DEFAULT: "#8047F8",
light: "#EBE5F9",
dark: "#4B2995",
},
},
base: {
bg: "#FAFAFA",
button: "#E6E5E5",
card: "#F3F2F2",
hover: "#D7D5D5",
input: "#EDEDED",
label: "#8D8686",
subtitle: "#403937",
text: "#574F4D",
title: "#272221",
white: "#FFFFFF",
},
},
fontFamily: {
"sans-r": ["Roboto", "sans-serif"],
"sans-b": ['"Baloo 2"', "sans-serif"],
},
keyframes: {
downAndFade: {
from: { opacity: 0, transform: "translateY(-1rem)" },
},
downFadeAndBack: {
"0%": { opacity: 0, transform: "translateX(1rem)" },
"10%": { opacity: 1, transform: "translateX(0)" },
"90%": { opacity: 1, transform: "translateX(0)" },
"100%": { opacity: 0, transform: "translateX(1rem)" },
},
},
animation: {
downAndFade: "downAndFade 0.25s forwards ease-in-out",
downFadeAndBack: "downFadeAndBack 4s forwards ease-in-out",
},
},
},
plugins: [],
};