Style
Spacing and shape
Spacing steps up on a 4px grid, and corners and shadows grow as things get bigger or float higher.
Spacing
--ds-space-44pxThe gap between an icon and its label.--ds-space-88pxThe gap between chips, and inside small controls.--ds-space-1212pxPadding inside a pill and between table rows.--ds-space-1616pxPadding inside a card, and the page's side margin on a phone.--ds-space-2424pxThe gap between parts of an answer.--ds-space-3232pxThe gap between one answer and the next.--ds-space-4848pxSpace above a section heading on these pages.--ds-space-6464pxSpace around the first screen's headline.Corners
- Small, 10pxButtons and inputs
--ds-radius-sm - Medium, 14pxBlocks inside a card
--ds-radius-md - Large, 20pxCards and the question box
--ds-radius-lg - PillPills and chips
--ds-radius-pill
Shadows
- CardAnswer cards, barely lifted
--ds-shadow-card - FloatThe Filter pill
--ds-shadow-float - DockThe question box
--ds-shadow-dock - PopThe Filter panel, highest of all
--ds-shadow-pop