serbinov.com CV

System: tokens and components

frame/principlesite system

Principle

Every value gets a role, and a component takes the role, not the value. That is why theme, accent, radius, and density change in one place. Colors, radii, and spacing are tokens; font sizes and small adjustments are written directly in the rules

A value gets a role.
A role builds a component

:root → semantic role → component

01

Values

16 px · oklch(0.748 0.085 221)

Color, size, typeface. Each value is defined once, in base.css

02

Roles

surface · accent · --s4

The name describes the purpose. When the theme changes, the role stays and the value behind it changes

03

Components

.tune-x · .row · .sheet

Reference the role, not the value. States are built from the same tokens

#6CBAD3

Accent fill

accent-fill
Documentation →
.tune-x

Terms

Words used further down. If a term is unclear, come back here

Token
A named value: a color, size, radius, or typeface. Defined once, in base.css
Role
What a token is for, such as “text” or “accent fill”. A component references the role, not a specific color
Sheet
The card that holds the page content (.sheet). Its padding and radius depend on the window width
Frame
The frame/name label above a sheet (.frame). Shown together with specs
Specs
An overlay on top of the page with sizes and tokens (.ov). Turned on with the specs toggle
Ramp
A row of shades of one color, from light to dark; only lightness changes
Pill
A fully rounded shape, like the link button (--r-pill)
State
How an element looks at a given moment: default, hover (pointer over), active (pressed), focus (keyboard focus)
frame/colorsite system

Color

There is one accent, and it plays two roles: text and fill. Neutrals create depth, and the light and dark themes use the same token names

Color logic

Surfaces: three layers

canvas is the page background. bg is the sheet. surface is everything that sits on the sheet: cards, tags, and inputs

One accent, two roles

accent is for text, focus, and the “now” label. accent-fill is for buttons, spec lines, and the “now” bar on the timeline. One hue; lightness is tuned per theme

Text: two levels

fg for primary text, muted for secondary. Both pass AA on bg and on surface

Dark theme

Neutrals invert. Accent text gets lighter and the accent fill gets darker, so the fill never glares

Lines

line is for dividers. edge is the outline. shadow-sheet and shadow-float are the shadow of the sheet and of floating layers

Changing the accent

The chosen color sets hue and chroma. Text lightness is adjusted automatically until contrast reaches 4.6:1 on bg and surface

Ramps and derived colors

Neutrals: bg, canvas, surface, line, muted, fg. Accent: oklch, hue 221°, chroma 0.085. Only lightness L changes

Light theme

Neutrals

bg#FFFFFFSheet
canvas#F6F6F4Page background
surface#F4F4F1Cards, tags, inputs
line#E6E5E1Dividers
muted#6A6A6FSecondary text
fg#26262APrimary text

Accent

L 0.787#7CC6DEOther theme
L 0.748#6CBAD3Fill
L 0.656#4F9DB6Other theme
L 0.536#297890Accent text
L 0.45#005F76Spare
L 0.35#004359Spare

L 0.45 and L 0.35 are spare steps and are not used on the site

Derived

tag#ADD8E6Spec label fill: 56% accent-fill on bg
fill-soft#ADADB0Neutral timeline bars: 55% muted on bg
on-accent#1A1A1AText on the accent fill
tagtext#26262ASpec label text
Dark theme

Neutrals

bg#181817Sheet
canvas#0F0F0EPage background
surface#21211FCards, tags, inputs
line#2D2C29Dividers
muted#94928CSecondary text
fg#E9E8E4Primary text

Accent

L 0.787#7CC6DEAccent text
L 0.748#6CBAD3Other theme
L 0.656#4F9DB6Fill
L 0.536#297890Other theme
L 0.45#005F76Spare
L 0.35#004359Spare

L 0.45 and L 0.35 are spare steps and are not used on the site

Derived

tag#284047Spec label fill: 30% accent-fill on bg
fill-soft#5C5B57Neutral timeline bars: 55% muted on bg
on-accent#1A1A1AText on the accent fill
tagtext#DDF2F8Spec label text

Contrast

