LibreChat/packages
Marco Beretta 2d7133fcb1
🌫️ feat: Give the Dialog Scrims Theme-Owned Opacity Roles (#16492)
* feat: Give the Dialog Scrims Theme-Owned Opacity Roles

The three dialog families carried their scrim alpha in each utility
(bg-surface-overlay/80, /90, /65), so a theme could recolor a scrim but
not set how much it dims. Add scrimOpacity, alertScrimOpacity and
modalScrimOpacity, exposed as bg-scrim, bg-scrim-alert and
bg-scrim-modal in the published tokens, defaulting to the 80%, 90% and
65% each family drew.

ClickHouse takes Click UI's 0.75 from dialog.color.opaqueBackground,
cited in the drift guard. A bundled scrim never lifts the page and, on
a light canvas, separates the dialog by 3:1, which is why ClickHouse
dark keeps a black overlay rather than Click UI's lighter gray.

* test: Read the Dialog Scrim Through Its Role Class in the Morph and Settings Scenarios

Both scenarios pinned the old bg-surface-overlay/80 literal: the morph
counted elements carrying it and Settings compared its scrim with a
probe of it, whose color-mix value serializes differently from the
role's rgb(). They now use bg-scrim, the class DIALOG_SCRIM_CLASS
exports.
2026-09-29 16:13:14 +02:00
..
api 🎨 fix: Fall Back From an Invalid Theme in librechat.yaml Instead of Exiting (#16462) 2026-09-29 00:02:46 +02:00
client 🌫️ feat: Give the Dialog Scrims Theme-Owned Opacity Roles (#16492) 2026-09-29 16:13:14 +02:00
data-provider 🌫️ feat: Give the Dialog Scrims Theme-Owned Opacity Roles (#16492) 2026-09-29 16:13:14 +02:00
data-schemas 🧯 fix: Outlast Failed Auth Cache Eviction on Credential Changes (#16435) 2026-09-28 21:21:53 +02:00