Skip to content

Commit

Permalink
fix: use direct js value for global css font stack
Browse files Browse the repository at this point in the history
  • Loading branch information
yyyyaaa committed Nov 6, 2023
1 parent 074216f commit 34938d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/styles/global.css.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { globalStyle } from "@vanilla-extract/css";
import { themeVars } from "./themes.css";
import { SYSTEM_FONT_STACK } from "../styles/tokens/typography";

globalStyle(`*, *::before, *::after`, {
boxSizing: `border-box`,
Expand All @@ -11,7 +11,7 @@ globalStyle(`*`, {

globalStyle(`html, body`, {
height: `100%`,
fontFamily: themeVars.font.body,
fontFamily: `Inter, ${SYSTEM_FONT_STACK}`,
});

globalStyle(`body`, {
Expand Down

0 comments on commit 34938d4

Please sign in to comment.