The text threshold is 4.5:1. Each pair shows text on its real background

Light theme
fg / bgText · AA
15.07:1
fg / surfaceText · AA
13.68:1
muted / bgText · AA
5.38:1
muted / surfaceText · AA
4.88:1
accent / bgText · AA
5.02:1
accent / surfaceText · AA
4.56:1
on-accent / accent-fillText · AA
7.96:1
accent-fill / bgnot for text
2.19:1
Dark theme
fg / bgText · AA
14.49:1
fg / surfaceText · AA
13.15:1
muted / bgText · AA
5.71:1
muted / surfaceText · AA
5.18:1
accent / bgText · AA
9.30:1
accent / surfaceText · AA
8.44:1
on-accent / accent-fillText · AA
5.66:1
accent-fill / bgnot for text
5.78:1

The accent fill in the light theme (2.19:1) is never used as a text color and is never the only carrier of meaning: a label or a shape always goes with it

Token table

TokenRoleLight themeDark theme
canvasPage background
#F6F6F4
#0F0F0E
bgSheet, main surface
#FFFFFF
#181817
surfaceCards, tags, inputs
#F4F4F1
#21211F
fgPrimary text
#26262A
#E9E8E4
mutedSecondary text
#6A6A6F
#94928C
lineDividers
#E6E5E1
#2D2C29
accentAccent text, focus, links on hover
#297890
#7CC6DE
accent-fillButton fill, spec lines, the “now” bar
#6CBAD3
#4F9DB6
on-accentText on the accent fill
#1A1A1A
#1A1A1A
tagSpec label fill: a mix of accent-fill and bg, 56% in light, 30% in dark
#ADD8E6
#284047
tagtextSpec label text
#26262A
#DDF2F8
fill-softNeutral timeline bars: 55% muted on bg
#ADADB0
#5C5B57
edgeHairline outline of the sheet, 1 px
rgba(38,32,24,0.04)
rgba(255,255,255,0.04)
shadow-sheetSheet shadow
0 1px 2px rgba(38,32,24,.03), 0 8px 24px rgba(38,32,24,.045)
none
shadow-floatShadow of the header and dropdown lists
0 2px 6px rgba(38,32,24,.06), 0 12px 32px rgba(38,32,24,.12)
0 2px 6px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.5)
raiseA layer above the sheet: header, menu, lists
#FFFFFF
#2A2A28

--spec = accent-fill · --spec-text = accent. The old names are kept as aliases

Elevation: lightness, outline, shadow

In the dark theme, lightness carries elevation

The higher the layer, the lighter it is: canvas, bg, surface, raise. A black shadow is almost invisible on a dark background, so the sheet has none

Floating layers sit above the sheet

The header, the menu panel, and dropdown lists take the raise background and a stronger shadow-float. The sheet shadow is weaker and is dropped in the dark theme. In the dark theme, the elevation ladder sets a floating layer apart: raise is lighter than the sheet, and shadow-float only adds depth

Every level has an outline

A 1 px edge separates layers in both themes and stays even when shadows are off

A new level comes from the ladder

For a sheet or a dialog, take raise: in the dark theme it is lighter than the sheet, in the light theme it is set apart by shadow-float. Do not add a separate color outside the ladder

Light theme

Elevation ladder

e0 · canvas#F6F6F4Page background
e1 · bg#FFFFFFSheet: set apart by an outline and a shadow
e2 · surface#F4F4F1Inside the sheet: cards and fields
e3 · raise#FFFFFFFloating layers

Outline and shadows

edge

rgba(38,32,24,0.04)

Sheet outline, 1 px

shadow-sheet

0 1px 2px rgba(38,32,24,.03), 0 8px 24px rgba(38,32,24,.045)

Sheet shadow

shadow-float

0 2px 6px rgba(38,32,24,.06), 0 12px 32px rgba(38,32,24,.12)

Header and list shadow

Dark theme

Elevation ladder

e0 · canvas#0F0F0EPage background
e1 · bg#181817Sheet: lighter than the background
e2 · surface#21211FInside the sheet: lighter than the sheet
e3 · raise#2A2A28Floating layers

