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 {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.floater-elem {
margin-left: auto;

View File

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

View File

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