Design system

Startodel design system · Concept “Signal”

Knowledge is a board. Bring it online.

A Track is drawn like a circuit: Topics are parts, prerequisites are traces. What you have learned carries signal and turns copper. What you have not is still tin. The interface is the instrument you read that board with.

01

Concept

Four rules decide most questions. The full rationale lives in docs/design/CONCEPT.md.

  1. 01

    Signal over decoration

    Copper appears only where something is live: a primary action, progress, a completed Topic. A screen with no copper has nothing waiting for you.

  2. 02

    Three voices

    Mono speaks for the system. Sans runs the controls. A serif carries everything you read or write.

  3. 03

    Shape before colour

    Mastery is a bar count. A Verdict is a pad that is full, half or hollow. Colour repeats what the shape already says.

  4. 04

    Cut, not moulded

    Hairlines, tight corners and hard edges. Nothing glows, blurs or floats without a reason.

02

Brand

The mark is a trace in the shape of an S. It leaves a filled pad, the start, and arrives at an open via, the next thing to learn. The wordmark is set in Martian Mono, condensed.

03

Colour

Metals on a board. Each swatch shows the light value on the left and the dark value on the right. Both come from one light-dark() declaration.

Board

The layers a screen is built from, back to front.

--s-bg

Page ground

#f3f0e8 · #0b100f

--s-surface

Cards and bars

#faf8f2 · #121816

--s-raised

Controls and overlays

#ffffff · #19201e

--s-sunken

Wells and read-only fields

#e9e5da · #070a09

--s-line

Hairlines

#d9d4c7 · #252e2b

--s-line-strong

Control outlines

#827d6e · #66726d

--s-grid

Dots of the board grid

#cdc7b8 · #26302d

--s-shadow-edge

The hard edge of shadow 1 and 2

#d9d4c7 · #070a09

--s-scrim

Behind an open dialog

rgb(20 27 25 / 0.45) · rgb(0 0 0 / 0.65)

Ink

Three steps of text. All pass WCAG AA on every board layer.

--s-ink

Primary text

#141b19 · #e8ebe5

--s-ink-2

Secondary text

#414b47 · #b7c0ba

--s-ink-3

Labels and metadata

#5e6762 · #8d9892

--s-inverse

Selected chips, the current page, tooltips, the highlighted option

#141b19 · #e8ebe5

--s-on-inverse

Text on inverse

#f3f0e8 · #0b100f

Copper

The single accent. Action, progress and anything that carries signal.

--s-copper

Text and icons

#a5460e · #f0935a

--s-copper-fill

Primary fills and live traces

#b24e18 · #e8834a

--s-copper-fill-hover

Hover

#98400f · #f29a63

--s-on-copper

Text on a copper fill

#ffffff · #1b0d05

--s-copper-soft

Tinted ground

#f1dfcf · #33211a

--s-copper-line

Tinted outline

#d9a37a · #7d4525

Patina

Semantic colours. Each one always appears with a shape and a word.

--s-verdigris

Strong, success

#1a6858 · #63cdb4

--s-verdigris-soft

Ground

#d9ece5 · #10302a

--s-verdigris-line

Outline

#8cc4b5 · #2a6b5c

--s-brass

Partial, caution

#725205 · #e3c062

--s-brass-soft

Ground

#f2e6be · #332a0e

--s-brass-line

Outline

#cdb265 · #6e5a1c

--s-oxide

Weak, danger

#9c2730 · #f37e84

--s-oxide-soft

Ground

#f5dcdb · #3b1719

--s-oxide-line

Outline

#de9a9c · #7c3035

--s-steel

Production, information

#25568a · #86b8e4

--s-steel-soft

Ground

#dce7f1 · #13283b

--s-steel-line

Outline

#94b4d3 · #2b5075

--s-focus

Focus ring

#1d6bcb · #8cc0f0

Mastery

One hue that rises in strength from level 0 to 4. The bar count carries the level without colour.

--s-mastery-0

Level 0 fill

#e9e5da · #19201e

--s-mastery-1

Level 1 fill

