mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-20 06:51:59 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| deployed | ||
| mock | ||
| real | ||
| a11y.spec.ts | ||
| keys.spec.ts | ||
| landing.spec.ts | ||
| messages.spec.ts | ||
| nav.spec.ts | ||
| popup.spec.ts | ||
| settings.spec.ts | ||