Repository navigation
#93 Add light theme support to docs site - #146
Conversation
Signed-off-by: Chloe Crozier <chloecrozier@gmail.com>
|
| Filename | Overview |
|---|---|
| docs/index.html | Adds OS-preference IIFE, per-theme CSS token blocks, and a theme-toggle button; __palette persistence correctly mirrors the updated mkdocs.yml palette indices (0=light/default, 1=dark/slate). |
| docs/stylesheets/extra.css | Adds [data-md-color-scheme="default"] token blocks, typography, link, code, table, nav, button, admonition, and tab-dropdown overrides mirroring the existing slate section; no slate rules were removed. |
| mkdocs.yml | Palette order swapped to light-first with media queries; icons and toggle names updated to match; index 0=default (light), 1=slate (dark) matches PALETTE_ENTRIES in index.html. |
Reviews (2): Last reviewed commit: "#93 - Fix theme toggle aria-label on lig..." | Re-trigger Greptile
Signed-off-by: Chloe Crozier <chloecrozier@gmail.com>
* #145 - Auto-build landing page from MkDocs snippets Replace hand-maintained index.html with snippet-driven index.md, Material home template, and shared design tokens. Clean replay of PR #147 on top of current main after PR #146 landed the light-theme work separately. Signed-off-by: Chloe Crozier <chloecrozier@gmail.com> * #145 - Address landing page review follow-ups Preserve the merged landing copy updates, make the header respond to light and dark themes, keep the logo and header title styling consistent, and use the full DAQIRI title in the generated docs header. Signed-off-by: dleshchev <dleshchev@nvidia.com> --------- Signed-off-by: Chloe Crozier <chloecrozier@gmail.com> Signed-off-by: dleshchev <dleshchev@nvidia.com> Co-authored-by: Chloe Crozier <40836363+chloecrozier@users.noreply.github.com>
Closes #93
Summary
There was already a light mode option since this issue was originally made, but updating it with a small bug fix noticed by greptile.
prefers-color-scheme; manual toggle persists via Material__paletteshared with the landing pageextra.cssfor thedefaultscheme; landing page uses matching tokens and navbar toggleTest plan
mkdocs build --strict