space
a 4 px base, square corners and 1 px edges. layers lift under one light from the upper left, and in light their contact edge prints as a screen.
scale
every gap, padding and size is a step on the 4 px base.
4812162432486496
rows
three row heights, each with a 1 px rule under it.
- boarda board's rows
56 px - tablea table's rows
48 px - nava nav item
32 px
breakpoints
four widths where the layout changes, each a max-width.
| width | what changes |
|---|---|
1279 px | the masthead and the aside tighten |
1099 px | the aside drops below the page |
900 px | the nav moves into the top bar and mode pairs stack |
600 px | the phone type sizes and plates take over |
shape
no radius anywhere: every corner is square and every edge is 1 px. a control shows focus as a 2 px ring in plum, 2 px outside it. a field thickens its own edge to 2 px inside, so focus never draws a second frame.
elevation
one light from the upper left, so shadows fall right and down and grow with the lift. in light, on stock, a layer's contact edge prints as a 50 percent screen, 3px right and 2px below. in dark the shadow is black and heavier, the contact stays soft, and a 1 px raised edge draws the layer's frame.
- slip
6px 4px 6px -2pxcontact screened - leaf
12px 8px 14px -4pxcontact screened - sheet
27px 18px 26px -6pxcontact screened - lifted
39px 26px 36px -8pxcontact screened
- slip
6px 4px 6px -2pxsoft contact - leaf
12px 8px 14px -4pxsoft contact - sheet
27px 18px 26px -6pxsoft contact - lifted
39px 26px 36px -8pxsoft contact
- slip
6px 4px 6px -2pxsoft contact - leaf
12px 8px 14px -4pxsoft contact - sheet
27px 18px 26px -6pxsoft contact - lifted
39px 26px 36px -8pxsoft contact
- slip
6px 4px 6px -2pxsoft contact - leaf
12px 8px 14px -4pxsoft contact - sheet
27px 18px 26px -6pxsoft contact - lifted
39px 26px 36px -8pxsoft contact