Skip to content

Commit

Permalink
fix: remove font-family and line-height vars in favor of setting it d…
Browse files Browse the repository at this point in the history
…irectly
  • Loading branch information
receter committed Oct 9, 2024
1 parent 88bdf15 commit 62aac7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions packages/ui/lib/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
@import url(../node_modules/normalize.css/normalize.css);

:root {
font-family: var(--sys42-font-family);
line-height: var(--sys42-line-height);
font-weight: 400;
/* Typography */
font-family: sans-serif;
line-height: 1.5;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
Expand Down
4 changes: 0 additions & 4 deletions packages/ui/lib/default-custom-properties.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
:root {
/* Typography */
--sys42-font-family: sans-serif;
--sys42-line-height: 1.5;

/* Spacing */
--sys42-spacing-xxs: 0.125rem;
--sys42-spacing-xs: 0.25rem;
Expand Down

0 comments on commit 62aac7e

Please sign in to comment.