Skip to content
KansoMakado design system 1.1
makado.app

Foundations

Sizes and motion

Control heights, icon sizes, borders and focus rings, and how things move.

Sizes

Spectrum t-shirt sizes at the desktop scale. The mobile scale is about 1.25 times larger (component-height-100 becomes 40px).

component-height-5020px

Extra-small controls.

component-height-7524px

Small controls and badges (S).

component-height-10032px

Medium controls (M), the default on desktop.

component-height-20040px

Large controls (L); the default on phones.

component-height-30048px

Extra-large controls (XL); phone primary actions.

icon-size-xs14px

Icons in small badges.

icon-size-s16px

Icons in small controls and meta lines.

icon-size-m20px

Workflow icons at M: buttons, nav, rows.

icon-size-l22px

Icons in large controls.

icon-size-xl26px

Icons in XL controls and the phone tab bar.

border-width-1001px

Table row dividers.

border-width-2002px

Field, outline button and in-line alert borders.

focus-indicator-thickness2px

Focus outline width.

focus-indicator-gap2px

Focus outline offset.

side-nav-width240px

Desktop side navigation (Spectrum's maximum).

side-nav-width-collapsed72px

The side navigation as an icon rail, on narrower desktops.

Motion

Short and calm: things ease in, nothing bounces. Pages rise a few pixels as they fade in, the selected thumb slides between tabs and segments, buttons press in a little, menus and drawers ease in. Everything is skipped under prefers-reduced-motion.

motion-duration-100120ms

Presses, hovers, color and shadow changes.

motion-duration-200160ms

Menus opening, the selected thumb sliding.

motion-duration-300220ms

A page entering, a drawer sliding in.

motion-duration-400320ms

Big moves across the screen: a phone sheet sliding up from the bottom and back down.

motion-ease-outcubic-bezier(0.2, 0.8, 0.2, 1)

Things arriving: pages, menus, drawers.

motion-ease-in-outcubic-bezier(0.4, 0, 0.2, 1)

Things moving from one place to another: the selected thumb.

motion-press-scale0.97

How far a button presses in.

motion-rise6px

How far a page or menu rises as it fades in.