#f0dcc8 · #33241a

--s-mastery-2

Level 2 fill

#e6bc97 · #5c3620

--s-mastery-3

Level 3 fill

#d48a52 · #96502a

--s-mastery-4

Level 4 fill

#a5460e · #f0935a

--s-on-mastery-0

Text on level 0

#414b47 · #b7c0ba

--s-on-mastery-1

Text on level 1

#141b19 · #e8ebe5

--s-on-mastery-2

Text on level 2

#141b19 · #e8ebe5

--s-on-mastery-3

Text on level 3

#141b19 · #ffffff

--s-on-mastery-4

Text on level 4

#ffffff · #1b0d05

Code

Syntax colours come from the same metals. Each passes WCAG AA on the code ground.

--s-code-bg

Code ground

#faf8f2 · #070a09

--s-code-text

Plain code

#141b19 · #e8ebe5

--s-code-comment

Comments

#5e6762 · #8d9892

--s-code-keyword

Keywords

#a5460e · #f0935a

--s-code-string

Strings

#1a6858 · #63cdb4

--s-code-constant

Constants and numbers

#25568a · #86b8e4

--s-code-function

Function names

#725205 · #e3c062

--s-code-parameter

Parameters

#414b47 · #b7c0ba

--s-code-punctuation

Punctuation

#5e6762 · #8d9892

04

Mastery and Verdict

Both scales read without colour. Mastery is a count of bars with a numeral. A Verdict is a pad with a word.

0

No evidence yet. Bars are outlined, never missing.

1

Every Lesson in the Topic is read.

2

Every Quiz passes. The Topic counts as complete.

3

Explained in a Grill, assessed with evidence.

4

Knows why it works that way.

strong

A full pad

partial

A half pad

weak

A hollow pad

awaiting verdict

Answered, not judged yet

unanswered

Not answered

05

Typography

Three self-hosted variable families, each with Latin and Cyrillic. No request leaves the site to fetch a font.

System · Martian Mono, condensed

--s-font-mono

T07 · Mastery 3 of 4

Очередь микрозадач 0–4

Page titles, labels, designators, readouts and code. Width 75 for interface, 87.5 for code.

Controls · Onest

--s-font-ui

Continue grill session

Подключите своего агента

Buttons, forms, navigation, tables and short interface text.

Reading · Literata

--s-font-read

When does a timer run?

Браузер выполняет задачу до конца.

Lesson text, Track and Lesson titles, Grill Questions and the answers you write.

Type scale--s-read-size is the size of the reading face. It sits between two steps of the interface scale.
Type scale
TokenSizeSample
--s-text-5xl4rem · 64pxLanding display
--s-text-4xl2.75rem · 44pxLesson and Track titles
--s-text-3xl2rem · 32pxPage titles and readouts
--s-text-2xl1.5rem · 24pxSection titles
--s-text-xl1.25rem · 20pxCard titles and Grill Questions
--s-read-size1.125rem · 18pxLesson text and written answers
--s-text-lg1.0625rem · 17pxLead text
--s-text-md0.9375rem · 15pxInterface text
--s-text-sm0.8125rem · 13pxControls and tables
--s-text-xs0.75rem · 12pxCaptions
--s-text-2xs0.6875rem · 11pxLABELS AND DESIGNATORS
Prose.s-prose styles rendered Markdown

Tasks run to completion

A browser runs a task to completion. A timer callback must wait until the current task returns, even if its delay has already elapsed. See the execution model and try setTimeout(fn, 0) yourself.

  • Synchronous code finishes first.
  • Microtasks drain before the next task.
An expired timer queues a task. It does not interrupt one.

06

Space and shape

A 4px pitch, tight corners and hard edges.

Space--s-1 to --s-24
  • --s-14px
  • --s-28px
  • --s-312px
  • --s-416px
  • --s-520px
  • --s-624px
  • --s-832px
  • --s-1040px
  • --s-1248px
  • --s-1664px
  • --s-2080px
  • --s-2496px
