-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
81 lines (72 loc) · 2.01 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
"primary-yellow": "#ffcc29",
"dark-gray": "#39373a",
},
fontFamily: {
commissioner: ["var(--font-commissioner)"],
"playfair-display": ["var(--font-playfair-display)"],
},
backgroundImage: {
"order-kitchen":
'url("../assets/images/home-page__bg-order-kitchen.png")',
"subscription-section-mask":
'url("../assets/images/subscription-bg-mask.svg")',
"cover-article": 'url("../assets/images/blog-bg-article.png")',
},
animation: {
smoothAppearHorizontal: "smooth-appear-horizontal .4s ease forwards",
changeBgHeroSection:
"change-bg-hero-section 7.5s ease-in infinite alternate",
},
keyframes: {
"smooth-appear-horizontal": {
to: {
opacity: "1",
transform: "translateX(0)",
},
},
"change-bg-hero-section": {
// bg-1
"0%, 33%": {
backgroundImage:
'url("../assets/images/home-page__bg-1-hero-section.jpg")',
},
// bg-2
"34%, 67%": {
backgroundImage:
'url("../assets/images/home-page__bg-2-hero-section.jpg")',
},
// bg-3
"68%, 100%": {
backgroundImage:
'url("../assets/images/home-page__bg-3-hero-section.jpg")',
},
},
},
screens: {
mobile: "320px",
mobileM: "475px",
mobileL: "580px",
mobileXL: "640px",
tablet: "768px",
tabletM: "896px",
tabletL: "920px",
laptop: "1024px",
laptopM: "1200px",
laptopL: "1340px",
desktop: "1480px",
},
},
},
plugins: [],
};
export default config;