From db2575b15e170c79af2ff5435f4bb08f6a55216d Mon Sep 17 00:00:00 2001 From: vumas3r Date: Thu, 15 Oct 2026 16:46:47 -0600 Subject: [PATCH] Dark mode for the browser UI: Auto, Light or Dark Every colour of the page is now a token with a light and a dark value. Auto, the default, follows the system's light or dark setting; Light and Dark override it. The switch is in the landing page's top bar, in the Exam Interface menu and on the results page, and the browser keeps the choice - applied before the page draws, so the other theme never flashes. Native controls and scrollbars follow the theme; the remote desktop keeps its own look. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JZPd3GGWyxTgAkL6a4gAJz --- README.md | 3 + web/index.html | 266 +++++++++++++++++++++++++++++++++---------------- 2 files changed, 182 insertions(+), 87 deletions(-) diff --git a/README.md b/README.md index 9e07567..e1cf689 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,9 @@ the Linux Foundation's exam UI), written anew for this simulator: the remote desktop. The clock starts when you click **Start** in the dialog that opens the session. - **Results page** — points and pass or fail, every task with its checks, the answers, what to drill next, and a way back to the tasks to review them on their hosts. +- **Theme** — Auto (your system's light or dark setting, the default), Light or Dark, from the + landing page's top bar, the *Exam Interface* menu or the results page; the browser remembers it. + The remote desktop keeps its own look. Firefox in the desktop opens only the allowed documentation for the track (`KSIM_OPEN_WEB=1` lifts that). Submitting grades every task on its own host; the hosts stay up for review until the diff --git a/web/index.html b/web/index.html index 7d3a6ba..6a8fdba 100644 --- a/web/index.html +++ b/web/index.html @@ -4,27 +4,88 @@ Kubestronaut exam simulator +