Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 92ce381

Browse files
author
Manuel Proß
committed
feat(fe): add font family, rename colours, add font sizes to tailwind classes
1 parent 9799a9e commit 92ce381

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

web/tailwind.config.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,27 @@ const config: Config = {
44
content: ["./src/pages/**/*.{js,ts,jsx,tsx,mdx}", "./src/components/**/*.{js,ts,jsx,tsx,mdx}", "./src/app/**/*.{js,ts,jsx,tsx,mdx}"],
55
theme: {
66
extend: {
7+
fontFamily: {
8+
fira: ["var(--font-fira)"],
9+
},
710
colors: {
8-
primary: "var(--color-primary)",
9-
"secondary-text": "var(--c-secondary-text)",
11+
primary: "var(--c-primary)",
12+
"primary-opacity": "rgba(69, 255, 2, 0.15)",
1013
"gray-1": "var(--c-gray-1)",
1114
"gray-2": "var(--c-gray-2)",
1215
"gray-3": "var(--c-gray-3)",
1316
"gray-4": "var(--c-gray-4)",
17+
"gray-5": "var(--c-gray-5)",
1418
},
1519
},
20+
fontSize: {
21+
xs: "12px",
22+
sm: "clamp(0.5rem, 0.75vw, 20px)",
23+
base: "clamp(1rem, 1vw, 24px)",
24+
md: "clamp(1.25rem, 2vw, 32px)",
25+
lg: "clamp(1.75rem, 3vw, 42px)",
26+
xl: "clamp(2rem, 4vw, 48px)",
27+
},
1628
},
1729
plugins: [],
1830
};

0 commit comments

Comments
 (0)