comparison hg-web/src/icons/README.md @ 192:b818a4561a3c hg-web

Added AI genreated README.md. Needed to be read.
author MrJuneJune <me@mrjunejune.com>
date Sat, 24 Jan 2026 21:52:14 -0800
parents
children
comparison
equal deleted inserted replaced
191:a06710325c30 192:b818a4561a3c
1 # icons
2
3 Static icon assets for the repository browser UI.
4
5 ## Files
6
7 | File | Description | Source |
8 |------|-------------|--------|
9 | `folder.png` | Directory/folder icon | Flaticon |
10 | `file.svg` | Generic file icon | VSCode Material Icon Theme |
11 | `home.png` | Home navigation icon | Flaticon |
12 | `repo.svg` | Repository icon (git branch style) | Custom |
13 | `close.png` | Modal close button icon | Flaticon |
14
15 ## Usage
16
17 Icons are served as static files at `/icons/` and referenced in `repo-browser.tsx`:
18
19 ```typescript
20 const ICONS = {
21 folder: "/icons/folder.png",
22 file: "/icons/file.svg",
23 home: "/icons/home.png",
24 repo: "/icons/repo.svg",
25 close: "/icons/close.png"
26 };
27 ```
28
29 Add to Bazel filegroup for serving.