Skip to content

Commit

Permalink
fix: change font (Lexend -> Outfit)
Browse files Browse the repository at this point in the history
because `Lexend` does not work with `fontVariantNumeric: tabular-nums`
  • Loading branch information
mst-mkt committed Feb 25, 2024
1 parent f259b81 commit 0911853
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prepare": "husky install"
},
"dependencies": {
"@fontsource-variable/lexend": "^5.0.18",
"@fontsource/outfit": "^5.0.8",
"@stylexjs/stylex": "^0.4.1",
"@tanstack/react-router": "^1.5.7",
"@tanstack/router-devtools": "^1.5.7",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/global.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
html {
font-family: "Lexend Variable", sans-serif;
font-family: "Outfit", sans-serif;
}

body {
Expand Down
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '@fontsource-variable/lexend'
import '@fontsource/outfit'
import { RouterProvider } from '@tanstack/react-router'
import 'core-js/features/array/at'
import React from 'react'
Expand Down

0 comments on commit 0911853

Please sign in to comment.