Skip to content

Web: interface icons are one 24-grid drawing scaled to every size, so their lines blur #385

Description

@harenome

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.svg has one drawing, on a 24 grid. .ic shows it at 18 px with stroke-width: 1.8, although style.css defines --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.
  • .ic is 16 px, .ic-lg 24 px and .ic-xl 32 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-label where 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

  1. added
    enhancement
    P3
    on Nov 24, 2026
  2. added theissue type on Nov 24, 2026
  3. added a commit that references this issue on Nov 24, 2026
    35686e0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions