mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-21 07:23:11 +00:00
* feat: Give File-Type Tiles Their Own Theme Roles The file chips in the composer, the file table and message attachments drew their tile in one of seven hard-coded hex fills from utils/files.ts and their glyph in raw white, so a theme could recolour neither. Each kind of file now has a file-* fill role and the glyph reads file-ink; every LibreChat theme keeps today's colours, and ClickHouse draws the tiles from Click UI palette steps that keep the white glyph legible. The tile fill travels as a fill utility, the way the trace kinds already pass theirs. * test: Pin the File Tile Roles in the Composer Tray * test: Attach File Tile Captures to the Report * fix: Keep FileIcon's Colour Fill and Take the Role Through fillClassName * fix: Hold High Contrast File Tiles to AA Against Their Glyph * fix: Ink the File Upload Spinner With the Tile Glyph Role
22 lines
509 B
TypeScript
22 lines
509 B
TypeScript
import { JSX } from 'react/jsx-runtime';
|
|
|
|
export default function CodePaths(): JSX.Element {
|
|
return (
|
|
<>
|
|
<path
|
|
d="M21.333 23L26.333 18L21.333 13"
|
|
className="stroke-file-ink"
|
|
strokeWidth="1.66667"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
/>
|
|
<path
|
|
d="M14.667 13L9.66699 18L14.667 23"
|
|
className="stroke-file-ink"
|
|
strokeWidth="1.66667"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
/>
|
|
</>
|
|
);
|
|
}
|