Skip to content

Commit d1882e7

Browse files
authored
fix: Revert font sizes config (#62)
* fix: Revert font sizes config * fix: Force line-height normal for all font sizes
1 parent 1b11c51 commit d1882e7

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

packages/frontend-main/src/style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,18 @@
7878
--sidebar-border: oklch(0.922 0 0);
7979
--sidebar-ring: oklch(0.708 0 0);
8080
--main-min-width-desktop: 640px;
81+
--text-2xl: 2rem; /* 32px */
82+
--text-xl: 1.6875rem; /* 27px */
83+
--text-lg: 1.5rem; /* 24px */
84+
--text-base: 1.0625rem; /* 17px */
85+
--text-sm: 0.9375rem; /* 15px */
86+
--text-xs: 0.8125rem; /* 13px */
87+
--text-2xl--line-height: normal;
88+
--text-xl--line-height: normal;
89+
--text-lg--line-height: normal;
90+
--text-base--line-height: normal;
91+
--text-sm--line-height: normal;
92+
--text-xs--line-height: normal;
8193
}
8294

8395
.dark {

packages/frontend-main/tailwind.config.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,6 @@ export default {
99
'./src/**/*.{vue,js,ts,jsx,tsx}',
1010
],
1111
theme: {
12-
extend: {
13-
fontSize: {
14-
'xs': '0.8125rem',
15-
'sm': '0.9375rem',
16-
'base': '1.0625rem',
17-
'lg': '1.5rem',
18-
'xl': '1.6875rem',
19-
'2xl': '2rem',
20-
},
21-
},
2212
screens: breakpoints,
2313
},
2414
} satisfies Config;

0 commit comments

Comments
 (0)