LibreChat/packages/data-provider
Marco Beretta 364bf27210
🖌️ fix: Apply Controlled Themes Before Paint and Theme Prose Links, Inline Code and QR Backdrops (#16480)
* fix: Apply controlled themes before paint and give prose links, inline code and QR backdrops theme roles

ThemeProvider folds a controlled theme prop change into state during the
render that delivers it and applies the theme in a layout effect, so a
deployment theme, a shared link's theme and the viewer's own theme reach
the root before the commit paints. Storage writes stay after the commit.

Adds rgb-link-prose (link in light, primary text in dark, following a
theme's own link) and registers rgb-surface-qr, and paints inline prose
code with the surface-active-alt and surface-hover-alt roles.

* test: Record the frames a controlled theme paints and the prose and QR roles
2026-09-29 16:50:00 +02:00
..
react-query 📦 chore: bump axios to v1.20.0, @librechat/agents to v3.7.4 (#15285) 2026-08-27 08:56:29 -04:00
specs 🛶 chore: Include Latest Canary Features in Sync 2026-09-28 01:31:41 +00:00
src 🖌️ fix: Apply Controlled Themes Before Paint and Theme Prose Links, Inline Code and QR Backdrops (#16480) 2026-09-29 16:50:00 +02:00
.gitignore
babel.config.js
check_updates.sh
jest.config.js 🧵 ci: Keep a Floor of Two Jest Workers in CI (#15819) 2026-09-14 00:32:20 -04:00
package.json 🚚 chore: Point Repository and Image References at LibreChat-AI (#16005) 2026-09-23 23:08:36 -04:00
server-rollup.config.js
tsconfig.build.json
tsconfig.json
tsconfig.spec.json
tsdown.config.mjs