Skip to content

Commit 971368e

Browse files
committed
2 parents 44753d2 + 84236d1 commit 971368e

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

.storybook/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ const config: StorybookConfig = {
3131
...config.resolve,
3232
alias: {
3333
...config.resolve.alias,
34-
"/fonts": path.resolve(__dirname, "../public/fonts"),
34+
"./fonts": path.resolve(__dirname, "../src/lib/fonts"),
3535
},
3636
};
3737
} else {
3838
config.resolve = {
3939
alias: {
40-
"/fonts": path.resolve(__dirname, "../public/fonts"),
40+
"./fonts": path.resolve(__dirname, "../src/lib/fonts"),
4141
},
4242
};
4343
}

public/fonts/Satoshi-Variable.ttf

-124 KB
Binary file not shown.

public/fonts/Satoshi-Variable.woff

-34.3 KB
Binary file not shown.

src/styles/base/typography.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77

88
@font-face {
99
font-family: "Satoshi Variable";
10-
src: url("/fonts/Satoshi-Variable.woff2") format("woff2"),
11-
url("/fonts/Satoshi-Variable.woff") format("woff"),
12-
url("/fonts/Satoshi-Variable.ttf") format("truetype");
10+
src: url("./fonts/Satoshi-Variable.woff2") format("woff2");
1311
font-weight: 300 900;
1412
font-display: swap;
1513
font-style: normal;

0 commit comments

Comments
 (0)