From 0c8e8b10c619a2876123776f8b3acb615ddb3e8f Mon Sep 17 00:00:00 2001 From: Thomas Klepzig Date: Thu, 6 Aug 2026 17:02:49 +0200 Subject: [PATCH] Improve theme toggle --- index.html | 108 ++++++++++++++++++++++++++++++++++------------------- style.css | 12 ++++++ 2 files changed, 82 insertions(+), 38 deletions(-) diff --git a/index.html b/index.html index c32973f..07a9076 100644 --- a/index.html +++ b/index.html @@ -81,41 +81,53 @@

Ada UI

-
+
+ + +
+
+ > + Teal + + > + Blue + + > + Green + + > + Jupiter 2 +
@@ -607,39 +619,59 @@

16px

diff --git a/style.css b/style.css index 1e0349d..314b43c 100644 --- a/style.css +++ b/style.css @@ -197,3 +197,15 @@ body { input { max-width: 20rem; } + +@media (width < 640px) { + #theme-dock-wide { + display: none; + } +} + +@media (width >= 640px) { + #theme-dock-narrow { + display: none; + } +}