add theme change + high res icon

This commit is contained in:
2025-03-10 23:10:46 +01:00
parent 61790ed96c
commit 086e21e447
4 changed files with 9 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
import {title, family_tree} from '$lib/paraglide/messages.js';
import { SvelteFlowProvider,Background, BackgroundVariant, SvelteFlow, Controls, MiniMap } from '@xyflow/svelte';
import type { Node, Edge, NodeTypes, NodeProps } from '@xyflow/svelte';
import ThemeButton from '$lib/theme-select.svelte';
let nodes = $state.raw<Node[]>([]);
let edges = $state.raw<Edge[]>([]);
@@ -11,6 +12,10 @@
<title>{title({ page: family_tree() })}</title>
</svelte:head>
<div class="absolute top-2 right-2">
<ThemeButton />
</div>
<div style="height:100vh;">
<SvelteFlowProvider>
<SvelteFlow bind:nodes bind:edges class="bg-base-100" fitView onlyRenderVisibleElements>

Binary file not shown.

After

Width:  |  Height:  |  Size: 690 KiB