LibreChat/packages/client/src
Daniel Xavier d07527ff93
style(insights): give panels their own surface in dark mode (#15552)
* style(insights): give panels the Click UI chartWidget surface in dark mode

In dark mode the panels drew the shared `surface-primary` (#0d0d0d) against a
page of the same colour, so the cards read as one flat sheet with only a faint
border separating them. Click UI treats a dashboard widget as its own surface,
a step lighter than the page behind it.

Add the `dashboards.chartWidget` surface and stroke as theme tokens and apply
them to the Insights panels under `dark:` only, so light mode keeps the shared
surface/border tokens untouched:

  dark   #282828 surface / #323232 stroke
  light  #ffffff surface / #e6e7e9 stroke  (defined for completeness; unused)

`Panel` is local to InsightsView, so this cannot leak into other pages -- all
six panels (the four KPI tiles, both user tables, the conversation list, and
the loading/error cards) pick it up from the one definition.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* fix(theme): register muted text role

* fix(theme): register chart widget colors

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Ravi Kumar L <ravi.lazar@clickhouse.com>
2026-09-04 18:17:48 +02:00
..
common 🔖 fix: Announce Bookmark Selection State (#11450) 2026-01-21 13:49:50 -05:00
components ✨ feat: add morphing state icons across the client (#14697) 2026-09-04 03:27:14 +02:00
hooks 🪄 feat: Smooth Activity Phase Transitions (#14832) 2026-08-14 11:57:48 -04:00
icons/provider 🖼️ refactor: Consolidate Provider Icons Into a Single Registry (#15148) 2026-08-24 13:00:38 -04:00
locales 🩹 fix: Stop Archived and Shared Chats Dialogs Crashing on Open (#14886) 2026-08-16 06:02:44 +02:00
Providers ⚡ refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
svgs 🖼️ refactor: Consolidate Provider Icons Into a Single Registry (#15148) 2026-08-24 13:00:38 -04:00
test ✨ feat: add morphing state icons across the client (#14697) 2026-09-04 03:27:14 +02:00
theme style(insights): give panels their own surface in dark mode (#15552) 2026-09-04 18:17:48 +02:00
utils 🧩 feat: Collapsible Wake-Up Task Cards and Subagent UI Consistency (#15364) 2026-08-30 13:53:16 -04:00
index.ts 🖼️ refactor: Consolidate Provider Icons Into a Single Registry (#15148) 2026-08-24 13:00:38 -04:00
store.ts ⚡ refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00