Skip to content
Flat Meet

Sizes and spacing

Foundations

Control 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.

VariableValueActual sizeUsed for
--control-height2.75rem44px — every input, select and button, so they line up in a row
--control-height-sm2.25rem36px — compact toolbars only (.btn-sm)
--control-radius0.75rem12px — inputs and buttons (spec: rounded-xl)
--control-field-padding-x0.875rem
--control-button-padding-x1rem
--control-button-padding-x-sm0.75rem
--control-gap0.5remBetween an icon and the label inside a button
--panel-radius1rem
--panel-padding1.25rem20px on phones
--panel-padding-md1.5rem24px from md
--panel-radius-note1rem16px — sticky notes and canvas cards (spec 5.3)
--subpanel-radius0.75rem
--subpanel-padding1rem
--badge-height1.5rem
--badge-padding-x0.5rem
--badge-radius9999pxCapsules (spec: rounded-full)
--focus-width2px
--focus-offset2px
--target-touch2.75rem44px touch hit area
--target-min1.5rem24px — smallest pointer target anywhere (WCAG 2.2 SC 2.5.8)
--motion-duration120msMicro feedback. Removed under prefers-reduced-motion.
--motion-standard180ms
--motion-panel220ms
--motion-easecubic-bezier(0.2, 0, 0, 1)
--motion-distance6px
--motion-stagger40msGap 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-reveal600msThe longest a reveal of the whole board takes, last note's fade included, however many notes there are.
--motion-travel320msA 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-pulse700msTime up: the timer pulses once, then stays still in its time-up colours. Never repeats.
--motion-instant0.01msWhat every animation and transition takes under prefers-reduced-motion: nothing visible moves, yet animationend and transitionend still fire.
--video-frame#0F172AA video tile, and the space behind a camera that is off
--video-on-frame#CBD5E1Camera status text and the muted mic icon on the frame
--video-tag-bg#000000Name tag, audio state, listen button and badges over the picture
--video-tag-bg-hover#000000The listen button on hover
--video-tag-text#ffffffText and icons on tag-bg
--video-mic-on#6EE7B7The mic-on icon in a name tag
--video-muted#FDA4AFThe listen button when the person muted this tile for themselves
--video-speaking#48D6ADOutline of the tile of the person speaking
--video-avatar-fallback#94A3B8A participant's circle when they have no colour of their own
--video-avatar-text#0F172AInitials on a participant's circle
--avatar-fallback-bg#334155Behind a profile picture while it loads, in both themes
--switch-thumb#ffffffThe knob of a switch, on and off, in both themes
--layout-editor20rem
--layout-video18remWidth of the participants' video panel docked beside the room from md (W44); the content area narrows by this much while it is open
--layout-form42.5rem
--layout-board-column18remNarrowest 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-input6remText box of the idea composer docked on phones, while it is open; one control height when closed