From 999fd9157cd6d56cc671bce94aad27a68060b05a Mon Sep 17 00:00:00 2001 From: Manan Lalwani Date: Sat, 2 Aug 2025 00:50:10 -0500 Subject: [PATCH] Enhance dark mode support (#1682) ## Description: Improved dark mode styling for #1681 Old: image New Look: image ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I have read and accepted the CLA agreement (only required once). ## Please put your Discord username so you can be contacted if a bug or regression is found: DISCORD_USERNAME totalfailure --- src/client/LangSelector.ts | 2 +- src/client/LanguageModal.ts | 162 ++++++------------------ src/client/components/NewsButton.ts | 2 +- src/client/styles/components/button.css | 27 ++++ src/client/styles/core/variables.css | 7 + 5 files changed, 76 insertions(+), 124 deletions(-) diff --git a/src/client/LangSelector.ts b/src/client/LangSelector.ts index ee534625f..03e141ac7 100644 --- a/src/client/LangSelector.ts +++ b/src/client/LangSelector.ts @@ -292,7 +292,7 @@ export class LangSelector extends LitElement {