mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-18 22:14:27 +00:00
* fix: publish the theme defaults and scale mapping with the package Move the radius, font and shadow utility mapping from the app stylesheet into tokens.css, and the stock values of every theme-owned property (the 94 color roles, the appearance roles and the brand colors, with the primitive scales they are written against) into a new defaults.css that tokens.css imports and the build ships beside it. The app reads both through its existing tokens.css import, so @librechat/client/theme.css now gives a consumer the same utilities and values the app renders. controls.css folds into the defaults, and the preset no longer pins rounded-sm, rounded-md and rounded-lg to --radius. A new mock scenario compiles the app and a consumer from what each loads, checks the build output and exports, and compares computed styles in light and dark; defaults.spec.ts holds defaults.css equal to the runtime themes. * docs: note that hosts load the stock Inter and Roboto Mono faces |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| sw | ||
| test | ||
| babel.config.cjs | ||
| check_updates.sh | ||
| index.html | ||
| jest.config.cjs | ||
| jest.resolver.cjs | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.cjs | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||