Skip to content

Commit 5273655

Browse files
Move font family definition to CSS variable
1 parent 6e27fa8 commit 5273655

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/main/src/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
:root {
22
color-scheme: light dark;
3+
--font-family: "Albert Sans", sans-serif;
34
--border: light-dark(#d4d4d8, #27272a);
45
--color: light-dark(#09090b, #fafafa);
56
--color-primary: light-dark(#fafafa, #09090b);

packages/main/src/compoments/_typography.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ textarea,
99
button,
1010
select,
1111
::file-selector-button {
12-
font-family: "Albert Sans", sans-serif;
12+
font-family: var(--font-family);
1313
}
1414

1515
h {

0 commit comments

Comments
 (0)