From 9567ca7677aae08418b6f7330b22f39e7da9ed20 Mon Sep 17 00:00:00 2001 From: hivecommons-hive <280983584+hivecommons-hive@users.noreply.github.com> Date: Mon, 23 Nov 2026 06:39:03 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20docs:=20resync=20the=20docs/cont?= =?UTF-8?q?ent=20mirrors=20from=20upstream?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- docs/content/hive/dashboard.md | 13 ++++++++++++- docs/content/hive/settings.md | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/content/hive/dashboard.md b/docs/content/hive/dashboard.md index 6486d1f..fa3f24f 100644 --- a/docs/content/hive/dashboard.md +++ b/docs/content/hive/dashboard.md @@ -907,6 +907,8 @@ dashboard: theme_overrides: tokens: "--accent": "#e0a33a" + light_tokens: # applied in light mode only + "--surface-0": "#fdfaf3" background: image: https://example.org/bg.svg # https or data: URI only opacity: 0.08 @@ -922,13 +924,22 @@ only permits `https:` or bounded `data:` URLs; inlined backgrounds are capped at 256 KiB. `/api/theme.css` serves the effective theme with an ETag and is linked from the document head so the themed stylesheet is available before first paint. +A dark preset (and `custom`) without its own `light_tokens` derives its +light-mode surfaces, lines, text, scrim and shadows rather than reusing its +dark values, so a `tokens` override of one of those changes dark mode only, +while light mode is the dashboard's default view. `light_tokens` takes the same +allowlisted tokens and applies them in light mode only, after `tokens`: on top +of the preset's own `light_tokens` when it has them, otherwise on top of the +derived palette, so tokens you do not list keep their light-mode values. + ### Settings → Appearance The **Appearance** tab in Settings renders the built-in preset gallery with swatches for background, panel, accent, and text colors. Hovering a card previews it, **Apply** persists the preset, **Reset to preset** removes overrides, and **Apply background/CSS** saves the background URL, opacity, honeycomb watermark, -and custom CSS textarea (with byte counter). The existing dark/light button asks +fonts, the CSS token and light-mode token overrides, and the custom CSS textarea +(with byte counter). The existing dark/light button asks the theme API for the closest light or dark built-in variant and refreshes `/api/theme.css` without reloading the dashboard. diff --git a/docs/content/hive/settings.md b/docs/content/hive/settings.md index 621346c..e4a43e4 100644 --- a/docs/content/hive/settings.md +++ b/docs/content/hive/settings.md @@ -132,7 +132,7 @@ The OpenAI-compatible gateways (LiteLLM, OpenRouter, vLLM, and others) agents se ## Appearance -The dashboard's look, stored under `dashboard.theme_overrides`: a background image (URL, opacity, position, size, attachment), the UI and monospace fonts, CSS token overrides and custom CSS. See [Appearance themes](/docs/hive/dashboard/dashboard-page-reference#appearance-themes). +The dashboard's look, stored under `dashboard.theme_overrides`: a background image (URL, opacity, position, size, attachment), the UI and monospace fonts, CSS token overrides, light-mode token overrides and custom CSS. See [Appearance themes](/docs/hive/dashboard/dashboard-page-reference#appearance-themes). ## Agents