Outline and shadows

edge

rgba(255,255,255,0.04)

Sheet outline, 1 px

shadow-sheet

none

Sheet shadow

shadow-float

0 2px 6px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.5)

Header and list shadow

frame/typesite system

Type

Three typefaces are self-hosted as files, with nothing loaded from other servers. Subsets: cyrillic and latin. Specimens are set in the real fonts at desktop size. Line height is given as a percentage of the font size; tracking is the letter spacing

Families

--f-display

Geologica

Variable font, weights 100–900. Used on the site: 300, 400, 500

Headings and large numbers

--f-body

Golos Text

400, 500

Body text and captions

--f-mono

JetBrains Mono

400, 500

Data and utility roles

Geologica

Ivan Serbinov
type/displayGeologica · 300
132 px · line height 94% · tracking −4.5%Range: 52–132 px
Name on the home page
A design system from scratch
type/titleGeologica · 300
56 px · line height 108% · tracking −3%Range: 34–56 px
Case study page title
Looking for a designer for a design system
type/headlineGeologica · 300
52 px · line height 108% · tracking −3%Range: 30–52 px
Closing call to action before contacts
600+
type/kpiGeologica · 300
44 px · line height 100% · tracking −3%Range: 36 px on narrow screens, 30–44 px in a case study
Result numbers
Senior Product Designer · Design Systems
type/leadGeologica · 300
28 px · line height 130% · tracking −1.5%Range: 21–28 px
Subtitle under the name
Blocks stream in the TUI design system
type/rowGeologica · 300
19 px · line height 135% · tracking −1%Range: 19 px
What the work was, in a list row
T-Bank · TUI
type/row-strongGeologica · 500
19 px · line height 125% · tracking −1%Range: 19 px
Company name in a list row
Design Systems
type/card-titleGeologica · 400
19 px · line height 130% · tracking −1%Range: 19 px
Card and nested block titles
T-Bank
type/label-titleGeologica · 500
15 px · line height 125% · tracking 0%Range: 15 px
Timeline labels

Golos Text

Four-level tokens in Tokens Studio
type/bodyGolos Text · 400
16 px · line height 155% · tracking 0%Range: 16 px
Base page text
Design system 1.0 at NLMK was a set of Figma components
type/readingGolos Text · 400
17 px · line height 160% · tracking 0%Range: 17 px
Chapter text in case studies and About, up to 62 characters wide
600+ shared blocks for 74 product teams
type/textGolos Text · 400
15 px · line height 155% · tracking 0%Range: 15 px
Text inside expanded rows, lists, table cells
saved per year after rollout
type/smallGolos Text · 400
14 px · line height 140% · tracking 0%Range: 14 px
Number captions, explanations, footnotes
Senior designer on the design system team
type/noteGolos Text · 400
13 px · line height 135% · tracking 0%Range: 13 px
Short notes on the timeline
Case study →
type/buttonGolos Text · 500
14 px · line height 120% · tracking 0%Range: 14 px
The “Case study →” button

JetBrains Mono

serbinov.com
type/monoJetBrains Mono · 400
12 px · line height 155% · tracking 2%Range: 12 px
Header, footer, links, toggles
Work
type/mono-sectionJetBrains Mono · 400
13 px · line height 100% · tracking 8%Range: 13 px
Section names on the home page
Context and task
type/mono-labelJetBrains Mono · 400
13 px · line height 160% · tracking 0%Range: 13 px
Chapter names in a case study, in accent
1.12.04
type/mono-dataJetBrains Mono · 400
12.5 px · line height 155% · tracking 0%Range: 12.5 px
Version numbers, token names, years
React
type/mono-tagJetBrains Mono · 400
11.5 px · line height 100% · tracking 0%Range: 11.5 px
Stack tags
every day
type/mono-captionJetBrains Mono · 400
11 px · line height 155% · tracking 2%Range: 11 px
Captions, field labels, secondary data
Context
type/mono-strongJetBrains Mono · 500
11 px · line height 140% · tracking 2%Range: 11 px
State labels, expanded row titles, the “now” label in accent

