Three control heights a theme can scale, and corners from Tailwind's scale.
Controls are 28px tall, with 24px and 32px sizes, from tokens a theme can scale. List rows are 40px.
controls.tsx
24px28px32px40px
Sky
Subject
Tokens
--spacing-control-sm, --spacing-control, and --spacing-control-lg are the three heights; only controls take them, so a theme scales them alone. A component reads them as h-(--spacing-control), so a className such as h-8 replaces the height.
--spacing-control- The height of controls, 28px, with --spacing-control-sm at 24px and --spacing-control-lg at 32px. Only controls take them, so a theme scales them alone.
--spacing-thumb- A slider's thumb, which its fill is placed by too.
--font-weight-selected- The weight of a selected tab. A tab is as wide either way.
Corners
Corners take Tailwind's scale: rounded-md for controls, rounded-lg for lists, and rounded-xl for cards and popups. Nested corners are concentric: the outer radius less the inset.
<Button size="sm">Crop</Button>