WS COMMANDER DESIGN SYSTEM wscommander.com
GitHub repository: v1.0.8 · MIT

WS COMMANDER · SYSTEM DESIGN KIT v1.0.8

Precision dual-pane craft. Built in Obsidian & Glass.

The tokens, type, glass and motion behind WS Commander — the native macOS dual-pane file manager. Every colour pair is measured against WCAG 2.2 AA, every control clears a 44 px target, and every animation stops the moment you ask.

WS Commander app icon in the default brushed metal finish
Themes
2 · Obsidian / Alabaster
Colour tokens
18 per theme
Base unit
4 px · 1280 px grid
Motion
120 · 220 · 380 ms
Conformance
WCAG 2.2 AA

01 / FOUNDATIONS

Four pixels.
Everything aligns.

A 4 px base unit, a 1280 px container and four radii. Hairlines separate; glass layers stack; focus is never subtle.

Spacing scale · 4 px base

Rhythm tokens

  • --space-1 4px
  • --space-2 8px
  • --space-3 12px
  • --space-4 16px
  • --space-6 24px
  • --space-8 32px
  • --space-12 48px
  • --space-16 64px
  • --space-24 96px

Layout · --container

1280 px · 12 columns

Container
--container: 1280px
Gutter
--gutter: 32px · 16px under 720px
Section rhythm
--space-24 top · hairline divider
Hit target
--target-min: 44px

Radii

From hairline badge to window

  • 3px Hairline badge --radius-badge
  • 8px Control --radius-control
  • 12px Card --radius-card
  • 16px macOS window --radius-window

Chrome layers

Glass over surfaces over canvas

Each layer carries a 1 px --border-subtle hairline and a 1 px top specular highlight. Controls use --border-ui for 3:1 non-text contrast.

Focus · SC 2.4.7 / 2.4.11

A focus ring you can find from across the room

Every interactive element shows a 3 px --focus-ring outline offset by 3 px on :focus-visible. Sticky chrome never hides the focused element: sections reserve scroll-padding-top.

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

02 / COLOR SYSTEM & WCAG 2.2 AA CONTRAST

Two themes.
One measured palette.

Obsidian Instrument is the default; Brushed Alabaster echoes the WS Agency paper tone. Select any swatch to copy its hex value or its custom property.

Obsidian Instrument

Default · data-theme="dark"

  • Page canvas
  • Cards, panes
  • Raised rows, inputs
  • Glass chrome
  • Hairline dividers
  • Control borders
  • Primary text
  • Secondary text
  • Muted text
  • Cursor, graphics
  • Amber text
  • Links, info
  • Focus outline
  • Primary CTA fill
  • Primary CTA text
  • Success
  • Warning
  • Danger

Brushed Alabaster

data-theme="light"

  • Page canvas
  • Cards, panes
  • Raised rows, inputs
  • Glass chrome
  • Hairline dividers
  • Control borders
  • Primary text
  • Secondary text
  • Muted text
  • Cursor, graphics
  • Amber text
  • Links, info
  • Focus outline
  • Primary CTA fill
  • Primary CTA text
  • Success
  • Warning
  • Danger

WS Agency brand harmony

  • Original Amber

    WS Agency Original identity. The root of every warm accent.

  • Blue Cobalt

    WS Agency Blue. Bridged into the UI as --accent-cobalt for legible links.

  • WS Commander Cursor

    The active-row cursor. A brighter amber tuned for Obsidian glass.

Contrast ratio matrix

Ratios are computed at build time from the token hex values with the WCAG 2.x relative-luminance formula and truncated (never rounded up). Text pairs need 4.5:1 for AA (SC 1.4.3) and 7:1 for AAA; non-text UI needs 3:1 (SC 1.4.11). Primary CTA: 19.9:1 AAA dark, 17.6:1 AAA light.