Typesetting rules

The site’s typography is checked on every page, this one included

No hanging short words

A non-breaking space follows one- and two-letter words such as a, an, in, on, of, to, at, by, or, and I, so they never end a line. Chains of such spaces stay within 24 characters, otherwise the line breaks badly. Checked at widths from 320 to 1920 px

Numbers stay with their units

A non-breaking space also sits between a number and its unit: 4.3 million, 48 px. Ranges use an en dash: 2014–17

No period at the end of a paragraph

This applies to paragraphs, list items, and captions. Periods between sentences inside the text stay

Curly quotes, no em dashes in running text

Use a colon, a comma, or a period instead of an em dash. The exceptions are the title and description tags

Very long words wrap

If a word does not fit the column, such as an email address at a larger font size, it breaks between letters (overflow-wrap: anywhere) instead of running off the screen

frame/sizesite system

Spacing and radius

Spacing and radius form two scales, and the Site tokens panel recalculates both at once. Samples are shown at actual size

Spacing: nine steps, all multiples of four

TokenValueActual width, px
--s14 px
--s28 px
--s312 px
--s416 px
--s524 px
--s632 px
--s748 px
--s872 px
--s9120 px
16 px
--s4

The base spacing is set in the Site tokens panel. When it changes, every step and the sheet padding scale proportionally

Radius: seven tokens

--r12 px
--r24 px
--r38 px
--r412 px
--r516 px
--r-pill18 px
--r-card20–48 px

Sheet radius follows the window width

20 px · minimum
48 px · maximum
--r-card: clamp(20px, 4vw, 48px)

The sheet radius grows with the window width. On a 1440 px screen it hits the 48 px cap

Nested radius equals outer radius minus padding

Outer 16 px, padding 8 px

16 px − 8 px = 8 px

The inner radius follows the outer one. The rule applies to the sheet and to any surface inside it

The Site tokens panel changes three values

accent

Accent

#6CBAD3Any color

Hue and chroma come from the chosen color. Text lightness is adjusted automatically

accent-fill

Button fill and spec lines

accent

Text and focus. Contrast on bg and surface is at least 4.6:1

tag · tagtext

Spec labels, derived colors

Light theme: text is darker than the fill. Dark theme: text is lighter, the fill is darker

--r3

Base radius

8 px0–24 px · step 4

All radii scale proportionally, including the sheet radius

--r1 · --r2 · --r3

2 · 4 · 8 px by default

--r4 · --r5 · --r-pill

12 · 16 · 18 px by default

--r-card

20–48 px, including the sheet

The nested radius equals the outer radius minus padding

--s4

Base spacing

16 px8–28 px · step 4

All spacing scales proportionally, including the sheet padding

--s1 · --s2 · --s3

4 · 8 · 12 px by default

--s4 · --s5 · --s6

16 · 24 · 32 px by default

--s7 · --s8 · --s9

48 · 72 · 120 px by default

Sheet padding: clamp(20px, 6.7vw, 80px)

Panel presets

Options sit on the left, the exact value on the right, in one row

Accentaccent
#6CBAD3Default
#EE6A35Preset
#09B378Preset
#A87FE5Preset
#DB6DA3Preset
#6CBAD3
Rounding--r3
None · 0 px
Soft · 8 px
Strong · 16 px
8 px
Density--s4
Tight · 12 px
Regular · 16 px
Loose · 20 px
16 px
frame/componentssite system

Components

Eleven groups plus the header and menu. Every state is shown separately on the background of its own theme. Under each sample the tokens are listed, separated by dots: colors, radius (r3), spacing (s3), and the type role (type/...). Samples use the same classes as the site, with states forced

.tune-x

Primary button

Leads from the Site tokens card to the documentation. Sits on the right of the card’s bottom row; one primary action per block

Light theme
default
Documentation →

accent-fill · on-accent · r3 · s3 · s5 · type/mono-strong (12 px / 120%)

hover
Documentation →

accent-fill · on-accent · r3 · s3 · s5 · type/mono-strong (12 px / 120%) · accent · bg

active
Documentation →

