Expand description
The shapes the components share: focus ring, tick, cross, chevron, magnifier, spinner and catalogued icons. Marks are drawn as paths, never as font glyphs, so they look the same with any font.
Functions§
- chevron
- A chevron of half-width
ratcenter: pointing down atturn0, up atturn1 (the dropdown’s chevron rotates as it opens);rightpoints it right. - cross
- A close cross of half-size
ratcenter. - dash
- The indeterminate dash.
- disclosure
- A chevron pointing right (collapsed) that turns down as
opengoes to 1. - focus_
ring - The 2 px accent focus ring OUTSIDE
rect’s border. - galley
- A text galley on one line, in the colour given when it is painted.
- icon
- The catalogued artwork for
glyphin the squarerect: monochrome artwork takescolor, colour artwork keeps its own. Returns whether there was any. - key_
chip - A key chip (
Ctrl+S) atmin; returns its rect. - lerp_
color atobbyt, per channel, alpha included.- magnifier
- The search field’s magnifier.
- spinner
- The busy spinner: three quarters of a ring that turns, or stands still under reduce-motion. Asks for the next frame while it turns.
- tick
- A check mark filling
rect(a square).