All styles Open the board

Tasks design system

Everything the board at tasks.nielskorte.nl is made of: tokens, type, icons, motion and every component, shown with the board's own stylesheet. The stylesheet and icons are copied from the board with scripts/sync-taskboard.sh in the design-system-nielskorte project; run it after a style change on the board.

Graphite, calm and dense. Light and dark are equals; switch above to check both.

Principles

Six ideas that explain most decisions on the board. When something new does not fit one of them, it probably does not belong.

Calm and denseLots of cards on one screen, at 13.5 px body text. Neutral surfaces, thin lines, almost no shadow. Information, not decoration.
Graphite, no colour accentThe accent is near-black in light mode and near-white in dark (Niels chose it over indigo and teal). Colour is kept for meaning: boards, status, danger, success.
Fixed slotsA card always shows the same thing in the same place, like a Jira card, so cards compare at a glance. Empty rows drop out; the bottom row never does.
Order belongs to NielsPosition in a column is priority. The interface never reorders on its own, and agents never move cards to Done.
Quiet motionShort fades and slides (150 to 220 ms). One moment of joy: the graphite sweep when a card reaches Done. Everything respects reduced motion.
Works on a phoneOne breakpoint at 860 px. Below it the sidebar becomes a drawer, columns snap one at a time and every control grows to 34 px.

Colour

All colour comes from CSS custom properties at the top of app.css. Each token has a light and a dark value; the swatch shows the theme you are looking at, the two hex values show both. Never use a raw hex in a component.

Board colours

Niels picks one of these for each board in the board dialog. They show as a small rounded dot (board name, sidebar, card in Everything), never as a fill behind text.

Contrast

Computed from the token values (WCAG 2 ratio). --faint is below 4.5 on purpose: it is for ticket numbers, counts and hints that sit next to stronger text, never for something that has to be read on its own.

Typography

The system font (SF Pro on Apple devices) for everything, and the system mono for ticket numbers, Jira keys, paths and code. Weights between 450 and 680; numbers that line up use font-variant-numeric: tabular-nums. On a phone the body grows to 14.5 px.

SampleUseSize / weight
Book the dentistCard title in the drawer (.d-title)20 / 650, −0.02em
PersonalPage title in the top bar, dialog title16 / 650, −0.015em
Approve the plan for T-38Decision title14.5 / 600
Renew the passport before MarchCard title on the board, body text13.5 / 520 (body 400)
Label of a propertySecondary text, small buttons, field labels12.5 / 400–600
3 comments · due tomorrowCard meta, captions, counts11.5 / 400
ChecklistSection heading (.sect-head h3, .nav-head)11 / 650, +0.06em, caps
T-40Ticket number10.5 mono / 400
~/Projects/taskboardPaths, keys, code (.mono)0.88em mono
Text in notes and summaries

Notes are written in a small Markdown: bold, code, links (underlined, because there is no colour accent to show them).

  • Lists with a hanging indent
  • Tables, for agent summaries
StepResult
BuildPassed
DeployWaiting for Niels
docker restart taskboard

Space, radius, depth

Spacing is tight and follows a loose 2 px grid: 6 px between cards, 8 to 12 px inside them, 20 px around the page. Control heights come in four sizes.

Spacing
Control heights
20 switch
26 small
28 icon, field
30 button, input
34 on a phone
Radius
4code, kbd
6nav, icon button
7button, input
8--r, card
10panel, column
12dialog
14chat bubble
pillpill, chip
Depth
flatdone card, nav
--shadowcard, button, panel
--shadow-lgdialog, drawer, toast, drag

Surfaces stack from back to front: --bg (page) → --panel (sidebar, inset boxes) → --surface (cards, inputs) → --raised (dialogs, tooltips). In dark mode each step is a little lighter instead of casting a shadow.

Layout
Token or ruleValueWhere
--side236pxSidebar width
Column226 – 420px, flexibleBoard columns share the width; on a phone 86vw with scroll snap
Drawermin(640px, 100vw)Card details, slides in from the right
Dialogmin(480px, 100%)Centred, scrim at 36%
Reading width760 – 1120pxSettings 760, decisions and chat 860, dashboard 1120
Breakpoint860pxThe only one. Safe-area insets are respected everywhere.

Icons and glyphs

