From 39a0c45cf52377da2fcb037db794afc0e4a54533 Mon Sep 17 00:00:00 2001 From: Sebastian Streich Date: Thu, 12 Sep 2024 15:08:30 +0200 Subject: [PATCH] Nit: invert the toggle on darkmode to increase contrast --- src/components/serverlist.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/serverlist.js b/src/components/serverlist.js index 289c2a0..b11b34e 100644 --- a/src/components/serverlist.js +++ b/src/components/serverlist.js @@ -244,6 +244,11 @@ export class ServerList extends LitElement { inline-size: 24px; height: 24px; } + @media (prefers-color-scheme: dark) { + .toggle { + filter: invert(1); + } + } .opened .toggle { transform: rotate(0deg);