LibreChat/client
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
..
public 🔤 feat: Bundle Inconsolata for the ClickHouse Theme (#16376) 2026-09-25 22:54:14 +02: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
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 🔤 feat: Bundle Inconsolata for the ClickHouse Theme (#16376) 2026-09-25 22:54:14 +02:00