+ The file converter you'll love. +
++ All processing done on your device. No file size limit, no + ads, and completely open source. +
+diff --git a/package.json b/package.json index 69bb382..225d325 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "lint": "prettier --check . && eslint ." }, "devDependencies": { + "@poppanator/sveltekit-svg": "^5.0.0", "@sveltejs/adapter-auto": "^3.0.0", "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^4.0.0", diff --git a/src/app.d.ts b/src/app.d.ts index bd1d41f..a762596 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -1,3 +1,5 @@ +import "@poppanator/sveltekit-svg/dist/svg"; + type EventPayload = { readonly n: string; readonly u: Location["href"]; diff --git a/src/app.html b/src/app.html index 9264d84..0b55ebd 100644 --- a/src/app.html +++ b/src/app.html @@ -4,6 +4,12 @@ + + + %sveltekit.head%
diff --git a/src/app.scss b/src/app.scss index 841a8a8..866f250 100644 --- a/src/app.scss +++ b/src/app.scss @@ -7,10 +7,10 @@ @import url(@fontsource/azeret-mono/600.css); :root { - --font-body: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, + --font-body: "Host Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; - --font-display: "Azeret Mono", var(--font-body); + --font-display: "Radio Canada Big", var(--font-body); --transition: linear( 0, 0.006, @@ -27,6 +27,7 @@ 1.017 63.9%, 1.001 ); + --shadow-panel: 0 4px 6px 0 hsla(0, 0%, 0%, 0.15); } @mixin light { @@ -43,19 +44,35 @@ } @mixin dark { - --accent-bg: hsl(304, 41%, 21%); - --accent-fg: hsl(303, 73%, 81%); - --bg: hsl(0, 0%, 8%); - --bg-transparent: hsla(0, 0%, 8%, 0.8); - --fg: hsl(0, 0%, 90%); + // general + --accent: hsl(303, 73%, 81%); + + // foregrounds + --fg: hsl(0, 0%, 100%); --fg-muted: hsl(0, 0%, 50%); - --fg-muted-alt: hsl(0, 0%, 25%); - --fg-highlight: hsl(303, 64%, 65%); - --fg-failure: hsl(0, 67%, 80%); - --bg-gradient: linear-gradient(to bottom, #c800ff0c, #c800ff00), - linear-gradient(to bottom left, #0015ff0c, #0015ff00 50%), - linear-gradient(to bottom right, #ff001e18, #ff001e00 50%); + --fg-on-accent: hsl(0, 0%, 0%); + + // backgrounds + --bg: hsl(220, 5%, 12%); + --bg-gradient: linear-gradient( + to bottom, + hsla(287, 100%, 50%, 0.1), + hsla(287, 100%, 50%, 0) + ), + linear-gradient( + to bottom left, + hsla(235, 100%, 50%, 0.07), + hsla(235, 100%, 50%, 0) 50% + ), + linear-gradient( + to bottom right, + hsla(353, 100%, 50%, 0.07), + hsla(353, 100%, 50%, 0) 50% + ); color-scheme: dark; + --bg-panel: hsl(225, 4%, 18%); + --bg-panel-accented: color-mix(in srgb, var(--accent) 12%, transparent); + --bg-separator: hsl(214, 4%, 32%); } @media (prefers-color-scheme: dark) { @@ -79,9 +96,10 @@ } body { - @apply text-foreground bg-background font-body overflow-x-hidden; + @apply text-foreground font-body font-semibold overflow-x-hidden; width: 100vw; background: var(--bg-gradient); + background-color: var(--bg); background-size: 100vw 100vh; } @@ -101,4 +119,13 @@ body { .btn-highlight { @apply bg-accent-background text-accent-foreground border-accent-background; } + + h1, + h2, + h3, + h4, + h5, + h6 { + @apply font-display font-semibold; + } } diff --git a/src/lib/assets/vert-bg.svg b/src/lib/assets/vert-bg.svg new file mode 100644 index 0000000..732e556 --- /dev/null +++ b/src/lib/assets/vert-bg.svg @@ -0,0 +1,22 @@ + diff --git a/src/lib/components/functional/Navbar.svelte b/src/lib/components/functional/Navbar.svelte new file mode 100644 index 0000000..f30b094 --- /dev/null +++ b/src/lib/components/functional/Navbar.svelte @@ -0,0 +1,54 @@ + + +{item.name}
+ + {/each} + + ++ All processing done on your device. No file size limit, no + ads, and completely open source. +
+