Skip to content

Commit

Permalink
fix: font and colors and stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
awwpotato authored and azaleacolburn committed Jan 23, 2025
1 parent 51818f5 commit 564be31
Show file tree
Hide file tree
Showing 26 changed files with 158 additions and 8 deletions.
144 changes: 144 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,147 @@
@apply bg-background text-foreground;
}
}

@layer base {
@font-face {
font-family: Teko;
font-style: normal;
font-weight: 300;
src: url(/static/fonts/teko/Teko-Light.ttf) format("tff");
}
@font-face {
font-family: Teko;
font-style: normal;
font-weight: 400;
src: url(/static/fonts/teko/Teko-Regular.ttf) format("tff");
}
@font-face {
font-family: Teko;
font-style: normal;
font-weight: 500;
src: url(/static/fonts/teko/Teko-Medium.ttf) format("tff");
}
@font-face {
font-family: Teko;
font-style: normal;
font-weight: 600;
src: url(/static/fonts/teko/Teko-SemiBold.ttf) format("tff");
}
@font-face {
font-family: Teko;
font-style: normal;
font-weight: 700;
src: url(/static/fonts/teko/Teko-Bold.ttf) format("tff");
}

@font-face {
font-family: Poppins;
font-style: normal;
font-weight: 100;
src: url(/static/fonts/poppins/Poppins-Thin.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: italic;
font-weight: 100;
src: url(/static/fonts/poppins/Poppins-ThinItalic.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: normal;
font-weight: 200;
src: url(/static/fonts/poppins/Poppins-ExtraLight.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: italic;
font-weight: 200;
src: url(/static/fonts/poppins/Poppins-ExtraLightItalic.ttf)
format("tff");
}
@font-face {
font-family: Poppins;
font-style: normal;
font-weight: 300;
src: url(/static/fonts/poppins/Poppins-Light.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: italic;
font-weight: 300;
src: url(/static/fonts/poppins/Poppins-LightItalic.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: normal;
font-weight: 400;
src: url(/static/fonts/poppins/Poppins-Regular.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: italic;
font-weight: 400;
src: url(/static/fonts/poppins/Poppins-Italic.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: normal;
font-weight: 500;
src: url(/static/fonts/poppins/Poppins-Medium.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: italic;
font-weight: 500;
src: url(/static/fonts/poppins/Poppins-MediumItalic.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: normal;
font-weight: 600;
src: url(/static/fonts/poppins/Poppins-SemiBold.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: italic;
font-weight: 600;
src: url(/static/fonts/poppins/Poppins-SemiBoldItalic.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: normal;
font-weight: 700;
src: url(/static/fonts/poppins/Poppins-Bold.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: italic;
font-weight: 700;
src: url(/static/fonts/poppins/Poppins-BoldItalic.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: normal;
font-weight: 800;
src: url(/static/fonts/poppins/Poppins-ExtraBold.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: italic;
font-weight: 800;
src: url(/static/fonts/poppins/Poppins-ExtraBoldItalic.ttf)
format("tff");
}
@font-face {
font-family: Poppins;
font-style: normal;
font-weight: 900;
src: url(/static/fonts/poppins/Poppins-Black.ttf) format("tff");
}
@font-face {
font-family: Poppins;
font-style: italic;
font-weight: 900;
src: url(/static/fonts/poppins/Poppins-BlackItalic.ttf) format("tff");
}
}
6 changes: 6 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
</script>

{@render children()}

<style lang="postcss">
:global(body) {
@apply bg-eerie_black font-sans text-white;
}
</style>
16 changes: 8 additions & 8 deletions src/routes/home/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

<div class="flex w-full flex-col gap-2 p-2">
<div class="flex w-full items-center justify-between gap-2">
<button class="rounded bg-zinc-300 p-1"><LogOut /></button>
<button class="rounded p-1"><LogOut /></button>
<span class="font-semibold">{name}</span>
<button class="rounded bg-zinc-300 p-1"><Settings /></button>
<button class="rounded p-1"><Settings /></button>
</div>
<div class="grid gap-2 text-xl font-semibold">
<button class="rounded bg-zinc-300 p-2">Pit Display</button>
<button class="rounded bg-zinc-300 p-2">Pit Scout</button>
<button class="rounded bg-zinc-300 p-2">Match Scout</button>
<button class="rounded bg-zinc-300 p-2">Admin</button>
<button class="rounded bg-zinc-300 p-2">Analysis</button>
<button class="rounded bg-zinc-300 p-2">Bug Report</button>
<button class="rounded bg-gunmetal p-2">Pit Display</button>
<button class="rounded bg-gunmetal p-2">Pit Scout</button>
<button class="rounded bg-gunmetal p-2">Match Scout</button>
<button class="rounded bg-gunmetal p-2">Admin</button>
<button class="rounded bg-gunmetal p-2">Analysis</button>
<button class="rounded bg-gunmetal p-2">Bug Report</button>
</div>
</div>
Binary file added static/fonts/poppins/Poppins-Black.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-BlackItalic.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-Bold.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-BoldItalic.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-ExtraBold.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-ExtraBoldItalic.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-ExtraLight.ttf
Binary file not shown.
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-Italic.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-Light.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-LightItalic.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-Medium.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-MediumItalic.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-Regular.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-SemiBold.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-SemiBoldItalic.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-Thin.ttf
Binary file not shown.
Binary file added static/fonts/poppins/Poppins-ThinItalic.ttf
Binary file not shown.
Binary file added static/fonts/teko/Teko-Bold.ttf
Binary file not shown.
Binary file added static/fonts/teko/Teko-Light.ttf
Binary file not shown.
Binary file added static/fonts/teko/Teko-Medium.ttf
Binary file not shown.
Binary file added static/fonts/teko/Teko-Regular.ttf
Binary file not shown.
Binary file added static/fonts/teko/Teko-SemiBold.ttf
Binary file not shown.

0 comments on commit 564be31

Please sign in to comment.