Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fira Code as static asset instead 🆎 #12

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add Fira Code as static asset instead 🆎
  • Loading branch information
Ancientkingg committed Jul 11, 2024
commit 350523097a9897a579f394bd2a24785c507f735e
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