feat: Dark mode #15

Merged
aniva merged 15 commits from styling/dark-mode into main 2024-10-15 19:32:16 -07:00
6 changed files with 6 additions and 2 deletions
Showing only changes of commit cf84bd324f - Show all commits

3
src/params/extra.ts Normal file
View File

@ -0,0 +1,3 @@
export function match(param: string) {
return param !== 'rss.xml';
}

View File

@ -125,6 +125,7 @@
#navbar { #navbar {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center;
} }
.floater-elem { .floater-elem {
margin-left: auto; margin-left: auto;

View File

@ -21,7 +21,7 @@
href={item.route}>{item.name}</a> href={item.route}>{item.name}</a>
{/each} {/each}
<div><ThemeSwitch /></div> <div><ThemeSwitch /></div>
<a class="icon" href="/rss.xml"><Rss /></a> <a class="nav-link icon" href="/rss.xml"><Rss /></a>
</div> </div>
<style> <style>

View File

@ -2,6 +2,6 @@ import type { PageLoad } from './$types';
import { getTags } from '$lib/posts'; import { getTags } from '$lib/posts';
export const load: PageLoad = async (_) => { export const load: PageLoad = async (_) => {
let allTags = await getTags(); const allTags = await getTags();
return { allTags }; return { allTags };
}; };