From 4bf3c2fd286ee4a92462a418ccfc33172bc74aa3 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 11 Feb 2019 21:04:00 -0800 Subject: [PATCH] fix: don't show theme picker if not logged in (#967) Also tweak some of the styles and layout in the theme picker itself --- .../settings/instance/ThemeSettings.html | 16 +++++++++++----- src/routes/_pages/settings/general.html | 6 ++++-- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/routes/_components/settings/instance/ThemeSettings.html b/src/routes/_components/settings/instance/ThemeSettings.html index 015f38b..310b8cb 100644 --- a/src/routes/_components/settings/instance/ThemeSettings.html +++ b/src/routes/_components/settings/instance/ThemeSettings.html @@ -2,11 +2,9 @@
{#each themeGroups as themeGroup}
- {#if themeGroup.dark} -

Dark Background

- {:else} -

Light Background

- {/if} +

+ {themeGroup.dark ? 'Dark background' : 'Light background' } +

{#each themeGroup.themes as theme}