Optical balance · SU-137 · SU-30
A highlight that sits behind its label
Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.
-
Chip padding
12px left · 28px right
-
Chip padding
16px · 16px
Yesterday
Today
Tomorrow
Filter: today
Yesterday
Today
Tomorrow
Filter: today
-
Highlight
6px right of its label
-
Highlight
the item’s own box
The bug behind SU-137: run the real audit.js on the skill’s copy of it, in the version on show.
What changes
- Bad
- The highlight sits
6pxright of “Today” (12pxvs24px) and the chip pads12px/28px. - Good
- The highlight takes the selected day’s own box, and the chip pads
16pxon both sides.
The rules
-
SU-137
Centered content (labels in pills, highlights behind labels). Content meant to be centered in a control is centered to within about 2px. A separately drawn selection highlight (a segmented-control or tab pill) is centered on the item it marks.
-
SU-30
Button padding with an icon.
14pxon the icon side,18pxon the text side. Not:18px/18pxwith a leading icon: the content looks shifted right.