Skip to content

Commit 7938687

Browse files
authored
Merge pull request #92 from oasisprotocol/mz/font
Set Inter Variable as default font
2 parents ea32094 + 7ddc63c commit 7938687

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"vitest": "^3.1.3"
5252
},
5353
"dependencies": {
54+
"@fontsource-variable/inter": "^5.2.8",
5455
"@hookform/resolvers": "^5.0.1",
5556
"@radix-ui/react-accordion": "^1.2.8",
5657
"@radix-ui/react-alert-dialog": "^1.1.11",

src/styles/global.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
@import 'tailwindcss';
22
@import 'tw-animate-css';
3+
@import '@fontsource-variable/inter';
34

45
@custom-variant dark (&:is(.dark *));
56
:root {
6-
--default-font-family: 'Inter', sans-serif;
7+
--default-font-family: 'Inter Variable', sans-serif;
78

89
color-scheme: light;
910
--background: hsl(0 0% 100%);

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,11 @@
788788
resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.9.tgz#50dea3616bc8191fb8e112283b49eaff03e78429"
789789
integrity sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==
790790

791+
"@fontsource-variable/inter@^5.2.8":
792+
version "5.2.8"
793+
resolved "https://registry.yarnpkg.com/@fontsource-variable/inter/-/inter-5.2.8.tgz#29b11476f5149f6a443b4df6516e26002d87941a"
794+
integrity sha512-kOfP2D+ykbcX/P3IFnokOhVRNoTozo5/JxhAIVYLpea/UBmCQ/YWPBfWIDuBImXX/15KH+eKh4xpEUyS2sQQGQ==
795+
791796
"@hapi/hoek@^9.0.0", "@hapi/hoek@^9.3.0":
792797
version "9.3.0"
793798
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"

0 commit comments

Comments
 (0)