Sizes and spacing
FoundationsControl heights, surface padding and radii
Shadows
Soft and blurred, never harsh: indigo-tinted by day, deep by night. Each is a utility that follows the theme.
shadow-panel
Quiet, close elevation for borderless working surfaces and menus
shadow-note
A sticky note at rest (spec 5.3)
shadow-note-hover
A draggable sticky note on hover
shadow-participants
Restrained elevation for floating windows and drawers
shadow-anon-glow
The subtle glow of the anonymous toggle when on (spec 5.2)
Sizes and radii
Inputs and buttons have 12px corners, panels and sticky notes 16px, and badges and anonymous tags are capsules. The kit's sizes live in the component tier of the tokens. Use them through the kit's classes (.btn, .field, .panel) or as var(--control-height). Buttons and fields are the same 44px, so they line up in a row.
| Variable | Value | Actual size | Used for |
|---|---|---|---|
--control-height | 2.75rem | 44px — every input, select and button, so they line up in a row | |
--control-height-sm | 2.25rem | 36px — compact toolbars only (.btn-sm) | |
--control-radius | 0.75rem | 12px — inputs and buttons (spec: rounded-xl) | |
--control-field-padding-x | 0.875rem | ||
--control-button-padding-x | 1rem | ||
--control-button-padding-x-sm | 0.75rem | ||
--control-gap | 0.5rem | Between an icon and the label inside a button | |
--panel-radius | 1rem | ||
--panel-padding | 1.25rem | 20px on phones | |
--panel-padding-md | 1.5rem | 24px from md | |
--panel-radius-note | 1rem | 16px — sticky notes and canvas cards (spec 5.3) | |
--subpanel-radius | 0.75rem | ||
--subpanel-padding | 1rem | ||
--badge-height | 1.5rem | ||
--badge-padding-x | 0.5rem | ||
--badge-radius | 9999px | Capsules (spec: rounded-full) | |
--focus-width | 2px | ||
--focus-offset | 2px | ||
--target-touch | 2.75rem | 44px touch hit area | |
--target-min | 1.5rem | 24px — smallest pointer target anywhere (WCAG 2.2 SC 2.5.8) | |
--motion-duration | 120ms | Micro feedback. Removed under prefers-reduced-motion. | |
--motion-standard | 180ms | ||
--motion-panel | 220ms | ||
--motion-ease | cubic-bezier(0.2, 0, 0, 1) | ||
--motion-distance | 6px | ||
--motion-stagger | 40ms | Gap between one note and the next when the host reveals ideas. Shrinks on a full board so the whole reveal fits in motion.reveal. | |
--motion-reveal | 600ms | The longest a reveal of the whole board takes, last note's fade included, however many notes there are. | |
--motion-travel | 320ms | A note someone else moved to another group, travelling from where it was to where it is now. Longer than standard because it crosses columns. | |
--motion-pulse | 700ms | Time up: the timer pulses once, then stays still in its time-up colours. Never repeats. | |
--motion-instant | 0.01ms | What every animation and transition takes under prefers-reduced-motion: nothing visible moves, yet animationend and transitionend still fire. | |
--video-frame | #0F172A | A video tile, and the space behind a camera that is off | |
--video-on-frame | #CBD5E1 | Camera status text and the muted mic icon on the frame | |
--video-tag-bg | #000000 | Name tag, audio state, listen button and badges over the picture | |
--video-tag-bg-hover | #000000 | The listen button on hover | |
--video-tag-text | #ffffff | Text and icons on tag-bg | |
--video-mic-on | #6EE7B7 | The mic-on icon in a name tag | |
--video-muted | #FDA4AF | The listen button when the person muted this tile for themselves | |
--video-speaking | #48D6AD | Outline of the tile of the person speaking | |
--video-avatar-fallback | #94A3B8 | A participant's circle when they have no colour of their own | |
--video-avatar-text | #0F172A | Initials on a participant's circle | |
--avatar-fallback-bg | #334155 | Behind a profile picture while it loads, in both themes | |
--switch-thumb | #ffffff | The knob of a switch, on and off, in both themes | |
--layout-editor | 20rem | ||
--layout-video | 18rem | Width of the participants' video panel docked beside the room from md (W44); the content area narrows by this much while it is open | |
--layout-form | 42.5rem | ||
--layout-board-column | 18rem | Narrowest a group column on the clustering board gets before the columns wrap to a new row (W26); on a narrower board one column takes the full width | |
--layout-composer-input | 6rem | Text box of the idea composer docked on phones, while it is open; one control height when closed |