One hand-drawn set on a 16 × 16 grid: 1.6 px round strokes, no fills, currentColor. Shown at 15 px (12.5 px in card meta). Use icon('name') in app.js; this grid is read from the ICONS table, so new icons show up here by themselves. Click one to copy its name.

Status glyphs

Each column has a 14 px glyph that fills up as work moves right: a dashed ring for Inbox, half full for Doing, a spark for Agents, a dot for Review, a filled check for Done. A plain ring marks a closed agent session in the drawer.

The mark
Tasks App icon A check in a rounded square, in the accent. The app icon (icon.svg, 180 and 512 px PNGs) is the same mark.

Motion

Motion explains where something came from, and stops. With reduced motion turned on, every animation and transition is switched off. Press a demo to play it.

Pulse
AgentRunning

Something is working right now · 1.4 s loop

Done celebration

A graphite sweep from left to right and a check that pops and draws itself; no confetti (Niels' choice). It survives board refreshes by offsetting every animation with the time already passed (--el).

Buttons

One primary button per view at most. Labels are verbs in sentence case; an icon goes before the label, never after.

.btn · .primary · .ghost · .danger · .small · .icon-btn (28 px square) · .seg (language) · .segs (segmented choice)

Inputs and controls

Focus is always visible: the border goes to --accent-line with a 3 px --accent-soft ring. In the drawer, fields look like plain text until you hover them (.field).

Text input, textarea
Search
Folder filter and chips
jiska 4 pon 2 Add
Inline fields (drawer properties)
Status
Due
Jira key
Dropdown menu (every select, mouse and keyboard)

Any <select> opens this menu instead of the browser's list: one delegated listener in app.js (openSelm), nothing to opt in. Touch screens keep the phone's own picker.

Unassigned
Agents
Claude Opus
Claude Sonnet
Disabled option
Switches and checks
Send WhatsApp
Send mail
Choice cards (start dialog)

Super mode can deploy, push to main and send messages.

Day chips, colour swatches

Status and labels

Small, rounded, and only in colour when the colour means something. Blue (--info) means an agent is busy, the accent means it waits on Niels, red means late or failed, green means done.

Pills
AgentWaiting for youAI is writing it up
Assignees and authors
NJ NCS

.av 18 px on cards, .avatar 22 px in comments; agents get the spark on accent-soft.

Dates
2d lateTodayFri 4 DecTomorrow 07:30
Progress, counts, state lights
3/5 3 Runner online Runner offline
Waits on someone (checklist)
for: JiskaNiels
Neutral chips
tasks@nielskorte.nlniels@nielskorte.nl
WhatsApp is linked

Cards

The card is the heart of the board. Its rows are fixed slots so every card reads the same way.

Build a full Tasks design system, hosted at /design-system
2/5
taskboardtaskboard
T-40Today2
Agent
  1. Title, wraps, never cut off.
  2. Progress of the checklist, and a mail chip when the card came in by mail.
  3. Folder and repo (hidden when the board is already filtered on that folder).
  4. Bottom row: ticket number always first, then board (in Everything), due date or planned agent, comments, repeat, Jira key. Agent state and assignee always bottom right. A wide pill takes its own line instead of squeezing the details.
Variants
Ask Jiska about the footer
T-52

Bare: title and number only. Came in by mail.

Pay the quarterly VAT
T-172d late
N

Late and recurring, assigned to Niels.

Fix login redirect on the shop
stephanie-shop
T-315PRJ-615
Waiting for you

Agent asked a question. Folder lives on Drive (cloud).

Daily backup check
T-44Tomorrow 07:30

Planned agent: lives in Agents until it runs.

Open in the drawer
T-40

.open: the card shown in the drawer.

Link WhatsApp to the second number
T-12Yesterday

Done: flat, muted, struck through.

Being dragged
T-9

.drag-src: the place it left. The ghost under the pointer tilts 1.6°.

Enter to add · Esc to close

Quick add at the top of a column.

Board and columns

Five columns, always in this order: Inbox, Doing, Agents, Review, Done. Doing is Niels' own work, Agents is what agents work on (dropping a card there opens the start dialog). Review means "ready for Niels"; only Niels moves a card to Done.

Card drawer

Opens from the right over a 28% scrim. Header with ticket number and actions, then title, properties, notes, checklist, agent and comments, each under an uppercase section head. Every text box that holds unsent text keeps a draft across redraws.

T-40
Build a full Tasks design system
Status
Assignee
Folder

Checklist

2/4
Tokens and type
Components
Check on the phoneReal iPhone, not emulationfor: Niels
Link from SettingsNiels

Agent

AgentWorkingOpus · auto · taskboard

Built the page and the route. Left: check on a real phone.

Comments

C
Claude · 30 Nov 14:02

Design system is live at /design-system.

N
Niels · 30 Nov 14:10

Looks good.

Dialogs and toasts

Dialogs sit on --raised with a 12 px radius and pop in. Actions at the bottom right, primary last; anything destructive or outward-facing gets its own checkbox, not a second dialog.

Start agent

Claude Code works on this card in the project folder.

Card moved to Review
AI added your note as a step to T-42 "Renew passport".

A toast is inverted (text colour as background) and goes after a few seconds. A notice (notice()) stays until it is closed, for things that must not be missed.

Nothing hereMail to tasks@nielskorte.nl lands in the Inbox

Empty column.

Dashboard

Tiles for the big numbers, panels for everything else. Two series colours (--s-created, --s-done), checked for both themes with the dataviz palette validator. Hover a column for its exact numbers.

Open
31
across 3 boards
Completed this week
12
+4 on last week
Overdue
2
oldest 5 days
Agent runs
7
2 waiting for you

Created and completed

last 14 days
CreatedCompleted
8

Per board

Personal14 open · 6 done
Freelance9 open · 4 done
Pon8 open · 2 done

Overdue

T-17Pay the quarterly VAT2d late
T-23Send invoice to Jiska5d late

Settings row

Settings are rows: label and hint on the left, the control on the right.

Agents at the same time
The Mac mini has 16 GB; two is the safe maximum.
Daily digest
Skipped when empty.

Chat and decisions

Niels' messages are accent bubbles on the right, Claude's are surface bubbles on the left. A decision is a panel with a kind icon, the question or plan, and the actions right under it.

New chat · Opus · auto
Start an agent on T-40
14:01

Started Opus on T-40 in taskboard.

14:01
Working…
Question
10 min

There are two repos with a checkout flow. Use shop-v2?

Failed to start

Rules for new work

The things that went wrong before, so they do not go wrong again. Most come from the project notes in CLAUDE.md.

Styling

  • Tokens only. Colours, shadows and fonts come from the custom properties; a new token gets both a light and a dark value, in all three theme blocks.
  • Prefix new class names (cele-, dec-, chat-, ds-). Short names collide: .agent hit the agent badge, .dash hit the celebration. Check app.css first.
  • Links are underlined inside text, because there is no colour accent to mark them.
  • Test in light and dark, and below 860 px.

Behaviour

  • Drafts survive redraws. The drawer and Decisions are rebuilt on every refresh: give each text box with unsent text data: { draft: '<key>' }.
  • Never redraw under a pointer. Replacing the button being pressed swallows the click (pressing()).
  • replaceChildren(null) prints "null": filter children first.
  • Anything that must feel instant cannot wait for a claude -p call (~3.5 s): prepare it ahead.

Shipping

  • Files in server/public are served from disk: edit and reload.
  • Pages load app.css?v= with a version from the newest file time, because Cloudflare caches .js and .css for 4 hours. A new page links its assets the same way.
  • Always check a UI change on tasks.nielskorte.nl too, not only on localhost.

Words

The board speaks English and Dutch (the language switch in the sidebar). Every string lives in the T table in app.js, in both languages.

Do

"Waiting for you" · "Agent is done for now, continues tomorrow 07:30" · "AI added your note as a step to T-42"

Plain, short, sentence case. Say what happened and what Niels can do.

Don't

"Awaiting User Input" · "Operation completed successfully!" · "Oops, something went wrong"

No title case, no exclamation marks, no jargon, no blame.

ConceptEnglishDutchNote
Card idT-40T-40Never reused, also after a delete
Agent waits on NielsWaiting for youWacht op jouAccent pill
AI tidies a cardAI is writing it upAI werkt het uitInfo pill with pulse
Late2d late2d te laatRed, open cards only
ColumnsInbox · Doing · Agents · Review · DoneInbox · Bezig · Agents · Review · KlaarFixed order