LibreChat/client
Marco Beretta 0b80ea5ebf
🫧 fix: Paint Chat Surfaces From Theme Roles (#16483)
* fix: Paint Chat Surfaces From Theme Roles

The code window header and skill output panel stop repainting their
surface-secondary container with a per-mode fill that matched it in every bundled
theme, the drag-and-drop backdrop becomes the theme scrim, the OpenAI file-source
chip takes the primary surface, and the banner drops a stopless dark gradient.

ActionIcon, RetrievalIcon, WrenchIcon and the message ProgressCircle had no
importers and carried fixed Lottie colours, so they are removed. The media,
artwork and exported-document colours that stay fixed are recorded in the theme
allowlist.

* fix: Keep the Drag-and-Drop Backdrop Black Until Scrim Opacity Is a Role

The theme scrim is gray in default light, so at the same alpha it dimmed the page
less than the black backdrop it replaced. The backdrop keeps its original colour
and the allowlist records the scrim-opacity role it waits on.

* test: Cover the Code Window Header Showing Its Panel Surface

* test: Exercise the Code Window Header Through a File-Authoring Card

The mock code interpreter exposes bash_tool, whose card has its own header; a skill
file created by the model opens the file-authoring card that renders CodeWindowHeader.

* fix: Keep the OpenAI File-Source Chip's Dark Opacity

The chip composites over the file's own preview, where surface-primary at 75% darkened
it against the shipped black at 65%. It keeps its colours and joins the code-execution
badge in the allowlist as a media overlay.
2026-09-29 19:17:33 +02:00
..
public 🔤 fix: Ship the Theme Font Faces With the Package (#16485) 2026-09-29 19:07:44 +02:00
src 🫧 fix: Paint Chat Surfaces From Theme Roles (#16483) 2026-09-29 19:17:33 +02:00
sw
test
babel.config.cjs
check_updates.sh
index.html
jest.config.cjs 🧩 feat: MCP Apps support (#13831) 2026-09-23 21:24:50 -04:00
jest.resolver.cjs
nginx.conf
package.json 🛶 chore: Bring Canary Up to Date With Dev 2026-09-25 14:38:30 +00:00
postcss.config.cjs 🌊 refactor: Upgrade the Client to Tailwind v4 (#15996) 2026-09-23 13:19:32 -04:00
tailwind.config.cjs 📐 feat: Radius and Font Scales Follow the Theme (#16340) 2026-09-25 11:34:29 +02:00
tsconfig.json
vite.config.ts 🔤 fix: Ship the Theme Font Faces With the Package (#16485) 2026-09-29 19:07:44 +02:00