-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
46 lines (45 loc) · 1.08 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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
screens: {
sm: "390px",
md: "780px",
lg: "1024px",
xl: "1920px",
},
extend: {
animation: {
floating: "floating 3s ease-in-out infinite",
},
keyframes: {
floating: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-10px)" },
},
},
fontSize: {
xxs: ["10px", "13.72px"],
},
fontFamily: {
sans: ["var(--font-cake-n-truffles)", ...defaultTheme.fontFamily.sans],
notoSans: ["var(--font-noto-sans)"],
jingNanYuanMo: ["var(--font-JingNanYuanMo)"],
},
backgroundColor: {
primary: "#1F2D91",
secondary: "#2F3CB4",
tertiary: "#303030",
fox: "#FF9321",
},
width: {
95: "23.75rem",
189: "47.25rem",
225: "56.25rem",
250: "62.5rem",
},
},
},
plugins: [],
};