misc: add theme link to settings page

This commit is contained in:
Xylight committed 2024-03-04 17:51:21 -08:00
1 parent 81ac6accf4
commit cd7720e44d
1 file changed
+8 -5
+8 -5
View File
@@ -8,6 +8,7 @@
import Link from '$lib/components/input/Link.svelte'
import {
ArrowPath,
ArrowRight,
ChatBubbleOvalLeftEllipsis,
ChevronDown,
ChevronRight,
@@ -24,10 +25,6 @@
import { removeItem } from '$lib/util.js'
import Section from './Section.svelte'
import ToggleSetting from './ToggleSetting.svelte'
let data = {
loading: false,
}
</script>
<svelte:head>
@@ -45,12 +42,18 @@
class="font-normal"
>
<Icon src={ArrowPath} mini size="16" slot="prefix" />
Reset to default
Reset
</Button>
</h1>
<div class="flex flex-col gap-4" style="scroll-behavior: smooth;">
<Section title="Photon">
<Setting>
<span slot="title">Theming</span>
<Button href="/theme">
Go to themes <Icon src={ArrowRight} size="16" mini slot="suffix" />
</Button>
</Setting>
<Setting>
<span slot="title">Post style</span>
<ViewSelect showLabel={false} />