Skip to content

Commit 84c01c6

Browse files
committed
Fix fonts copying
1 parent 4df15d7 commit 84c01c6

File tree

5 files changed

+2
-21
lines changed

5 files changed

+2
-21
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ build-renderer: node_modules/.installed src/version.ts ## Build renderer process
145145
build-static: ## Copy static assets to dist
146146
@echo "Copying static assets..."
147147
@mkdir -p dist
148-
@./scripts/copy-fonts.sh
149148
@cp static/splash.html dist/splash.html
150149
@cp -r public/* dist/
151150

-56.7 KB
Binary file not shown.
-57.1 KB
Binary file not shown.

scripts/copy-fonts.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/styles/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
/* Geist Font Declarations */
55
@font-face {
66
font-family: "Geist";
7-
src: url("../../public/fonts/geist-sans/Geist-Variable.woff2") format("woff2");
7+
src: url("../../node_modules/geist/dist/fonts/geist-sans/Geist-Variable.woff2") format("woff2");
88
font-weight: 100 900;
99
font-style: normal;
1010
font-display: swap;
1111
}
1212

1313
@font-face {
1414
font-family: "Geist Mono";
15-
src: url("../../public/fonts/geist-mono/GeistMono-Variable.woff2") format("woff2");
15+
src: url("../../node_modules/geist/dist/fonts/geist-mono/GeistMono-Variable.woff2") format("woff2");
1616
font-weight: 100 900;
1717
font-style: normal;
1818
font-display: swap;

0 commit comments

Comments
 (0)