mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-24 04:02:19 +00:00
* Satellite class pills carry their colour and count
Each satellite class chip in the Satellites row now shows the colour its
satellites draw in, its name and how many are loaded, in one pill. The
separate list of coloured counts under the chips is gone. A class that is
off shows only its name, as a plain chip.
The class chips gain two optional fields, `swatch` and `count`, which
RailChips draws; the layer panel shortens the count as it does a row's
(10.7K). A class that is on with nothing loaded yet shows its colour
without a count.
* Satellite class pills use readable body-size text
The class pills' text was the chips' 8px dim mono. It is now the row's
body text: the layer name's 13px size and full-contrast colour, on or off.
The accent border and fill still mark a class that is on, and the swatch
grows to match. Measured in the panel, the pill text is 12.7:1 to 15.3:1
against its background, from about 2.9:1 before.
Each class chip is marked `keyed`, so it keeps that text while off, when it
carries no swatch or count.
* Changelog entry for the satellite class pills
* Revert "Satellite class pills use readable body-size text"
This reverts commit b4ffc49ef8.
* Satellite class pills keep the chips' own type
The class pills keep the chip's font, size, weight, letter-spacing and
colour; the count takes them too instead of a dimmer style of its own, so
several pills fit on a line as before. The changelog entry drops the text
size change.