Skip to content

Commit

Permalink
Add Fira Code as static asset instead 🆎
Browse files Browse the repository at this point in the history
  • Loading branch information
Ancientkingg committed Jul 11, 2024
1 parent c4926e3 commit 3505230
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions client/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@

<!-- App.svelte -->

<svelte:head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:[email protected]&display=swap" rel="stylesheet">
</svelte:head>

<Router {url}>
<div>
<Route path="/capsule/:id" component={Capsule}></Route>
Expand Down
2 changes: 0 additions & 2 deletions client/src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:[email protected]&display=swap');

:root {
--input-background-color: #1a2028;
--input-foreground-color: #f7f7f7;
Expand Down

0 comments on commit 3505230

Please sign in to comment.