Layout and shape
Layout and spacing
Section titled “Layout and spacing”- Spacing follows a 4px base:
space-1tospace-24. Card paddingspace-6; heading block to contentspace-8; sectionsspace-16on desktop andspace-12on phones. - Content width is capped at
container-max(1160px) with aspace-5gutter (space-4on phones). Left-align text; center only short calls to action. - Alternate dark and light sections to separate topics instead of drawing boxes around them.
The Section and Container components apply these rules. See the values on the Tokens page.
Shape and depth
Section titled “Shape and depth”- Radii:
radius-smfor tags,radius-mdfor buttons, inputs and notices,radius-lgfor cards and panels,radius-fullfor the chat launcher. - Separate with
borderhairlines, not shadows. The only shadow isshadow-float, for the chat launcher and panel. - Focus is a 2px solid
focusring with a 2px offset on every interactive element.