Skip to content
Closed
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
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,10 @@
]
},
"type": "module",
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"dependencies": {
"@fontsource-variable/inter-tight": "^5.1.1",
"@fontsource-variable/playfair-display": "^5.1.1",
"@fontsource/iosevka": "^5.1.0"
}
}
25 changes: 25 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
--breakpoint-xs: 475px;
--breakpoint-2xl: 1400px;

--font-display: "GT Super Display", serif;
--font-sans: "Inter Tight Variable", sans-serif;
--font-mono: "Iosevka", monospace;

--color-background: hsl(var(--background));
--color-foreground: hsl(var(--foreground));

Expand Down Expand Up @@ -119,7 +123,7 @@
--radius: 0.5rem;
}
.dark {
--background: 20 14.3% 4.1%;
--background: 276 10.64% 9.22%;
--foreground: 60 9.1% 97.8%;
--card: 20 14.3% 4.1%;
--card-foreground: 60 9.1% 97.8%;
Expand Down
2 changes: 2 additions & 0 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
rel="icon"
href="https://raw.githubusercontent.com/sveltejs/branding/master/svelte-logo.svg"
/>

<link rel="stylesheet" href="/fonts/gt-super.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
Expand Down
3 changes: 2 additions & 1 deletion src/lib/components/MarkdownRenderer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
<svelte:element
this={inline ? "span" : "div"}
class={cn(
"prose dark:prose-invert prose-a:[overflow-wrap:_anywhere] prose-a:text-primary prose-a:no-underline prose-a:underline-offset-4 prose-a:hover:underline prose-code:[overflow-wrap:_anywhere] prose-li:my-1",
"prose-code:[overflow-wrap:_anywhere]p prose dark:prose-invert prose-a:[overflow-wrap:_anywhere] prose-a:text-primary prose-a:no-underline prose-a:underline-offset-4 prose-a:hover:underline",
"prose-code:rounded-md prose-code:bg-neutral-800 prose-code:px-[4px] prose-code:py-[3px] prose-li:my-1",
"prose-pre:text-wrap", // remove with TODO
inline && "*:inline",
className
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/ui/tabs/tabs-list.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<TabsPrimitive.List
bind:ref
class={cn(
"bg-muted text-muted-foreground inline-flex h-10 items-center justify-center rounded-md p-1",
"bg-muted text-muted-foreground inline-flex h-10 items-center justify-center rounded-xl p-1",
className
)}
{...restProps}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/ui/tabs/tabs-trigger.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<TabsPrimitive.Trigger
bind:ref
class={cn(
"ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm",
"ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center whitespace-nowrap rounded-lg px-3 py-1.5 text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm",
className
)}
{...restProps}
Expand Down
8 changes: 7 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<script lang="ts">
import "../app.css";
import "@fontsource-variable/playfair-display";
import "@fontsource-variable/inter-tight";
import "@fontsource/iosevka/400.css";
import "@fontsource/iosevka/500.css";
import "@fontsource/iosevka/600.css";

import { onMount, type SvelteComponent } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
import { fade } from "svelte/transition";
Expand Down Expand Up @@ -134,7 +140,7 @@
<ModeWatcher />
<Toaster />
<header
class="sticky top-0 z-40 w-full bg-background/95 shadow-sm backdrop-blur supports-[backdrop-filter]:bg-background/60"
class="top-0 z-40 hidden w-full bg-background/95 shadow-sm backdrop-blur supports-[backdrop-filter]:bg-background/60"
>
<div
class={[
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
/>

<div class="container py-8">
<h2 class="text-3xl font-bold">
<h2 class="font-display text-[52px] font-medium">
<span class="text-primary">{data.repos[currentTab].name}</span>
Releases
</h2>
Expand Down
Loading
Loading