Radius
--s-radius-xs2px
--s-radius-sm4px
--s-radius-md6px
--s-radius-lg10px
ElevationLight surfaces print a hard edge. Dark surfaces rely on their outline. The glow marks the part that is live: the Topic to study next.
--s-shadow-1
--s-shadow-2
--s-shadow-3
--s-glow
Board grid.s-grid, behind the Track board and empty states only
16px

07

Measures and layers

The widths a page is built on, the heights of what you press and type into, and the order in which surfaces stack.

MeasuresEach rule is drawn at its real width, one tick every 16px. Scroll sideways on a narrow screen.
  • --s-read-measure68ch

    The Lesson column. UiLessonBlock caps its body here, in the interface face.

  • --s-read-measure68ch

    Rendered Markdown. .s-prose resolves the same token in the reading face, so it comes out wider.

  • --s-bench-measure54rem

    The Grill bench. UiGrillBench centres its header, pads, question and answer in this column.

  • --s-block-margin7rem

    The Block margin. The designator and kind of a Lesson Block sit here, left of the column.

  • --s-rail15rem

    The open rail of UiAppShell.

  • --s-rail-collapsed3.75rem

    The rail collapsed to icons.

Control and field heightsA field follows the control height with a mouse. On a touch screen it grows and its text becomes 16px, so iOS does not zoom in on focus.
Control and field heights
ControlButtonFieldOn touchInput
--s-control-sm
1.75rem · 28px
--s-field-sm
1.75rem · 28px
2.25rem · 36px
--s-control-md
2.25rem · 36px
--s-field-md
2.25rem · 36px
2.75rem · 44px
--s-control-lg
2.75rem · 44px
--s-field-lg
2.75rem · 44px
3rem · 48px
Field text sizes
TokenSizeOn touchUse
--s-field-text0.9375rem · 15px1rem · 16pxText in medium and large fields
--s-field-text-sm0.8125rem · 13px1rem · 16pxText in small fields and the Exercise editor
LayersThree steps, lowest first. Nothing in the system sets a z-index outside them, apart from local stacking inside one component.
  1. --s-z-nav20Sticky bars: the top bar, the site header and the tab bar of the app shell
  2. --s-z-overlay40The overlay layer: menus, popovers, tooltips, select lists and dialogs
  3. --s-z-toast50Toasts, above everything else

08

Motion

Short and mechanical. Durations collapse to zero when the system asks for reduced motion.

Durations
  • --s-dur-1120ms · hover, press
  • --s-dur-2200ms · tabs, toggles
  • --s-dur-3320ms · dialogs, progress
EasingsSlowed to one second so the curve can be seen
  • --s-easeEverything that moves into place
    cubic-bezier(0.2, 0.7, 0.2, 1)
  • --s-ease-inA toast leaving the screen
    cubic-bezier(0.5, 0, 0.9, 0.4)
PendingThree pads light in turn while the system waits
LoadingWaiting for your agent

09

Icons

Drawn for this system on a 16px grid with a 1.5px stroke, like schematic symbols. No icon font and no emoji.

  • pin
  • fork
  • zoom-in
  • zoom-out
  • fit
  • list
  • scale
  • dashboard
  • track
  • grill
  • review
  • progress
  • settings
  • copy
  • check
  • x
  • plus
  • chevron-right
  • chevron-left
  • chevron-down
  • chevron-up
  • arrow-right
  • arrow-left
  • external
  • sun
  • moon
  • auto
  • menu
  • play
  • lock
  • key
  • link
  • diff
  • diagram
  • image
  • archive
  • upload
  • download
  • lesson
  • theory
  • code
  • gotcha
  • production
  • tip
  • quiz
  • exercise
  • video
  • clock
  • google
  • github
  • share
  • telegram
  • x-logo
  • user
  • logout
  • eye
  • eye-off
  • info
  • alert
  • sort
  • sort-up
  • sort-down
  • search
  • plug
  • box
  • ready
  • trash
  • more
  • terminal
  • rail
  • globe
  • goal
  • file
  • pad
  • pad-on
  • comment
  • reply
  • unclear
  • link-off
  • lock-pad
  • steady