accent-fill · on-accent · r3 · s3 · s5 · type/mono-strong (12 px / 120%) · opacity 85%

focus
Documentation →

accent-fill · on-accent · r3 · s3 · s5 · type/mono-strong (12 px / 120%) · outline 2 px / offset 3 px

Dark theme
default
Documentation →

accent-fill · on-accent · r3 · s3 · s5 · type/mono-strong (12 px / 120%)

hover
Documentation →

accent-fill · on-accent · r3 · s3 · s5 · type/mono-strong (12 px / 120%) · accent · bg

active
Documentation →

accent-fill · on-accent · r3 · s3 · s5 · type/mono-strong (12 px / 120%) · opacity 85%

focus
Documentation →

accent-fill · on-accent · r3 · s3 · s5 · type/mono-strong (12 px / 120%) · outline 2 px / offset 3 px

.tune-reset

Text button

Resets the Site tokens panel to its defaults. Sits on the left of the card’s bottom row. A button styled as a link: it changes the page but never navigates away

Light theme
default
default

muted · line · type/mono (12 px) · 1 px underline, 3 px offset

hover
default

muted · line · type/mono (12 px) · 1 px underline, 3 px offset · accent

focus
default

muted · line · type/mono (12 px) · 1 px underline, 3 px offset · accent · outline 2 px / offset 3 px

Dark theme
default
default

muted · line · type/mono (12 px) · 1 px underline, 3 px offset

hover
default

muted · line · type/mono (12 px) · 1 px underline, 3 px offset · accent

focus
default

muted · line · type/mono (12 px) · 1 px underline, 3 px offset · accent · outline 2 px / offset 3 px

.more .go.primary

Link button

Goes to a case study page from an expanded row. Filled with the text color; takes the accent on hover

Light theme
default
Case study →

fg · bg · r-pill (18 px) · 8 / 14 px · type/button · fg on bg

hover
Case study →

fg · bg · r-pill (18 px) · 8 / 14 px · type/button · accent on bg

active
Case study →

fg · bg · r-pill (18 px) · 8 / 14 px · type/button · fg, opacity 85%

focus
Case study →

fg · bg · r-pill (18 px) · 8 / 14 px · type/button · accent · outline 2 px

Dark theme
default
Case study →

fg · bg · r-pill (18 px) · 8 / 14 px · type/button · fg on bg

hover
Case study →

fg · bg · r-pill (18 px) · 8 / 14 px · type/button · accent on bg

active
Case study →

fg · bg · r-pill (18 px) · 8 / 14 px · type/button · fg, opacity 85%

focus
Case study →

fg · bg · r-pill (18 px) · 8 / 14 px · type/button · accent · outline 2 px

.more .go

Secondary button

A secondary link on a surface: “Message me on Telegram ↗” in a row without a case study

Light theme
default
Message me on Telegram ↗

surface · fg · r-pill (18 px) · 8 / 14 px · type/button

hover
Message me on Telegram ↗

fg · bg · r-pill (18 px) · 8 / 14 px · type/button

focus
Message me on Telegram ↗

surface · fg · r-pill · type/button · accent · outline 2 px

Dark theme
default
Message me on Telegram ↗

surface · fg · r-pill (18 px) · 8 / 14 px · type/button

hover
Message me on Telegram ↗

fg · bg · r-pill (18 px) · 8 / 14 px · type/button

focus
Message me on Telegram ↗

surface · fg · r-pill · type/button · accent · outline 2 px

.toggle

Toggle

Turns specs on and switches the theme. The state reads from the dot and from the label

Light theme
off
specs

muted · type/mono · 6 px dot / 1 px

on
specs

muted · type/mono · 6 px dot / 1 px · accent-fill

hover
specs

muted · type/mono · 6 px dot / 1 px · fg

focus
specs

muted · type/mono · 6 px dot / 1 px · accent · outline

Dark theme
off
specs

muted · type/mono · 6 px dot / 1 px

on
specs

muted · type/mono · 6 px dot / 1 px · accent-fill

hover
specs

muted · type/mono · 6 px dot / 1 px · fg

