-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
108 lines (108 loc) · 2.55 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
mode: "jit",
plugins: [
function ({ addVariant }) {
addVariant("child", "& > *");
addVariant("child-hover", "& > *:hover");
},
require("@tailwindcss/typography"),
],
theme: {
backgroundPosition: {
bottom: "bottom",
"bottom-4": "center bottom 1rem",
center: "center",
left: "left",
"left-bottom": "left bottom",
"left-top": "left top",
right: "right",
"right-bottom": "right bottom",
"right-top": "right top",
top: "top",
"top-4": "center top 1rem",
},
extend: {
colors: {
backColor: "#2F80ED",
},
keyframes: {
testt: {
"0%": {
opacity: `0`,
},
"100%": {
opacity: `1`,
},
},
scrollingAnimPos: {
"0%": {
transform: "translateX(-50%)",
},
"100%": {
transform: "translateX(0%)",
},
},
scrollingAnimNeg: {
"0%": {
transform: "translateX(50%)",
},
"100%": {
transform: "translateX(0%)",
},
},
},
animation: {
"waving-hand": "testt 0.7s ease-in ",
scrollAnimPos: "scrollingAnimPos 3s ease-in-out",
scrollAnimPNeg: "scrollingAnimNeg 3.5s ease-out",
},
screens: {
phone: "1px",
baseM: "200px",
extsm: "367px",
eexx: "425px",
exsm: "468px",
esm: "480px",
eee: "500px",
xlsm: "530px",
lsxm: "580px",
msm: "640px",
sms: "701px",
mmm: "742px",
sss: "795px",
ssm: "845px",
imd: "900px",
iii: "925px",
lsmd: "964px",
mmd: "991px",
slg: "1032px",
sty: "1043px",
ggg: "1159px",
llg: "1170px",
dxl: "1346px",
ddd: "1454px",
ddxl: "1469px",
remo: "1555px",
llgg: "1700px",
...defaultTheme.screens,
},
},
fontFamily: {
headerFont: [
"ClashDisplay",
"ClashDisplay-Variable",
"ClashDisplay-Extralight",
"ClashDisplay-Light",
"ClashDisplay-Regular",
"ClashDisplay-Medium",
"ClashDisplay-Semibold",
"ClashDisplay-Bold",
],
inter: ["Inter", "sans-serif"],
poppi: ["Poppins", "sans-serif"],
},
},
};