Repository navigation
Done
Feature
Copy link
Labels
Description
Priority
low. The surface only: the icon sprite, the styles that size icons, and one script of the table toolkit.
Components
- app/nullius (backend)
- app/web (routes)
- templates and static files
- docs and the site
- catalogue (benchmarks, agents, capabilities)
- the standard (ports, kits, relay, runs)
- CI, workflows and skills
Today
On main:
- Every symbol of
app/templates/_icons.svghas one drawing, on a 24 grid..icshows it at 18 px withstroke-width: 1.8, althoughstyle.cssdefines--ic-sm: 16px. Each line is scaled by 0.75 and lands between pixels: lines blur, and small details merge. - At 24 px (
--ic-lg, a tile), the same drawing keeps its 1.8 px lines, which fall between pixels too. - A few icons have their own
width/height(12, 14, 15, 16, 17, 18 px) or copy.ic's rules: the Settings search, the search clear button, a retried attempt, the workspace chevron, the tree caret, an agent's logo in the sidebar, the Judges legends, the 24 px tiles of the start page, the custom keys and the builder. - Close, remove, add, pager, move, disclosure and dropdown buttons draw text glyphs (×, ✕, +, ‹ ›, ← →, ▼, ›, ⌄, ✓), whose size and weight follow the font, not the icons.
- The nav toggle draws a double chevron, which does not say that it folds the sidebar.
- Model prices in Settings draws a bare
$, which reads as a text character. - Sort by in the table and card toolkit shows the same up-down arrows whatever the sort.
Wanted
- Three sizes for interface icons: 16 px inline (text, buttons, navigation), 24 px for a tile, 32 px at the largest.
- Each symbol drawn once per size, on its own grid, with straight lines on whole pixels: 1 px lines at 16 and 24, 2 px at 32. The page picks the drawing for the size shown.
- One duotone style: a light fill under the outline, its tone following the theme.
- Icons named after what they draw. The current names stay as aliases, so no page changes for a rename.
- Buttons draw sprite icons, not text glyphs.
- The nav toggle draws the sidebar folding and unfolding. Model prices draws a coin. Sort by shows ascending or descending while a sort is on.
Acceptance
- Every drawn symbol has a 16, a 24 and a 32 drawing, each with its own weight, and its horizontal and vertical lines on whole pixels, checked by
test_icons.py. - Every alias names a drawn symbol of the sprite, checked by
test_icons.py. -
.icis 16 px,.ic-lg24 px and.ic-xl32 px, each showing its own drawing; no icon has a width, height or stroke of its own. - The buttons listed above draw sprite icons, with an
aria-labelwhere the glyph was their only text. - The nav toggle shows the sidebar collapse and expand icons.
- Model prices shows a coin.
- Sort by shows the ascending or the descending icon while a sort is on, and the up-down arrows otherwise, on tables and cards.
Dependencies and related
Builds on the sprite file of #291 and the logo sizes of #303.
Activity
feat(web): draw every icon for the size it is shown at, 16, 24 or 32 …