From 14ae7e32722e1e3bb90b5997148f9d9e35b3a82b Mon Sep 17 00:00:00 2001 From: Tobias Date: Wed, 14 Jun 2023 15:07:03 +0200 Subject: [PATCH] Cleanup `.bg-red` which does not exist anymore --- UI/BigComponents/ThemeButton.svelte | 141 ++++++++++++++-------------- UI/Input/Checkboxes.ts | 2 +- UI/Input/RadioButton.ts | 2 +- 3 files changed, 74 insertions(+), 71 deletions(-) diff --git a/UI/BigComponents/ThemeButton.svelte b/UI/BigComponents/ThemeButton.svelte index c03d1e55cd..ace9b6d009 100644 --- a/UI/BigComponents/ThemeButton.svelte +++ b/UI/BigComponents/ThemeButton.svelte @@ -1,80 +1,83 @@ {#if theme.id !== personal.id || $userDetails.csCount > Constants.userJourney.personalLayoutUnlock} - - - - - - - + + + + + + - + + {/if} diff --git a/UI/Input/Checkboxes.ts b/UI/Input/Checkboxes.ts index d974c033aa..b183095c50 100644 --- a/UI/Input/Checkboxes.ts +++ b/UI/Input/Checkboxes.ts @@ -66,7 +66,7 @@ export default class CheckBoxes extends InputElement { label.htmlFor = input.id label.appendChild(input) label.appendChild(inputI.ConstructElement()) - label.classList.add("block", "w-full", "p-2", "cursor-pointer", "bg-red") + label.classList.add("block", "w-full", "p-2", "cursor-pointer") formTag.appendChild(label) diff --git a/UI/Input/RadioButton.ts b/UI/Input/RadioButton.ts index 15e1a425a6..1386895cb3 100644 --- a/UI/Input/RadioButton.ts +++ b/UI/Input/RadioButton.ts @@ -118,7 +118,7 @@ export class RadioButton extends InputElement { const label = document.createElement("label") label.appendChild(labelHtml) label.htmlFor = input.id - label.classList.add("flex", "w-full", "cursor-pointer", "bg-red") + label.classList.add("flex", "w-full", "cursor-pointer") if (!this._dontStyle) { labelHtml.classList.add("p-2")