Skip to content

Commit

Permalink
Fix inter fonts pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
twk3 committed Dec 25, 2023
1 parent 35441ae commit bf88f52
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/desktop-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"terser-webpack-plugin": "^5.3.9",
"uuid": "^9.0.0",
"victory": "^36.6.8",
"vite": "^5.0.7",
"vite": "^5.0.10",
"vite-tsconfig-paths": "^4.2.2",
"vitest": "^1.0.4",
"webpack-bundle-analyzer": "^4.9.1",
Expand Down
4 changes: 3 additions & 1 deletion packages/desktop-client/src/fonts.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
@use 'inter-ui/variable';
@use 'inter-ui/variable' with (
$inter-font-path: '../../../node_modules/inter-ui/Inter (web)'
);
@include variable.default;
2 changes: 1 addition & 1 deletion packages/desktop-client/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default defineConfig(async ({ mode }) => {
if (/png|jpe?g|svg|gif|tiff|bmp|ico/i.test(extType)) {
extType = 'img';
} else if (/woff|woff2/.test(extType)) {
extType = 'css';
extType = 'media';
}
return `static/${extType}/[name]-[hash][extname]`;
},
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ __metadata:
terser-webpack-plugin: "npm:^5.3.9"
uuid: "npm:^9.0.0"
victory: "npm:^36.6.8"
vite: "npm:^5.0.7"
vite: "npm:^5.0.10"
vite-tsconfig-paths: "npm:^4.2.2"
vitest: "npm:^1.0.4"
webpack-bundle-analyzer: "npm:^4.9.1"
Expand Down Expand Up @@ -17126,9 +17126,9 @@ __metadata:
languageName: node
linkType: hard

"vite@npm:^5.0.0, vite@npm:^5.0.7":
version: 5.0.8
resolution: "vite@npm:5.0.8"
"vite@npm:^5.0.0, vite@npm:^5.0.10":
version: 5.0.10
resolution: "vite@npm:5.0.10"
dependencies:
esbuild: "npm:^0.19.3"
fsevents: "npm:~2.3.3"
Expand Down Expand Up @@ -17162,7 +17162,7 @@ __metadata:
optional: true
bin:
vite: bin/vite.js
checksum: ea36e34fa45401d8e29317c3355f4d7081df09b412578bd7b6a26d44bccace9d130625f7f317a3cbc20ad2aadc5881d01d1508e8d9e36060ae44d974f505dd7e
checksum: 5421e9c7f8cf3152eace9a8b528269141635f367e5dc63c5f1fe2712a766d9757f8197733cf3f28be590afdd520130d38de90c955e6dba6edfa6f9056c1e5ea7
languageName: node
linkType: hard

Expand Down

0 comments on commit bf88f52

Please sign in to comment.