suite design sheet

Every shared piece of the suite, drawn from tokens.css and recipes.css. A pane copies the rules it needs (with node design/embed.mjs) and renames the ui- prefix to its own. Light theme only. Read DESIGN.md for the rules and the pane contract.

Colours

Tokens --sui-*. Primary blue for the header and the one main action; light neutrals everywhere else.

Type, spacing, radii

System font, 15 px body, a 4 px grid, 44 px targets. ui-title 24 · ui-heading 20 · ui-subheading 17 · body 15 · ui-small 13.

Title, 24 px

Heading, 20 px

Sub-heading, 17 px

Body text, 15 px, line height 1.5. Bold is 600; no italics or capitals for emphasis.

Small and muted, 13 px: sublines, captions, dates.

App launcher and menus

ui-popover ui-launcher › ui-caption, ui-launcher-grid › ui-launcher-tile › ui-launcher-badge (ui-alt for tool-index entries). Menus: ui-popover › ui-menu-head, ui-menu › ui-menu-item.

Toolbar and breadcrumbs

ui-toolbar › ui-crumbs (last: aria-current="page"), buttons.

List rows

ui-list › ui-row (selected: aria-selected="true") › ui-row-icon or avatar, ui-row-main › ui-row-title, ui-row-sub; ui-row-meta (hidden under 520 px), ui-row-actions. 56 px tall.

Buttons

ui-btn (secondary: light blue) · ui-btn-primary (one per view) · ui-btn-tertiary · ui-btn-danger · ui-btn-icon (needs aria-label) · ui-btn-wide. Pills, 44 px tall. Group: ui-btns.

Inputs

ui-field › ui-label, ui-input, ui-hint; error: aria-invalid="true"; ui-search wraps an icon and an input; textarea.ui-input.

Switch and chips

ui-switch › input[type=checkbox][role=switch] + text. Chips: ui-chips › ui-chip (a filter: button with aria-pressed), ui-chip-primary, -success, -warning, -error.

Work Done Due soon Overdue

Avatars

ui-avatar (32 px; initials, or an img.ui-avatar of the person's photo) · ui-avatar-lg (64 px) · ui-avatar-xl (96 px, a profile or contact header).

AEBCEAE

Empty state

ui-empty › ui-empty-icon, ui-empty-title, ui-empty-text, one button.

No contacts yet

Add the people you know, and they show up here.

Toast and status line

Toast (after an action, 4 s): ui-toasts › ui-toast, -success, -error (role="status" / "alert"). In place: ui-status, -success, -error; a lasting message: ui-note, -success, -warning, -error. Late dates: ui-late.

Saved to your pod
Shared with Bob Example

Saving…

Saved a moment ago

Only you can see this folder.
Everyone with the link can change this.
Your profile is public. Anyone can find you.

Due yesterday · a late date uses ui-late (--sui-late)

A plain live region (role="status") with no class: no box, thanks to the base reset.

Details sidebar

ui-details (alone; in the shell the column is given) › ui-details-head › ui-details-figure, ui-details-titles › ui-details-title, ui-details-sub; ui-tabs › ui-tab (role="tab", aria-selected); ui-details-body › ui-props. The head leaves room on the right for the shell's close button.

Select, file, checkbox, segmented control

ui-select › select.ui-input · label.ui-btn.ui-file › input[type=file] · ui-checkbox › input.ui-check (ui-check-round for a task tick) · ui-segmented (role="group") › ui-segment (aria-pressed) · in a row: ui-row-check.

Field list

ui-fields › ui-field-row › icon, ui-field-row-label, ui-field-row-value, optional ui-field-row-action. For a contact card or a details panel.

BE

Bob Example

Friends

  • Email · homebob@example.org
  • Phone · mobile+44 20 7946 0001
  • WebIDhttps://bob.example/profile/card#me, a long address that wraps

Cards

ui-cards (a grid, one column under 300 px each) › ui-card › ui-card-head (icon, ui-card-title, an action), body, ui-card-foot. Dashboard widgets; Settings and Profile sections.

Recent files

  • shopping.mdNov 20

Personal info

Board

ui-board (scrolls sideways inside itself) › ui-column (--sui-column-width) › ui-column-head, ui-column-card.

Viewer and reading width

ui-viewer (--sui-surface-dark, -text, -muted; buttons inside turn light) · ui-viewer-muted. Long text: ui-reading (--sui-reading-width, 760 px).

3 of 24 · quince.jpg

A note, a document or a pad is set at the reading width, about seventy characters a line at 15 px, centred in the content column. Wider lines are harder to follow; narrower ones break up every sentence.

The app frame

What the shell draws: header, navigation (left, a drawer under 900 px), content, details (right, over the content under 1100 px). Shown here in miniature.

Boards
  • Plant the tomatoesAlice Example · due FridayDue soon
  • Fix the fenceBob Example