Add ThemeToggle component

This commit is contained in:
thiloho
2023-05-18 20:20:43 +02:00
parent 21437ae15d
commit 40411fd328
11 changed files with 139 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
export let shortcut: string;
const possibleShortcuts = ["S", "T"];
const possibleShortcuts = ["S", "C", "T"];
let detailsElement: HTMLDetailsElement;
let summaryElement: HTMLElement;