From 6eed689db2fd581f39ee961dd3756bb36308ca93 Mon Sep 17 00:00:00 2001 From: Fulmine Date: Sat, 19 Mar 2022 10:18:19 +0100 Subject: [PATCH] add colored background setting --- src/pages/Settings.svelte | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/pages/Settings.svelte b/src/pages/Settings.svelte index 67cb1f0c..ce681a4a 100644 --- a/src/pages/Settings.svelte +++ b/src/pages/Settings.svelte @@ -10,7 +10,7 @@ banner_top: true, banner_bottom: true, gradient_background: false, - no_background: false, + color_background: false, twemoji: false } }; @@ -37,17 +37,21 @@

Appearance


- + Show banners in the background? {settings.appearance.banner_top = !settings.appearance.banner_top; localStorage.setItem("pk-settings", JSON.stringify(settings));}}/> - Toggles banners from the top of the system, member and group pages. + If enabled, shows banners from the top of the system, member and group pages. - + Show banners at the bottom of cards? {settings.appearance.banner_bottom = !settings.appearance.banner_bottom; localStorage.setItem("pk-settings", JSON.stringify(settings));}}/> - Toggles banners at the bottom of the system, member and group cards. + If enabled, shows banners at the bottom of the system, member and group cards. - + Use twemoji? {settings.appearance.twemoji = !settings.appearance.twemoji; localStorage.setItem("pk-settings", JSON.stringify(settings));}}/> - Converts all emojis to twemoji. + If enabled, converts all emojis into twemoji. + + + Colored background? {settings.appearance.color_background = !settings.appearance.color_background; localStorage.setItem("pk-settings", JSON.stringify(settings));}}/> + If enabled, turns the background on member pages into the member's color.