focus
specs

muted · type/mono · 6 px dot / 1 px · accent · outline

.seg · .sw · .val

Option picker

The tokens panel: options on the left, the exact value on the right, in one row. The selected option is underlined: 1 px with a 4 px offset. The selected color gets a 2 px ring

Light theme
.seg
rest

type/mono · muted

hover

type/mono · muted · fg

selected

type/mono · muted · fg · accent-fill · underline 1 px / offset 4 px

focus

type/mono · muted · accent · outline

.sw
rest

accent-fill · 24 px circle

hover

accent-fill · 24 px circle · muted

selected

accent-fill · 24 px circle · fg · 2 px ring

focus

accent-fill · 24 px circle · accent · outline

.val
rest
#6CBAD3

type/mono · fg · 8ch wide · muted · 1 px dashed

hover
#6CBAD3

type/mono · fg · 8ch wide · muted · 1 px dashed → accent

focus
#6CBAD3

type/mono · fg · 8ch wide · muted · 1 px dashed → accent · outline

Dark theme
.seg
rest

type/mono · muted

hover

type/mono · muted · fg

selected

type/mono · muted · fg · accent-fill · underline 1 px / offset 4 px

focus

type/mono · muted · accent · outline

.sw
rest

accent-fill · 24 px circle

hover

accent-fill · 24 px circle · muted

selected

accent-fill · 24 px circle · fg · 2 px ring

focus

accent-fill · 24 px circle · accent · outline

.val
rest
#6CBAD3

type/mono · fg · 8ch wide · muted · 1 px dashed

hover
#6CBAD3

type/mono · fg · 8ch wide · muted · 1 px dashed → accent

focus
#6CBAD3

type/mono · fg · 8ch wide · muted · 1 px dashed → accent · outline

.stack span · .case-tag

Tag and label

A tag names a stack. The “now” label marks current work; “case study” marks a row with its own page. Static

Light theme
static
React

type/mono-tag · surface · r2 · 5 / 7 px · muted

static
Design Systems

type/mono-tag · surface · r2 · 5 / 7 px · muted

static
now

type/mono-strong · accent · 8 px dot

Dark theme
static
React

type/mono-tag · surface · r2 · 5 / 7 px · muted

static
Design Systems

type/mono-tag · surface · r2 · 5 / 7 px · muted

static
now

type/mono-strong · accent · 8 px dot

.kpi

KPI

Static: a number and a caption. In an expanded row they come in groups of three

Light theme
static
600+shared blocks for 74 product teams

type/kpi · type/small · fg · muted

Dark theme
static
600+shared blocks for 74 product teams

type/kpi · type/small · fg · muted

.row

Expandable row

For lists of similar items: jobs, talks, tools. A row holds the year, company, summary, label, and a plus. On expand the plus rotates 45° and turns accent. Works with the keyboard: Enter and Space

Light theme
closed
2026T-BankBlocks stream in the TUI design systemnow

type/mono · muted · type/row-strong · type/row · type/mono-strong · line · accent

hover
2026T-BankBlocks stream in the TUI design systemnow

type/mono · muted · type/row-strong · type/row · type/mono-strong · line · accent

open
2026T-BankBlocks stream in the TUI design systemnow

Context

600+ shared blocks for 74 product teams

Case study →

type/mono · muted · type/row-strong · type/row · type/mono-strong · line · accent · surface · r3 · type/card-title · type/text · type/button · r-pill · bg

focus
2026T-BankBlocks stream in the TUI design systemnow

type/mono · muted · type/row-strong · type/row · type/mono-strong · line · accent · outline

Dark theme
closed
2026T-BankBlocks stream in the TUI design systemnow

type/mono · muted · type/row-strong · type/row · type/mono-strong · line · accent

hover
2026T-BankBlocks stream in the TUI design systemnow

type/mono · muted · type/row-strong · type/row · type/mono-strong · line · accent

open
2026T-BankBlocks stream in the TUI design systemnow

Context

600+ shared blocks for 74 product teams

Case study →