Contrast ratios of each foreground token against canvas and surface-1, in both themes
Token Role Obsidian · canvasObsidian · surface-1Alabaster · canvasAlabaster · surface-1
--fg-primary Body & headings 18.2:1 AAA 17.1:1 AAA 16.0:1 AAA 17.6:1 AAA
--fg-secondary Supporting copy 10.3:1 AAA 9.7:1 AAA 8.5:1 AAA 9.4:1 AAA
--fg-muted Labels, captions 7.2:1 AAA 6.8:1 AA 6.0:1 AA 6.6:1 AA
--accent-amber-text Amber text 11.3:1 AAA 10.6:1 AAA 6.1:1 AA 6.7:1 AA
--accent-cobalt Links, info 7.3:1 AAA 6.9:1 AA 6.0:1 AA 6.7:1 AA
--success Success text 11.5:1 AAA 10.8:1 AAA 5.9:1 AA 6.5:1 AA
--danger Danger text 7.6:1 AAA 7.2:1 AAA 5.3:1 AA 5.9:1 AA
--accent-amber Cursor, graphics 9.8:1 UI 3:1 9.2:1 UI 3:1 4.2:1 UI 3:1 4.6:1 UI 3:1
--border-ui Control borders 3.8:1 UI 3:1 3.6:1 UI 3:1 4.5:1 UI 3:1 4.9:1 UI 3:1
--focus-ring Focus outline 9.0:1 UI 3:1 8.5:1 UI 3:1 6.0:1 UI 3:1 6.7:1 UI 3:1

Every text token clears 4.5:1 AA and every UI boundary token clears 3.0:1 across --bg-canvas, --bg-surface-1, and --bg-surface-2 in both Obsidian and Alabaster.

03 / TYPOGRAPHY

Three families.
Zero jitter.

Manrope sets the voice, Inter carries the interface, and JetBrains Mono keeps every counter, path and shortcut on a fixed grid.

--font-display · Manrope 800 · -0.045em

Manrope Display

Two panes.
One cursor.

Aa Bb Cc · 0123456789 · ČĆŽŠĐ čćžšđ

--font-sans · Inter 400–700

Inter UI

Copy, move and compare across local disks, archives and SMB shares. Operations run in a background queue, so the panes stay responsive while gigabytes move.

Inter table text sample
NameSizeKind
Masters—Folder
render-final.mov4.2 GBMovie
notes.md12 KBMarkdown

--font-mono · JetBrains Mono · tabular-nums

JetBrains Mono

font-variant-numeric: tabular-nums

75% · 2,401 MB/s

317 ms

⌘⇧O

Proportional Inter (jitters)

75% · 2,401 MB/s

317 ms

⌘⇧O

Values tick while motion is running. Pause motion and they hold still.

Typographic scale

Type scale tokens with size, line height, weight, tracking and family
Token Size / line Weight Tracking Family Sample
--text-display-1 72px / 1.0 800 -0.045em Manrope Dual-pane
--text-display-2 48px / 1.05 750 -0.04em Manrope Obsidian glass
--text-title 32px / 1.15 700 -0.03em Manrope Operations queue
--text-heading 22px / 1.25 650 -0.02em Manrope Command palette
--text-body-lg 18px / 1.6 400 0 Inter Copy, move and compare.
--text-body 15px / 1.6 400 0 Inter Files stay where you put them.
--text-small 13px / 1.5 500 0 Inter 2,401 items · 18.4 GB free
--text-label 12px / 1.4 500 0.08em JetBrains Mono OPERATIONS · F5

04 / GLASS & MOTION SYSTEM

Translucent chrome.
Motion that yields.

Glass is reserved for chrome that floats above content. Motion is short, decelerating, and pauses instantly with the Motion toggle or prefers-reduced-motion.

Live material

macOS window layer

background: var(--bg-glass);
backdrop-filter: blur(18px) saturate(180%);
border: 1px solid var(--border-subtle);
box-shadow: inset 0 1px 0 var(--specular);

Easing · --ease-precision

cubic-bezier(0.16, 1, 0.3, 1)

Easing curve: fast start, long precise deceleration, compared with linear

Fast out, long settle. Feels instant, lands without bounce.

Duration tokens

120 · 220 · 380 ms

  • --dur-fast120ms · hover, press
  • --dur-base220ms · panels, tabs
  • --dur-slow380ms · sheets, windows

Paused or reduced motion collapses all three to 0ms.

Live signal

Transfer in flight

Motion status: running

