LibreChat/packages
Marco Beretta 2443095fcc
♿ fix: Keep Identity Badge Labels at Text Contrast (#16337)
* fix: keep identity badge labels on a text role and move the series hue to a dot

Action method and principal type badges painted 11-12px labels in a
categorical series slot over its own tint. The series scale is contracted
at the 3:1 mark floor, so that text fell below 4.5:1 in every palette.
The label now uses text-secondary and the hue rides on a decorative
leading dot, and semanticTokens.spec.ts floors both halves of the pairing
on the surfaces these badges sit on.

* test: cover identity badge label contrast across palettes and modes

* refactor: share the identity label treatment as a SeriesLabel primitive

Both badges composed the same neutral label and series dot by hand. The
treatment now lives in @librechat/client so a later contrast or appearance
change lands once. It renders the caller's text, so it joins the text
primitives whose typography belongs to the caller.

The principal scenario also waits for each query's own option before
reading paint, since the picker keeps the previous result on screen while
the debounced search is in flight.
2026-09-25 01:22:42 +02:00
..
api 🫸 fix: Gate MCP App Views and Actions on User Intent (#16297) 2026-09-24 18:00:13 -04:00
client ♿ fix: Keep Identity Badge Labels at Text Contrast (#16337) 2026-09-25 01:22:42 +02:00
data-provider 🫸 fix: Gate MCP App Views and Actions on User Intent (#16297) 2026-09-24 18:00:13 -04:00
data-schemas 🔑 fix: Invalidate the Auth User Cache After a CLI Password Reset (#16257) 2026-09-24 22:16:07 +02:00