Skip to content

Commit 4f2e700

Browse files
authored
fix wrong lineHeight convertion (#229)
1 parent 92fc5d6 commit 4f2e700

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

packages/backend/src/tailwind/tailwindConfig.ts

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,14 @@ const fontSize = {
7878
};
7979

8080
const lineHeight = {
81-
0.75: "3",
82-
1: "none",
83-
1.25: "tight",
84-
1.375: "snug",
85-
1.5: "normal",
86-
1.625: "relaxed",
87-
2: "loose",
88-
1.75: "7",
89-
2.25: "9",
90-
2.5: "10",
81+
0.75: "3", // 0.75rem
82+
1: "4", // 1rem
83+
1.25: "5", // 1.25rem
84+
1.5: "6", // 1.5rem
85+
1.75: "7", // 1.75rem
86+
2: "8", // 2rem
87+
2.25: "9", // 2.25rem
88+
2.5: "10", // 2.5rem
9189
};
9290

9391
const letterSpacing = {

0 commit comments

Comments
 (0)