05 / APP ICONS & FINISHES

Five finishes.
One silhouette.

Brushed Metal ships by default; four glass finishes are selectable in Settings. Choose a finish on either Dock to inspect it on both pedestals.

Light Dock · Alabaster wallpaper

Dark Dock · Obsidian wallpaper

Brushed Metal icon on a light background
Brushed Metal icon on a dark background

Default

Brushed Metal

The shipping Dock icon. Machined aluminium with an amber cursor.

Master
512 × 512 PNG

06 / INTERACTIVE COMPONENTS

Real controls.
Real tokens.

Every specimen below is built only from tokens.css and is fully keyboard operable. Try Tab, arrow keys and Space.

Keycaps · <kbd>

Shortcuts

  • ⌘KCommand palette
  • ⌥⌘BBookmarks bar
  • SpaceMark & size
  • F5Copy
  • F6Move

Dual-pane file rows · amber cursor · Location pill

File panes

Focus a pane and use ↑ ↓ Home End to move the cursor; Tab switches panes.

~/Movies Macintosh HD
  • ..
  • Movies — 02.12.2026 21:40
  • Series — 28.11.2026 09:12
  • render-final.mov 4.21 GB 01.12.2026 18:03
  • trailer-4k.mp4 812 MB 30.11.2026 22:51

4 items · 1 cursor

/Volumes/Media AppleTV · nas920 SMB
  • ..
  • Archive — 14.10.2026 11:20
  • backup-2026.zip 18.4 GB 01.12.2026 03:00
  • README.md 4 KB 22.11.2026 16:44

3 items · 1 cursor

Operations queue · toolbar transfer pill

Background transfers

75% · 19,9 MB/s

Copying render-final.mov → AppleTV · nas920 SMB

3.16 GB of 4.21 GB · about 53 s left

Command palette · ⌘⇧P

Search commands

  • Copy to Other Pane F5
  • Move to Other Pane F6
  • Compare Directories ⌥⌘C
  • Toggle Bookmarks Bar ⌥⌘B
  • Open Terminal Here ⌥⌘T
  • Show Operations Queue ⌘⇧O

6 commands

Tabs · role="tablist"

Component docs

One primary action per surface. Pair it with a secondary or ghost button; never two primaries side by side.

← → Home End move between tabs.

Status & alert banners

Feedback

07 / BRANDING, CREDITS & WS AGENCY ATTRIBUTION

Made by people.
Credited with care.

WS Commander is an open-source project by WS Agency. The attribution badge follows the accessible pattern from the upstream WS Agency brand kit.

Developer · design system

Kristijan Lukačin

Designed and built WS Commander and this design system: tokens, glass, motion and the native macOS app.

@klukacin on GitHub

Studio · publisher

WS Agency

Digital product studio. The amber and cobalt in this system trace back to the WS Agency Original and Blue identities.

“Made with love by WS Agency” badge

Badge HTML · automatic theme

<a class="wsa-brand wsa-credit" data-identity="original" data-appearance="auto" href="https://ws.agency/" aria-label="Made with love by WS Agency"><span>Made with <span class="sr-only">love</span></span><span class="wsa-credit-symbols"><svg class="wsa-heart" width="20.48" height="20" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0.67 0.17 22.66 22.13" fill="none" stroke="currentColor" stroke-width="2.6" stroke-linejoin="round" stroke-linecap="round"><path d="M12 21C10 19 2 13 2 7a5 5 0 0 1 10-1 5 5 0 0 1 10 1c0 6-8 12-10 14Z"/></svg><span>by</span><img class="wsa-on-light" src="/brand/sign-color.svg" alt=""><img class="wsa-on-dark" src="/brand/sign-white.svg" alt=""></span><span class="wsa-credit-name">WS Agency</span></a>

Badge CSS · uses tokens.css

