/
tailwind.config.js
76 lines (76 loc) · 3.4 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/app/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
"teamYellow-100": "#fcfaca",
"teamYellow-200": "#fcf797",
"teamYellow-300": "#fcf465",
"teamYellow-400": "#fcf232",
"teamYellow-500": "#fcf000",
"teamYellow-550": "#d9ce00",
"teamYellow-600": "#bfb600",
"teamYellow-700": "#8c8500",
"teamYellow-800": "#595500",
"teamYellow-900": "#262400",
midnight: "#050226",
},
fontSize: {
rxs: "clamp(0.75rem, 1vw + 0.05rem, 0.875rem)",
rsm: "clamp(0.75rem, 1vw + 0.05rem, 1rem)",
rmd: "clamp(1rem, 2vw + 0.05rem, 1.125rem)",
rlg: "clamp(1rem, 2vw + 0.05rem, 1.25rem)",
rxl: "clamp(1rem, 2vw + 0.25rem, 1.5rem)",
r2xl: "clamp(1.5rem, 2vw + 0.25rem, 1.875rem)",
r3xl: "clamp(1.5rem, 4vw + 0.6rem, 2.25rem)",
r4xl: "clamp(1.5rem, 4vw + 0.6rem, 3rem)",
r5xl: "clamp(2rem, 7vw + 1rem, 3.75rem)",
r6xl: "clamp(2rem, 7.5vw + 1rem, 4.5rem)",
r7xl: "clamp(2.6rem, 8vw + 1rem, 6rem)",
r8xl: "clamp(2.6rem, 8.5vw + 1rem, 8rem)",
r9xl: "clamp(2.6rem, 9vw + 1rem, 9rem)",
r10xl: "clamp(2.5rem, 9.5vw + 1rem, 10rem)",
r11xl: "clamp(2.5rem, 10vw + 1rem, 11rem)",
r12xl: "clamp(2.5rem, 10.5vw + 1rem, 12rem)",
},
height: {
clampLarge: "clamp(15rem, 30vh, 30rem)",
clampXL: "clamp(25rem, 40vh, 40rem)",
},
screens: {
"-2xl": { max: "1535px" }, // inverse 2xl
"-xl": { max: "1279px" }, // inverse xl
"-lg": { max: "1023px" }, // inverse lg
hlg: { min: "896px" }, // half between lg and md
"-hlg": { max: "895px" }, // inverse half between lg and md
"-md": { max: "767px" }, // inverse md
hmd: { min: "704px" }, // half between md and sm
"-hmd": { max: "703px" }, // inverse half between md and sm
"-sm": { max: "639px" }, // inverse sm
"-xs": { max: "390px" }, // inverse xs
"2xs": { min: "390px" }, // inverse 2xs
"-2xs": { max: "330px" }, // inverse 2xs
oxl: { min: "1280px", max: "1535px" }, // only xl
olg: { min: "1024px", max: "1279px" }, // only lg
omd: { min: "768px", max: "1023px" }, // only md
osm: { min: "639px", max: "767px" }, // only sm
oxs: { min: "390px", max: "639px" }, // only xs
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
fontFamily: {
sans: ["var(--font-main)"],
"bebas-neue": ["var(--font-bebas-neue)"],
inter: ["var(--font-inter)"],
},
},
},
plugins: [require("@tailwindcss/forms")],
};