type/mono · muted · type/row-strong · type/row · type/mono-strong · line · accent · surface · r3 · type/card-title · type/text · type/button · r-pill · bg

focus
2026T-BankBlocks stream in the TUI design systemnow

type/mono · muted · type/row-strong · type/row · type/mono-strong · line · accent · outline

.frame · .sheet

Sheet and frame

The sheet holds the page content. Above it sits a frame/name label. The nested radius equals the outer radius minus padding. Static

Light theme
static
frame/work

Design Systems

600+ shared blocks for 74 product teams

type/mono · muted · bg · fg · r-card · edge (1 px) · shadow-sheet · type/card-title · type/body · padding clamp(20px, 6.7vw, 80px)

Dark theme
static
frame/work

Design Systems

600+ shared blocks for 74 product teams

type/mono · muted · bg · fg · r-card · edge (1 px) · shadow-sheet · type/card-title · type/body · padding clamp(20px, 6.7vw, 80px)

.ov

Specs overlay

Shows sizes and tokens on top of the real elements. Turned on with the specs toggle; off by default and hidden from screen readers

Light theme
off
Ivan

bg · fg · type/display · specs hidden

on
Ivan

accent-fill · tag · tagtext · r1 · 10.5 px / 500 / 3% · 1 px lines · sizes are read from the browser

Dark theme
off
Ivan

bg · fg · type/display · specs hidden

on
Ivan

accent-fill · tag · tagtext · r1 · 10.5 px / 500 / 3% · 1 px lines · sizes are read from the browser

Header and menu

Shared by every page. Navigation keeps Work, Tokens, About, and Contact; on a phone everything except the logo moves into the menu

The header is sticky

Pinned to the top with an s2 offset at z-index 20. Its height is the --bar-h token: 48 px on desktop, 60 px up to 820 px. Elements below rely on it: the documentation index sticks at calc(s2 + --bar-h), and anchor jumps get scroll-padding-top so a heading never hides under the header

Up to 820 px only the logo and Menu remain

The logo also links to the home page. The Menu button opens a panel with navigation, the theme toggle, and the language switch. The tap target is at least 44 px. The panel closes on Esc, on a tap outside, after choosing a link, and when the window grows past 820 px

Tokens opens as a list

The item is a native details: Site tokens leads to the card on the home page, Documentation to this page. The current page is marked aria-current="page". The list closes on Esc, on a click outside, and when another one opens

The header and lists float above the content

The header, the menu panel, and the Tokens list sit above the sheet: raise background, edge outline, and shadow-float. The shadow is stronger than the sheet’s, and in the dark theme it is the lightness of the background that sets the layer apart from the sheet

The header works without scripts

The menu and the Tokens list are enhanced by a script. If it does not load, navigation stays as plain links

frame/a11ysite system

Accessibility

The site can be read and operated without a mouse, without distinguishing colors, and without motion. Every rule can be checked in the code and by hand

Structure and language

The site meets level AA

The target standard is WCAG 2.2, level AA. The criteria are checked by hand and with scripts on every page; there has been no independent audit yet

Headings are in order

Each page has one h1 and no skipped levels. The language is set with lang="en", and the “RU” link is marked lang="ru"

The first link skips the header

The “Skip to content” link appears on focus and leads to main. Keyboard users do not have to tab through the whole header

Meaningful images need alt

The text says what matters in the image. Decorative images get an empty alt

Panel fields are named

Fields and groups in the Site tokens panel are tied to their labels through aria-label and aria-labelledby. Preset colors are named in words: “blue”, “green”

Screen readers: semantics and ARIA

A screen reader reads structure from tags, so the site is built from semantic elements rather than anonymous divs

Page landmarks

header, nav, main, and footer on every page. The menu is labeled: aria-label="Main"

Sections and headings

Every section is a section with aria-labelledby, and heading levels are never skipped. A screen reader lists them as a heading outline

Lists and captions

Enumerations use ul, ol, and dl. Illustrations sit in a figure with a figcaption, so the caption is read together with the image

Tables and lists in case studies

Where the layout does not use native tags, roles are set explicitly: table, row, columnheader, cell, list, and listitem