.wsa-credit { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 44px; padding: 8px 12px; color: var(--fg-primary); background: var(--bg-surface-1); border-radius: var(--radius-control); font: 500 14px/1.5 var(--font-sans); text-decoration: none; }
.wsa-credit:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.wsa-credit:hover .wsa-credit-name { text-decoration: underline; text-underline-offset: 4px; }
.wsa-credit-symbols { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.wsa-credit img { width: auto; height: 20px; object-fit: contain; flex: none; }
.wsa-credit .wsa-heart { width: 20.48px; height: 20px; color: var(--accent-amber); flex: none; }
.wsa-credit .wsa-on-dark { display: none; }
.wsa-credit[data-appearance="dark"] .wsa-on-dark { display: inline; }
.wsa-credit[data-appearance="dark"] .wsa-on-light { display: none; }
@media (prefers-color-scheme: dark) {
  .wsa-credit[data-appearance="auto"] .wsa-on-dark { display: inline; }
  .wsa-credit[data-appearance="auto"] .wsa-on-light { display: none; }
}
.wsa-credit .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

WS Agency marks

08 / WCAG 2.2 AA CONFORMANCE & QUICK INTEGRATION

Accessible by default.
Linkable in one line.

The checklist this site is built and reviewed against, followed by everything you need to use the tokens in your own project.

Principle

Perceivable

  • SC 1.1.1 Non-text Content A

    Meaningful images carry alt text; decorative images inside labelled links use alt="".

  • SC 1.3.1 Info and Relationships A

    Tables use caption and scoped headers; specimens use listbox, tablist and progressbar roles.

  • SC 1.4.3 Contrast (Minimum) AA

    All text tokens clear 4.5:1 on canvas and surface-1 in both themes; most reach 7:1 AAA.

  • SC 1.4.10 Reflow AA

    Single-column at 320 px; wide tables scroll inside focusable regions, never the page.

  • SC 1.4.11 Non-text Contrast AA

    --border-ui, --focus-ring and --accent-amber clear 3:1 against their surfaces.

  • SC 1.4.12 Text Spacing AA

    No fixed-height text containers; spacing overrides reflow without clipping.

Principle

Operable

  • SC 2.1.1 Keyboard A

    Every control is a native button, link or input, or implements the APG keyboard pattern.

  • SC 2.2.2 Pause, Stop, Hide A

    The Motion toggle freezes every looping animation and ticking counter.

  • SC 2.3.3 Animation from Interactions AAA

    prefers-reduced-motion: reduce starts the site paused and zeroes duration tokens.

  • SC 2.4.1 Bypass Blocks A

    Skip link to main content is the first focusable element.

  • SC 2.4.7 Focus Visible AA

    3 px --focus-ring outline at 3 px offset on :focus-visible.

  • SC 2.4.11 Focus Not Obscured (Minimum) AA

    scroll-padding-top reserves room for the sticky glass topbar.

  • SC 2.5.8 Target Size (Minimum) AA

    Nav, toggles and controls are at least 44 × 44 px — well above the 24 px minimum.

Principle

Understandable

  • SC 3.1.1 Language of Page A

    html lang="en".

  • SC 3.2.1 On Focus A

    Focus never triggers navigation, theme or layout changes.

  • SC 3.3.2 Labels or Instructions A

    Inputs have visible or programmatic labels; keyboard hints sit beside each widget.

Principle

Robust

  • SC 4.1.2 Name, Role, Value A

    Landmarks (header, nav, main, footer), aria-pressed toggles, aria-selected tabs and options.

  • SC 4.1.3 Status Messages AA

    A polite live region announces copy confirmations and queue actions.

Quick integration

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Manrope:wght@500;600;700;800&display=swap">
<link rel="stylesheet" href="https://design.wscommander.com/tokens.css">

2 · Set theme & motion

<html lang="en" class="wsc-brand" data-theme="dark" data-motion="running">
  <!-- Panels inherit every token; scope a light preview anywhere: -->
  <section class="wsc-brand wsc-glass" data-theme="light">…</section>
</html>

3 · Build with tokens

.wsc-row[aria-selected="true"] {
  background: var(--bg-surface-2);
  box-shadow: inset 3px 0 0 var(--accent-amber);
  transition: background var(--dur-fast) var(--ease-precision);
}
.wsc-pill { font: 500 var(--text-small)/1 var(--font-mono); font-variant-numeric: tabular-nums; }

Prefer the whole file?

One stylesheet, no build step, MIT licensed.

Download tokens.css