LibreChat/client
Marco Beretta bdd2d4ef8d 🔤 feat: Bundle Inconsolata for the ClickHouse Theme (#16376)
* feat: bundle Inconsolata for the ClickHouse theme

The ClickHouse theme names Inconsolata as its mono family, but the app did
not ship the face, so code fell back to the system monospace. Self-host the
latin 400 and 700 woff2 faces from Fontsource 5.3.0 with their OFL licence,
declared with font-display: swap in a stylesheet of theme-opt-in faces. The
browser fetches a declared face only when text renders in it, so the default
theme never downloads them.

* fix: ship the Inconsolata licence with the production build

Production builds disable publicDir, so the woff2 faces reached dist through
the $fonts alias while the OFL text next to them in public/fonts did not. The
build now copies the licence texts from public/fonts into assets/fonts, beside
the faces they cover.

(cherry picked from commit 57da77c60f)

Original-PR: https://github.com/LibreChat-AI/LibreChat/pull/16376
2026-10-01 03:46:17 +00:00
..
public 🔤 feat: Bundle Inconsolata for the ClickHouse Theme (#16376) 2026-10-01 03:46:17 +00:00
src 🔤 feat: Bundle Inconsolata for the ClickHouse Theme (#16376) 2026-10-01 03:46:17 +00:00
sw
test
babel.config.cjs
check_updates.sh
index.html 🗄️ fix: Fall Back to In-Memory Storage When Web Storage Is Denied (#16431) 2026-09-28 12:28:52 +02:00
jest.config.cjs 🧩 feat: MCP Apps support (#13831) 2026-10-01 03:46:16 +00:00
jest.resolver.cjs
nginx.conf
package.json 🧩 feat: MCP Apps support (#13831) 2026-10-01 03:46:16 +00:00
postcss.config.cjs 🌊 refactor: Upgrade the Client to Tailwind v4 (#15996) 2026-10-01 03:46:16 +00:00
tailwind.config.cjs 📐 feat: Radius and Font Scales Follow the Theme (#16340) 2026-10-01 03:46:17 +00:00
tsconfig.json
vite.config.ts 🔤 feat: Bundle Inconsolata for the ClickHouse Theme (#16376) 2026-10-01 03:46:17 +00:00