States are announced

An expandable row is built on details, the specs toggle carries aria-pressed, the current language is marked aria-current, and an unavailable one aria-disabled

Decoration stays silent

Pluses, arrows, and the specs layer are hidden with aria-hidden="true", so a screen reader skips them instead of cluttering the output

Keyboard and focus

Everything works from the keyboard

Tab order matches the visual order. Expandable rows open with Enter and Space

Focus is visible during keyboard use

A 2 px outline in accent with a 3 px offset (4 px on color swatches). It appears during Tab navigation and stays out of the way of the mouse: :focus-visible handles that

Zooming an image without a mouse

An image in a case study opens in a dialog with Enter or Space. Close it with Esc, a tap, or the Close button; focus returns to the image

The theme toggle says what it does

The toggle shows the current mode in words: “auto”, “light”, or “dark”

Contrast and color

Text meets at least AA

WCAG level AA: 4.5:1 for regular text and 3:1 for large text, in both themes. All pairs are measured in the Color section

A custom accent stays readable

When you pick a color in the tokens panel, text lightness is adjusted to 4.6:1 on bg and surface

The accent fill is never a text color

accent-fill on bg is 2.19:1 in the light theme, so text on the fill uses on-accent, and the fill is never the only carrier of meaning

Meaning never rests on color alone

The selected option is underlined or ringed, the “now” label has text, and an open row turns its plus into a cross

System settings

The site reads browser and operating system settings and adapts to them. On desktop and on phones these are the same media queries

Theme

prefers-color-scheme sets the default theme. The toggle switches it to light or dark and remembers the choice. All three modes work together

Motion

With prefers-reduced-motion: reduce, transitions and smooth scrolling are switched off. Any animation that remains only explains a change of state

Contrast

With prefers-contrast: more, secondary text and lines take the primary text color, and borders become easier to see

Forced colors

In forced-colors mode (Windows high contrast themes), blocks and the dropdown menu get a visible border, and color swatches and the menu icon stay visible

Font size

All text sizes are set in rem. The browser font size setting and Dynamic Type on iOS scale all text at once. On Android the site is ready for the system font scale through the text-scale meta tag, but Chrome does not apply it everywhere yet. Platform details are in the table below

Page zoom

Ctrl and + on desktop, pinch on a phone. The viewport meta tag does not block zooming

Target size

Targets are at least 24 px

Links in the header, footer, and contacts are at least 24 px tall (WCAG 2.5.8)

44 px on touch devices

The pointer: coarse media feature stretches toggles, color swatches, and the “default” button in the tokens panel to 44 px

Zoom: what happens when you enlarge

You can enlarge the site in two ways: zoom the page or change the text size. Platforms support them differently

Nothing breaks at 400%

A 320 px width equals 400% zoom on a 1280 px screen (WCAG 1.4.10). No page of the site scrolls horizontally

Text stays readable up to 200%

With the browser font size at 200%, text is not clipped or overlapped and there is no horizontal scrolling (WCAG 1.4.4)

The site scales smoothly, not in jumps

Large headings change size with the window width through clamp(). Body and small text keep their size while the grid reflows

Content does not stretch

The page width is capped at 1190 px. On large screens only the empty side margins grow, so lines stay at a readable length

The main breakpoint is 820 px

Here the intro and contacts collapse to one column, list rows simplify, and the timeline turns vertical. Additional breakpoints: 640 px for case studies and 480 px for narrow phones

How this maps to iOS, Android, and the web

PlatformHow a user enlarges textBody text minimumWhat the site does
iOSText Size setting (Dynamic Type) and page zoom in Safari17 ptThe base size comes from the system through font: -apple-system-body, and rem-based text grows with it. Page zoom works too
AndroidFont size in system settings and pinch zoom16 spChrome does not yet apply the system font size to websites. The text-scale meta tag is already in the markup and will take effect once support ships. Pinch zoom works
WebFont size in browser settings and page zoom (Ctrl and +)WCAG sets no numberText is set in rem, so the browser setting scales all text at once. Body text is 16 px, 17 px in case studies