The tokens, components and patterns behind this portfolio, with the reasons for each decision. Every contrast number on this page is computed by the build.
Colour ramps adapted from the open-source Platforms Code tokens.
tokens.json is in the W3C design tokens format, generated from tokens.css on every build, ready for Figma variables.
A Claude skill that teaches Claude this design system: the tokens, Day and Night, cut corners, type, spacing, components, accessibility and Arabic rules. Add it to Claude (Settings, then Capabilities, then Skills, then upload the zip) or put the folder in .claude/skills/ for Claude Code. It ships with the current tokens.css.
Every screen answers who, what and what next in seconds. One primary action per screen.
02 Arabic-first
Arabic is a sibling, not a translation: same hierarchy, natural copy, real right-to-left layout.
03 Accessible by default
WCAG 2.2 AA everywhere and AAA contrast for text, checked by the build, in both modes and languages.
04 Honest content
Every claim points to proof. No invented numbers or testimonials.
Colour
60%Canvas30%Panels and text10%
Shown in the current mode: Night paints a near-black canvas and deep-green panels, Day a cream canvas and white panels.
60% canvas
30% panels and text
10% green: the one action, links, the logo, selection, focus
<3% lavender and gold: pixel decorations, awards, honest tags
60-30-10, in Night: the near-black canvas (neutral-950) fills most of the screen; deep-green panels (green-950) and cream text make the next 30%; bright green is the 10% for the one primary action, links, the logo, selected states and focus. Day re-maps the same roles onto a cream canvas, white panels and green-800. Lavender (pixel decorations) and gold (awards, “New”, honest “to be confirmed” tags) stay under 3% together.
Decision
AAA text: why green-600 is not a text colour
green-600 #1B8354 measures 4.70:1 on the Day canvas. That passes AA but not the AAA (7:1) rule this site keeps for all text, so it is retired as a text colour. Day links and filled buttons use green-800 #14573A (8.46:1 on the canvas, 8.56:1 with white); Night uses green-300 for links (11.13:1) and green-400 only for fills and text on the canvas (8.29:1). Muted text on any tinted Day ground steps up to neutral-700.
Ramps
Each step shows the text colour it can carry (white or ink, neutral-900) and the ratio, computed in the build. Steps below 4.5:1 with both are marked “not for text”.
Green --color-green-*
Aa25ink 17.1:1
Aa50ink 16.8:1
Aa100ink 15.5:1
Aa200ink 13.1:1
Aa300ink 10.5:1
Aa400ink 7.8:1
Aa500ink 4.5:1
Aa600white 4.7:1
Aa700white 6.6:1
Aa800white 8.6:1
Aa900white 10.8:1
Aa950white 15.4:1
Neutral --color-neutral-*
Aa25ink 17.2:1
Aa50ink 16.9:1
Aa100ink 16.0:1
Aa200ink 14.2:1
Aa300ink 12.1:1
Aa400ink 7.0:1
Aa500white 4.8:1
Aa600white 7.4:1
Aa700white 10.2:1
Aa800white 14.5:1
Aa900white 17.6:1
Aa950white 18.7:1
Gold (secondary) --color-gold-*
Aa25ink 17.4:1
Aa50ink 17.4:1
Aa100ink 17.0:1
Aa200ink 15.7:1
Aa300ink 14.4:1
Aa400ink 12.2:1
Aa500ink 10.2:1
Aa600ink 7.6:1
Aa700ink 4.9:1
Aa800white 5.5:1
Aa900white 9.1:1
Aa950white 13.8:1
Lavender (tertiary) --color-lavender-*
Aa25ink 17.3:1
Aa50ink 16.3:1
Aa100ink 14.9:1
Aa200ink 11.7:1
Aa300ink 8.8:1
Aa400ink 5.2:1
Aa500white 5.8:1
Aa600white 7.4:1
Aa700white 10.5:1
Aa800white 13.7:1
Aa900white 16.7:1
Aa950white 19.0:1
Red (error) --color-red-*
Aa25ink 17.1:1
Aa50ink 16.2:1
Aa100ink 14.6:1
Aa200ink 12.4:1
Aa300ink 9.1:1
Aa400ink 6.3:1
Aa500ink 4.7:1
Aa600white 4.8:1
Aa700white 6.6:1
Aa800white 8.7:1
Aa900white 9.8:1
Aa950white 13.9:1
Yellow (warning) --color-yellow-*
Aa25ink 17.2:1
Aa50ink 16.9:1
Aa100ink 15.5:1
Aa200ink 13.5:1
Aa300ink 11.4:1
Aa400ink 9.6:1
Aa500ink 7.5:1
Aa600ink 5.1:1
Aa700white 5.4:1
Aa800white 7.5:1
Aa900white 9.4:1
Aa950white 14.0:1
Blue (info) --color-blue-*
Aa25ink 16.8:1
Aa50ink 16.4:1
Aa100ink 14.1:1
Aa200ink 12.3:1
Aa300ink 10.0:1
Aa400ink 7.6:1
Aa500ink 5.4:1
Aa600white 4.6:1
Aa700white 6.0:1
Aa800white 8.2:1
Aa900white 9.8:1
Aa950white 14.1:1
Every step with both contrast ratios
Swatch
Token
Value
White text
Ink text
--color-green-25
#F7FDF9
1.03:1Fail
17.09:1AAA
--color-green-50
#F3FCF6
1.05:1Fail
16.83:1AAA
--color-green-100
#DFF6E7
1.14:1Fail
15.50:1AAA
--color-green-200
#B8EACB
1.34:1Fail
13.14:1AAA
--color-green-300
#88D8AD
1.68:1Fail
10.46:1AAA
--color-green-400
#54C08A
2.26:1Fail
7.79:1AAA
--color-green-500
#25935F
3.88:1AA Large
4.54:1AA
--color-green-600
#1B8354
4.75:1AA
3.71:1AA Large
--color-green-700
#166A45
6.60:1AA
2.67:1Fail
--color-green-800
#14573A
8.56:1AAA
2.06:1Fail
--color-green-900
#104631
10.81:1AAA
1.63:1Fail
--color-green-950
#092A1E
15.42:1AAA
1.14:1Fail
--color-neutral-25
#FCFCFD
1.03:1Fail
17.18:1AAA
--color-neutral-50
#F9FAFB
1.05:1Fail
16.86:1AAA
--color-neutral-100
#F3F4F6
1.10:1Fail
16.01:1AAA
--color-neutral-200
#E5E7EB
1.24:1Fail
14.23:1AAA
--color-neutral-300
#D2D6DB
1.46:1Fail
12.06:1AAA
--color-neutral-400
#9DA4AE
2.51:1Fail
7.01:1AAA
--color-neutral-500
#6C737F
4.78:1AA
3.69:1AA Large
--color-neutral-600
#4D5761
7.36:1AAA
2.39:1Fail
--color-neutral-700
#384250
10.18:1AAA
1.73:1Fail
--color-neutral-800
#1F2A37
14.54:1AAA
1.21:1Fail
--color-neutral-900
#111927
17.61:1AAA
1.00:1Fail
--color-neutral-950
#0D121C
18.74:1AAA
1.06:1Fail
--color-gold-25
#FFFEF7
1.01:1Fail
17.42:1AAA
--color-gold-50
#FFFEF2
1.01:1Fail
17.37:1AAA
--color-gold-100
#FFFCE6
1.03:1Fail
17.04:1AAA
--color-gold-200
#FCF3BD
1.12:1Fail
15.68:1AAA
--color-gold-300
#FAE996
1.22:1Fail
14.39:1AAA
--color-gold-400
#F7D54D
1.44:1Fail
12.23:1AAA
--color-gold-500
#F5BD02
1.73:1Fail
10.20:1AAA
--color-gold-600
#DBA102
2.30:1Fail
7.64:1AAA
--color-gold-700
#B87B02
3.58:1AA Large
4.93:1AA
--color-gold-800
#945C01
5.54:1AA
3.18:1AA Large
--color-gold-900
#6E3C00
9.09:1AAA
1.94:1Fail
--color-gold-950
#472400
13.81:1AAA
1.28:1Fail
--color-lavender-25
#FEFCFF
1.02:1Fail
17.26:1AAA
--color-lavender-50
#F9F5FA
1.08:1Fail
16.33:1AAA
--color-lavender-100
#F2E9F5
1.18:1Fail
14.89:1AAA
--color-lavender-200
#E1CCE8
1.50:1Fail
11.75:1AAA
--color-lavender-300
#CCADD9
1.99:1Fail
8.85:1AAA
--color-lavender-400
#A57BBA
3.42:1AA Large
5.15:1AA
--color-lavender-500
#80519F
5.84:1AA
3.02:1AA Large
--color-lavender-600
#6D428F
7.43:1AAA
2.37:1Fail
--color-lavender-700
#532D75
10.50:1AAA
1.68:1Fail
--color-lavender-800
#3D1D5E
13.67:1AAA
1.29:1Fail
--color-lavender-900
#281047
16.73:1AAA
1.05:1Fail
--color-lavender-950
#16072E
19.02:1AAA
1.08:1Fail
--color-red-25
#FFFBFA
1.03:1Fail
17.14:1AAA
--color-red-50
#FEF3F2
1.09:1Fail
16.20:1AAA
--color-red-100
#FEE4E2
1.21:1Fail
14.60:1AAA
--color-red-200
#FECDCA
1.42:1Fail
12.41:1AAA
--color-red-300
#FDA29B
1.94:1Fail
9.07:1AAA
--color-red-400
#F97066
2.79:1Fail
6.32:1AA
--color-red-500
#F04438
3.76:1AA Large
4.69:1AA
--color-red-600
#D92D20
4.83:1AA
3.65:1AA Large
--color-red-700
#B42318
6.57:1AA
2.68:1Fail
--color-red-800
#912018
8.66:1AAA
2.03:1Fail
--color-red-900
#7A271A
9.85:1AAA
1.79:1Fail
--color-red-950
#55160C
13.94:1AAA
1.26:1Fail
--color-yellow-25
#FFFCF5
1.02:1Fail
17.19:1AAA
--color-yellow-50
#FFFAEB
1.04:1Fail
16.88:1AAA
--color-yellow-100
#FEF0C7
1.13:1Fail
15.52:1AAA
--color-yellow-200
#FEDF89
1.30:1Fail
13.53:1AAA
--color-yellow-300
#FEC84B
1.55:1Fail
11.39:1AAA
--color-yellow-400
#FDB022
1.84:1Fail
9.57:1AAA
--color-yellow-500
#F79009
2.35:1Fail
7.51:1AAA
--color-yellow-600
#DC6803
3.49:1AA Large
5.05:1AA
--color-yellow-700
#B54708
5.43:1AA
3.25:1AA Large
--color-yellow-800
#93370D
7.52:1AAA
2.34:1Fail
--color-yellow-900
#7A2E0E
9.44:1AAA
1.87:1Fail
--color-yellow-950
#4E1D09
13.97:1AAA
1.26:1Fail
--color-blue-25
#F5FAFF
1.05:1Fail
16.78:1AAA
--color-blue-50
#EFF8FF
1.07:1Fail
16.39:1AAA
--color-blue-100
#D1E9FF
1.25:1Fail
14.10:1AAA
--color-blue-200
#B2DDFF
1.43:1Fail
12.31:1AAA
--color-blue-300
#84CAFF
1.77:1Fail
9.96:1AAA
--color-blue-400
#53B1FD
2.31:1Fail
7.61:1AAA
--color-blue-500
#2E90FA
3.24:1AA Large
5.44:1AA
--color-blue-600
#1570EF
4.57:1AA
3.86:1AA Large
--color-blue-700
#175CD3
5.99:1AA
2.94:1Fail
--color-blue-800
#1849A9
8.19:1AAA
2.15:1Fail
--color-blue-900
#194185
9.83:1AAA
1.79:1Fail
--color-blue-950
#102A56
14.12:1AAA
1.25:1Fail
Semantic pairs, Night and Day
The build recomputes every pair below from tokens.css and fails on any miss: 700 checks across Night, Day and both “more contrast” sets, 452 of them at 7:1 for text, the rest at 3:1 for borders, icons and focus rings (WCAG 1.4.11). The hero and the “Start here” card stay Night islands in Day, so the gate also checks the island seams.
All 700 checked pairs, Night and Day
Night: every pair the build checks
Sample
Foreground
Background
Needs
Measured
Aa
--text-display
--background-canvas
7:1
18.49:1AAA
Aa
--text-display
--background-panel
7:1
15.21:1AAA
Aa
--text-display
--background-panel-alt
7:1
17.37:1AAA
Aa
--text-display
--background-panel-tint
7:1
15.21:1AAA
Aa
--text-display
--background-panel-hover
7:1
12.63:1AAA
Aa
--text-display
--background-panel-selected
7:1
11.64:1AAA
Aa
--text-display
--background-chip
7:1
15.57:1AAA
Aa
--text-display
--background-chip-on-panel
7:1
12.42:1AAA
Aa
--text-display
--background-input
7:1
17.37:1AAA
Aa
--text-display
--background-status-error
7:1
13.75:1AAA
Aa
--text-body
--background-canvas
7:1
18.49:1AAA
Aa
--text-body
--background-panel
7:1
15.21:1AAA
Aa
--text-body
--background-panel-alt
7:1
17.37:1AAA
Aa
--text-body
--background-panel-tint
7:1
15.21:1AAA
Aa
--text-body
--background-panel-hover
7:1
12.63:1AAA
Aa
--text-body
--background-panel-selected
7:1
11.64:1AAA
Aa
--text-body
--background-chip
7:1
15.57:1AAA
Aa
--text-body
--background-chip-on-panel
7:1
12.42:1AAA
Aa
--text-body
--background-input
7:1
17.37:1AAA
Aa
--text-body
--background-status-error
7:1
13.75:1AAA
Aa
--text-muted
--background-canvas
7:1
12.84:1AAA
Aa
--text-muted
--background-panel
7:1
10.56:1AAA
Aa
--text-muted-on-tint
--background-panel-tint
7:1
10.56:1AAA
Aa
--text-muted-on-tint
--background-panel-alt
7:1
12.06:1AAA
Aa
--text-muted-on-tint
--background-panel-hover
7:1
8.77:1AAA
Aa
--text-muted-on-tint
--background-panel-selected
7:1
8.09:1AAA
Aa
--text-muted-on-tint
--background-chip
7:1
10.81:1AAA
Aa
--text-muted-on-tint
--background-chip-on-panel
7:1
8.63:1AAA
Aa
--text-accent
--background-canvas
7:1
11.13:1AAA
Aa
--text-accent
--background-panel
7:1
9.16:1AAA
Aa
--text-accent
--background-panel-alt
7:1
10.46:1AAA
Aa
--text-accent
--background-panel-tint
7:1
9.16:1AAA
Aa
--text-accent
--background-panel-hover
7:1
7.61:1AAA
Aa
--text-accent
--background-chip
7:1
9.37:1AAA
Aa
--text-accent
--background-chip-on-panel
7:1
7.48:1AAA
Aa
--text-accent-strong
--background-canvas
7:1
8.29:1AAA
Aa
--text-secondary-accent
--background-canvas
7:1
9.41:1AAA
Aa
--text-secondary-accent
--background-panel
7:1
7.75:1AAA
Aa
--text-secondary-accent
--background-panel-alt
7:1
8.85:1AAA
Aa
--text-highlight
--background-canvas
7:1
13.01:1AAA
Aa
--text-highlight
--background-panel
7:1
10.71:1AAA
Aa
--text-highlight
--background-highlight
7:1
8.02:1AAA
Aa
--text-highlight
--background-highlight-canvas
7:1
10.16:1AAA
Aa
--text-on-accent
--background-accent
7:1
8.29:1AAA
Aa
--text-on-accent
--background-accent-hover
7:1
11.13:1AAA
Aa
--text-on-accent
--background-accent-pressed
7:1
13.99:1AAA
Aa
--text-disabled
--background-disabled
7:1
9.96:1AAA
Aa
--text-placeholder
--background-input
7:1
12.06:1AAA
Aa
--text-on-inverse
--background-inverse
7:1
18.49:1AAA
Aa
--status-error-text
--background-canvas
7:1
9.66:1AAA
Aa
--status-error-text
--background-panel
7:1
7.95:1AAA
Aa
--status-error-text
--background-input
7:1
9.07:1AAA
Aa
--status-error-text
--background-status-error
7:1
7.18:1AAA
Aa
--status-warning-text
--background-canvas
7:1
12.12:1AAA
Aa
--status-warning-text
--background-panel
7:1
9.97:1AAA
Aa
--status-warning-text
--background-input
7:1
11.39:1AAA
Aa
--status-warning-text
--background-status-warning
7:1
9.03:1AAA
Aa
--status-info-text
--background-canvas
7:1
10.60:1AAA
Aa
--status-info-text
--background-panel
7:1
8.72:1AAA
Aa
--status-info-text
--background-input
7:1
9.96:1AAA
Aa
--status-info-text
--background-status-info
7:1
7.98:1AAA
--border-control
--background-canvas
3:1
3.77:13:1
--border-control
--background-panel
3:1
3.61:13:1
--border-control
--background-input
3:1
3.78:13:1
--border-control-hover
--background-canvas
3:1
7.11:13:1
--border-control-hover
--background-panel
3:1
6.31:13:1
--border-control-hover
--background-input
3:1
6.86:13:1
--border-error
--background-input
3:1
9.07:13:1
--border-error
--background-canvas
3:1
9.66:13:1
--border-accent
--background-canvas
3:1
11.13:13:1
--border-accent
--background-panel
3:1
9.16:13:1
--border-accent-strong
--background-canvas
3:1
8.29:13:1
--focus-ring
--background-canvas
3:1
11.13:13:1
--focus-ring
--background-panel
3:1
9.16:13:1
--focus-ring
--background-panel-alt
3:1
10.46:13:1
--focus-ring
--background-panel-tint
3:1
9.16:13:1
--focus-ring
--background-panel-hover
3:1
7.61:13:1
--focus-ring
--background-panel-selected
3:1
7.01:13:1
--focus-ring
--background-chip
3:1
9.37:13:1
--focus-ring
--background-input
3:1
10.46:13:1
--focus-ring
--focus-halo
3:1
11.13:13:1
--focus-ring-on-accent
--background-accent
3:1
8.29:13:1
--focus-ring-on-accent
--background-accent-hover
3:1
11.13:13:1
--focus-ring-on-accent
--background-accent-pressed
3:1
13.99:13:1
--icon-accent
--background-canvas
3:1
8.29:13:1
--icon-accent
--background-panel
3:1
6.82:13:1
--icon-accent
--background-arrow-tile
3:1
5.66:13:1
--icon-on-tile
--background-icon-tile
3:1
7.01:13:1
Aa
--selection-text
--selection-background
7:1
11.13:1AAA
--logo-tile
--background-canvas
3:1
8.29:13:1
--logo-tile
--background-panel
3:1
6.82:13:1
--logo-tile
--background-panel-tint
3:1
6.82:13:1
--logo-ink
--logo-tile
3:1
8.29:13:1
--logo-mono-tile
--background-canvas
3:1
18.49:13:1
--logo-mono-ink
--logo-mono-tile
3:1
18.49:13:1
--border-accent-strong
--background-panel-selected
3:1
5.22:13:1
Aa
--text-muted
--background-panel-alt
7:1
12.06:1AAA
Aa
--text-muted
--background-panel-hover
7:1
8.77:1AAA
--glow-4
--background-panel
3:1
9.16:13:1
--glow-4
--background-canvas
3:1
11.13:13:1
Aa
--button-primary-text
--button-primary-bg
7:1
8.29:1AAA
Aa
--button-primary-text
--button-primary-bg-hover
7:1
11.13:1AAA
Aa
--button-primary-text
--button-primary-bg-pressed
7:1
13.99:1AAA
--button-primary-focus-ring
--button-primary-bg
3:1
8.29:13:1
--button-primary-focus-ring
--button-primary-bg-hover
3:1
11.13:13:1
Aa
--button-disabled-text
--button-disabled-bg
7:1
9.96:1AAA
Aa
--button-ghost-text
--button-ghost-fill
7:1
18.49:1AAA
Aa
--button-ghost-text
--button-ghost-fill-hover
7:1
15.57:1AAA
--button-ghost-border
--button-ghost-fill
3:1
3.77:13:1
Aa
--button-text-link
--background-canvas
7:1
11.13:1AAA
Aa
--chip-text
--chip-bg
7:1
15.57:1AAA
Aa
--chip-text
--chip-bg-on-panel
7:1
12.42:1AAA
Aa
--chip-text-selected
--chip-bg-selected
7:1
8.29:1AAA
--chip-focus-ring-selected
--chip-bg-selected
3:1
8.29:13:1
Aa
--chip-count
--chip-bg
7:1
10.81:1AAA
Aa
--row-title
--row-bg
7:1
15.21:1AAA
Aa
--row-title
--row-bg-hover
7:1
12.63:1AAA
Aa
--row-desc
--row-bg
7:1
10.56:1AAA
Aa
--row-desc
--row-bg-hover
7:1
8.77:1AAA
--row-icon
--row-icon-tile-bg
3:1
7.01:13:1
--row-arrow
--row-arrow-bg
3:1
5.66:13:1
--row-arrow-hover
--row-arrow-bg-hover
3:1
8.29:13:1
Aa
--card-title
--card-bg
7:1
15.21:1AAA
Aa
--card-body
--card-bg
7:1
10.56:1AAA
Aa
--card-eyebrow
--card-bg
7:1
9.16:1AAA
Aa
--card-badge-text
--card-badge-bg
7:1
8.29:1AAA
Aa
--metric-value
--metric-bg
7:1
15.21:1AAA
Aa
--metric-value-highlight
--metric-bg
7:1
10.71:1AAA
Aa
--metric-label
--metric-bg
7:1
10.56:1AAA
Aa
--input-text
--input-bg
7:1
17.37:1AAA
Aa
--input-placeholder
--input-bg
7:1
12.06:1AAA
--input-border
--input-bg
3:1
3.78:13:1
--input-border-error
--input-bg
3:1
9.07:13:1
Aa
--input-label
--background-canvas
7:1
18.49:1AAA
Aa
--input-helper
--background-canvas
7:1
12.84:1AAA
Aa
--header-link
--header-bg-solid
7:1
18.49:1AAA
--header-indicator
--header-bg-solid
3:1
8.29:13:1
Aa
--eyebrow-text
--background-canvas
7:1
11.13:1AAA
Aa
--meta-text
--meta-bg
7:1
15.57:1AAA
--meta-dot
--meta-bg
3:1
6.98:13:1
Aa
--toast-text
--toast-bg
7:1
18.49:1AAA
Aa
--toc-current-text
--background-canvas
7:1
11.13:1AAA
Aa
--tag-tbc-text
--tag-tbc-bg
7:1
8.02:1AAA
Aa
--tag-tbc-text
--tag-tbc-bg-canvas
7:1
10.16:1AAA
Aa
--tag-text
--tag-bg
7:1
15.57:1AAA
Aa
--alert-success-text
--alert-success-bg
7:1
9.16:1AAA
Aa
--alert-error-text
--alert-error-bg
7:1
7.18:1AAA
Aa
--alert-warning-text
--alert-warning-bg
7:1
9.03:1AAA
Aa
--alert-info-text
--alert-info-bg
7:1
7.98:1AAA
Aa
--badge-award-text
--badge-award-bg
7:1
8.02:1AAA
Aa
--tab-text-current
--background-canvas
7:1
11.13:1AAA
--stepper-marker-border
--stepper-marker-bg
3:1
3.61:13:1
--quote-border
--background-canvas
3:1
11.13:13:1
--symbol-tile
--background-canvas
3:1
8.29:13:1
--symbol-ink
--symbol-tile
3:1
8.29:13:1
--symbol-mono-ink
--symbol-mono-tile
3:1
18.49:13:1
--row-arrow-bg-hover
--row-bg-hover
3:1
5.66:13:1
--row-line-hover
--row-bg
3:1
9.16:13:1
--focus-ring
--row-bg-hover
3:1
7.61:13:1
Aa
--badge-accent-text
--badge-accent-bg
7:1
8.29:1AAA
Aa
--badge-highlight-text
--badge-highlight-bg
7:1
8.02:1AAA
Aa
--badge-highlight-text
--background-highlight-canvas
7:1
10.16:1AAA
--chip-line-hover
--chip-bg
3:1
6.45:13:1
--meta-sep
--meta-bg
3:1
6.98:13:1
--field-line
--field-fill
3:1
3.78:13:1
--field-line-hover
--field-fill
3:1
6.86:13:1
--field-line-error
--field-fill
3:1
9.07:13:1
Aa
--hero-accent
--background-canvas
7:1
8.29:1AAA
--toc-indicator
--background-canvas
3:1
8.29:13:1
Aa
text-display on scrim-hero ≥86% over white
--scrim-hero
7:1
12.48:1AAA
Aa
text-display on the photo (scrim 86% over white)
--scrim-hero
7:1
12.48:1AAA
Aa
--text-muted on the photo (scrim 86% over white)
--scrim-hero
7:1
8.67:1AAA
Aa
--hero-accent-on-photo on the photo (scrim 86% over white)
--scrim-hero
7:1
7.52:1AAA
Aa
--eyebrow-text on the photo (scrim 92% over white)
--scrim-hero
7:1
9.13:1AAA
Aa
text-display on scrim-header ≥82% over white
--scrim-header
7:1
10.75:1AAA
button-ghost-border on scrim-header ≥82% over white
--scrim-header
3:1
3.14:13:1
--logo-tile on scrim-header ≥82% over white
--scrim-header
3:1
4.82:13:1
Day: every pair the build checks
Sample
Foreground
Background
Needs
Measured
Aa
--text-display
--background-canvas
7:1
17.42:1AAA
Aa
--text-display
--background-panel
7:1
17.61:1AAA
Aa
--text-display
--background-panel-alt
7:1
16.86:1AAA
Aa
--text-display
--background-panel-tint
7:1
16.83:1AAA
Aa
--text-display
--background-panel-hover
7:1
16.83:1AAA
Aa
--text-display
--background-panel-selected
7:1
15.50:1AAA
Aa
--text-display
--background-chip
7:1
16.01:1AAA
Aa
--text-display
--background-chip-on-panel
7:1
16.01:1AAA
Aa
--text-display
--background-input
7:1
17.61:1AAA
Aa
--text-display
--background-status-error
7:1
16.20:1AAA
Aa
--text-body
--background-canvas
7:1
10.07:1AAA
Aa
--text-body
--background-panel
7:1
10.18:1AAA
Aa
--text-body
--background-panel-alt
7:1
9.74:1AAA
Aa
--text-body
--background-panel-tint
7:1
9.73:1AAA
Aa
--text-body
--background-panel-hover
7:1
9.73:1AAA
Aa
--text-body
--background-panel-selected
7:1
8.95:1AAA
Aa
--text-body
--background-chip
7:1
9.25:1AAA
Aa
--text-body
--background-chip-on-panel
7:1
9.25:1AAA
Aa
--text-body
--background-input
7:1
10.18:1AAA
Aa
--text-body
--background-status-error
7:1
9.36:1AAA
Aa
--text-muted
--background-canvas
7:1
7.28:1AAA
Aa
--text-muted
--background-panel
7:1
7.36:1AAA
Aa
--text-muted-on-tint
--background-panel-tint
7:1
9.73:1AAA
Aa
--text-muted-on-tint
--background-panel-alt
7:1
9.74:1AAA
Aa
--text-muted-on-tint
--background-panel-hover
7:1
9.73:1AAA
Aa
--text-muted-on-tint
--background-panel-selected
7:1
8.95:1AAA
Aa
--text-muted-on-tint
--background-chip
7:1
9.25:1AAA
Aa
--text-muted-on-tint
--background-chip-on-panel
7:1
9.25:1AAA
Aa
--text-accent
--background-canvas
7:1
8.46:1AAA
Aa
--text-accent
--background-panel
7:1
8.56:1AAA
Aa
--text-accent
--background-panel-alt
7:1
8.19:1AAA
Aa
--text-accent
--background-panel-tint
7:1
8.18:1AAA
Aa
--text-accent
--background-panel-hover
7:1
8.18:1AAA
Aa
--text-accent
--background-chip
7:1
7.78:1AAA
Aa
--text-accent
--background-chip-on-panel
7:1
7.78:1AAA
Aa
--text-accent-strong
--background-canvas
7:1
8.46:1AAA
Aa
--text-secondary-accent
--background-canvas
7:1
10.39:1AAA
Aa
--text-secondary-accent
--background-panel
7:1
10.50:1AAA
Aa
--text-secondary-accent
--background-panel-alt
7:1
10.05:1AAA
Aa
--text-highlight
--background-canvas
7:1
8.99:1AAA
Aa
--text-highlight
--background-panel
7:1
9.09:1AAA
Aa
--text-highlight
--background-highlight
7:1
8.80:1AAA
Aa
--text-highlight
--background-highlight-canvas
7:1
8.80:1AAA
Aa
--text-on-accent
--background-accent
7:1
8.56:1AAA
Aa
--text-on-accent
--background-accent-hover
7:1
10.81:1AAA
Aa
--text-on-accent
--background-accent-pressed
7:1
15.42:1AAA
Aa
--text-disabled
--background-disabled
7:1
8.22:1AAA
Aa
--text-placeholder
--background-input
7:1
7.36:1AAA
Aa
--text-on-inverse
--background-inverse
7:1
17.42:1AAA
Aa
--status-error-text
--background-canvas
7:1
8.57:1AAA
Aa
--status-error-text
--background-panel
7:1
8.66:1AAA
Aa
--status-error-text
--background-input
7:1
8.66:1AAA
Aa
--status-error-text
--background-status-error
7:1
7.97:1AAA
Aa
--status-warning-text
--background-canvas
7:1
7.44:1AAA
Aa
--status-warning-text
--background-panel
7:1
7.52:1AAA
Aa
--status-warning-text
--background-input
7:1
7.52:1AAA
Aa
--status-warning-text
--background-status-warning
7:1
7.21:1AAA
Aa
--status-info-text
--background-canvas
7:1
8.10:1AAA
Aa
--status-info-text
--background-panel
7:1
8.19:1AAA
Aa
--status-info-text
--background-input
7:1
8.19:1AAA
Aa
--status-info-text
--background-status-info
7:1
7.62:1AAA
--border-control
--background-canvas
3:1
4.72:13:1
--border-control
--background-panel
3:1
4.78:13:1
--border-control
--background-input
3:1
4.78:13:1
--border-control-hover
--background-canvas
3:1
10.07:13:1
--border-control-hover
--background-panel
3:1
10.18:13:1
--border-control-hover
--background-input
3:1
10.18:13:1
--border-error
--background-input
3:1
8.66:13:1
--border-error
--background-canvas
3:1
8.57:13:1
--border-accent
--background-canvas
3:1
8.46:13:1
--border-accent
--background-panel
3:1
8.56:13:1
--border-accent-strong
--background-canvas
3:1
8.46:13:1
--focus-ring
--background-canvas
3:1
8.46:13:1
--focus-ring
--background-panel
3:1
8.56:13:1
--focus-ring
--background-panel-alt
3:1
8.19:13:1
--focus-ring
--background-panel-tint
3:1
8.18:13:1
--focus-ring
--background-panel-hover
3:1
8.18:13:1
--focus-ring
--background-panel-selected
3:1
7.53:13:1
--focus-ring
--background-chip
3:1
7.78:13:1
--focus-ring
--background-input
3:1
8.56:13:1
--focus-ring
--focus-halo
3:1
8.46:13:1
--focus-ring-on-accent
--background-accent
3:1
8.46:13:1
--focus-ring-on-accent
--background-accent-hover
3:1
10.69:13:1
--focus-ring-on-accent
--background-accent-pressed
3:1
15.26:13:1
--icon-accent
--background-canvas
3:1
8.46:13:1
--icon-accent
--background-panel
3:1
8.56:13:1
--icon-accent
--background-arrow-tile
3:1
8.18:13:1
--icon-on-tile
--background-icon-tile
3:1
7.53:13:1
Aa
--selection-text
--selection-background
7:1
8.56:1AAA
--logo-tile
--background-canvas
3:1
8.46:13:1
--logo-tile
--background-panel
3:1
8.56:13:1
--logo-tile
--background-panel-tint
3:1
8.18:13:1
--logo-ink
--logo-tile
3:1
8.44:13:1
--logo-mono-tile
--background-canvas
3:1
8.46:13:1
--logo-mono-ink
--logo-mono-tile
3:1
8.44:13:1
--border-accent-strong
--background-panel-selected
3:1
7.53:13:1
Aa
--button-primary-text
--button-primary-bg
7:1
8.56:1AAA
Aa
--button-primary-text
--button-primary-bg-hover
7:1
10.81:1AAA
Aa
--button-primary-text
--button-primary-bg-pressed
7:1
15.42:1AAA
--button-primary-focus-ring
--button-primary-bg
3:1
8.46:13:1
--button-primary-focus-ring
--button-primary-bg-hover
3:1
10.69:13:1
Aa
--button-disabled-text
--button-disabled-bg
7:1
8.22:1AAA
Aa
--button-ghost-text
--button-ghost-fill
7:1
17.42:1AAA
Aa
--button-ghost-text
--button-ghost-fill-hover
7:1
16.01:1AAA
--button-ghost-border
--button-ghost-fill
3:1
4.72:13:1
Aa
--button-text-link
--background-canvas
7:1
8.46:1AAA
Aa
--chip-text
--chip-bg
7:1
16.01:1AAA
Aa
--chip-text
--chip-bg-on-panel
7:1
16.01:1AAA
Aa
--chip-text-selected
--chip-bg-selected
7:1
8.56:1AAA
--chip-focus-ring-selected
--chip-bg-selected
3:1
8.46:13:1
Aa
--chip-count
--chip-bg
7:1
9.25:1AAA
Aa
--row-title
--row-bg
7:1
17.61:1AAA
Aa
--row-title
--row-bg-hover
7:1
16.83:1AAA
Aa
--row-desc
--row-bg
7:1
10.18:1AAA
Aa
--row-desc
--row-bg-hover
7:1
9.73:1AAA
--row-icon
--row-icon-tile-bg
3:1
7.53:13:1
--row-arrow
--row-arrow-bg
3:1
8.18:13:1
--row-arrow-hover
--row-arrow-bg-hover
3:1
8.56:13:1
Aa
--card-title
--card-bg
7:1
17.61:1AAA
Aa
--card-body
--card-bg
7:1
7.36:1AAA
Aa
--card-eyebrow
--card-bg
7:1
8.56:1AAA
Aa
--card-badge-text
--card-badge-bg
7:1
8.56:1AAA
Aa
--metric-value
--metric-bg
7:1
17.61:1AAA
Aa
--metric-value-highlight
--metric-bg
7:1
9.09:1AAA
Aa
--metric-label
--metric-bg
7:1
7.36:1AAA
Aa
--input-text
--input-bg
7:1
17.61:1AAA
Aa
--input-placeholder
--input-bg
7:1
7.36:1AAA
--input-border
--input-bg
3:1
4.78:13:1
--input-border-error
--input-bg
3:1
8.66:13:1
Aa
--input-label
--background-canvas
7:1
17.42:1AAA
Aa
--input-helper
--background-canvas
7:1
7.28:1AAA
Aa
--header-link
--header-bg-solid
7:1
17.42:1AAA
--header-indicator
--header-bg-solid
3:1
8.46:13:1
Aa
--eyebrow-text
--background-canvas
7:1
8.46:1AAA
Aa
--meta-text
--meta-bg
7:1
16.01:1AAA
--meta-dot
--meta-bg
3:1
7.78:13:1
Aa
--toast-text
--toast-bg
7:1
17.42:1AAA
Aa
--toc-current-text
--background-canvas
7:1
8.46:1AAA
Aa
--tag-tbc-text
--tag-tbc-bg
7:1
8.80:1AAA
Aa
--tag-tbc-text
--tag-tbc-bg-canvas
7:1
8.80:1AAA
Aa
--tag-text
--tag-bg
7:1
16.01:1AAA
Aa
--alert-success-text
--alert-success-bg
7:1
8.18:1AAA
Aa
--alert-error-text
--alert-error-bg
7:1
7.97:1AAA
Aa
--alert-warning-text
--alert-warning-bg
7:1
7.21:1AAA
Aa
--alert-info-text
--alert-info-bg
7:1
7.62:1AAA
Aa
--badge-award-text
--badge-award-bg
7:1
8.80:1AAA
Aa
--tab-text-current
--background-canvas
7:1
8.46:1AAA
--stepper-marker-border
--stepper-marker-bg
3:1
4.78:13:1
--quote-border
--background-canvas
3:1
8.46:13:1
--symbol-tile
--background-canvas
3:1
8.46:13:1
--symbol-ink
--symbol-tile
3:1
8.44:13:1
--symbol-mono-ink
--symbol-mono-tile
3:1
8.44:13:1
--row-arrow-bg-hover
--row-bg-hover
3:1
8.18:13:1
--row-line-hover
--row-bg
3:1
8.56:13:1
--focus-ring
--row-bg-hover
3:1
8.18:13:1
Aa
--badge-accent-text
--badge-accent-bg
7:1
8.56:1AAA
Aa
--badge-highlight-text
--badge-highlight-bg
7:1
8.80:1AAA
Aa
--badge-highlight-text
--background-highlight-canvas
7:1
8.80:1AAA
--chip-line-hover
--chip-bg
3:1
9.25:13:1
--meta-sep
--meta-bg
3:1
7.78:13:1
--field-line
--field-fill
3:1
4.78:13:1
--field-line-hover
--field-fill
3:1
10.18:13:1
--field-line-error
--field-fill
3:1
8.66:13:1
Aa
--hero-accent
--background-canvas
7:1
8.46:1AAA
--toc-indicator
--background-canvas
3:1
8.46:13:1
Aa
text-display on scrim-hero ≥86% over white
--scrim-hero
7:1
12.48:1AAA
Aa
text-display on the photo (scrim 86% over white)
--scrim-hero
7:1
12.48:1AAA
Aa
--text-muted on the photo (scrim 86% over white)
--scrim-hero
7:1
8.67:1AAA
Aa
--hero-accent-on-photo on the photo (scrim 86% over white)
--scrim-hero
7:1
7.52:1AAA
Aa
--eyebrow-text on the photo (scrim 92% over white)
--scrim-hero
7:1
9.13:1AAA
Aa
text-display on scrim-header ≥82% over white
--scrim-header
7:1
10.75:1AAA
button-ghost-border on scrim-header ≥82% over white
--scrim-header
3:1
3.14:13:1
--logo-tile on scrim-header ≥82% over white
--scrim-header
3:1
4.82:13:1
Night, more contrast: every pair the build checks
Sample
Foreground
Background
Needs
Measured
Aa
--text-display
--background-canvas
7:1
18.49:1AAA
Aa
--text-display
--background-panel
7:1
15.21:1AAA
Aa
--text-display
--background-panel-alt
7:1
17.37:1AAA
Aa
--text-display
--background-panel-tint
7:1
15.21:1AAA
Aa
--text-display
--background-panel-hover
7:1
12.63:1AAA
Aa
--text-display
--background-panel-selected
7:1
11.64:1AAA
Aa
--text-display
--background-chip
7:1
18.49:1AAA
Aa
--text-display
--background-chip-on-panel
7:1
18.49:1AAA
Aa
--text-display
--background-input
7:1
17.37:1AAA
Aa
--text-display
--background-status-error
7:1
13.75:1AAA
Aa
--text-body
--background-canvas
7:1
18.49:1AAA
Aa
--text-body
--background-panel
7:1
15.21:1AAA
Aa
--text-body
--background-panel-alt
7:1
17.37:1AAA
Aa
--text-body
--background-panel-tint
7:1
15.21:1AAA
Aa
--text-body
--background-panel-hover
7:1
12.63:1AAA
Aa
--text-body
--background-panel-selected
7:1
11.64:1AAA
Aa
--text-body
--background-chip
7:1
18.49:1AAA
Aa
--text-body
--background-chip-on-panel
7:1
18.49:1AAA
Aa
--text-body
--background-input
7:1
17.37:1AAA
Aa
--text-body
--background-status-error
7:1
13.75:1AAA
Aa
--text-muted
--background-canvas
7:1
18.49:1AAA
Aa
--text-muted
--background-panel
7:1
15.21:1AAA
Aa
--text-muted-on-tint
--background-panel-tint
7:1
15.21:1AAA
Aa
--text-muted-on-tint
--background-panel-alt
7:1
17.37:1AAA
Aa
--text-muted-on-tint
--background-panel-hover
7:1
12.63:1AAA
Aa
--text-muted-on-tint
--background-panel-selected
7:1
11.64:1AAA
Aa
--text-muted-on-tint
--background-chip
7:1
18.49:1AAA
Aa
--text-muted-on-tint
--background-chip-on-panel
7:1
18.49:1AAA
Aa
--text-accent
--background-canvas
7:1
13.99:1AAA
Aa
--text-accent
--background-panel
7:1
11.51:1AAA
Aa
--text-accent
--background-panel-alt
7:1
13.14:1AAA
Aa
--text-accent
--background-panel-tint
7:1
11.51:1AAA
Aa
--text-accent
--background-panel-hover
7:1
9.56:1AAA
Aa
--text-accent
--background-chip
7:1
13.99:1AAA
Aa
--text-accent
--background-chip-on-panel
7:1
13.99:1AAA
Aa
--text-accent-strong
--background-canvas
7:1
8.29:1AAA
Aa
--text-secondary-accent
--background-canvas
7:1
9.41:1AAA
Aa
--text-secondary-accent
--background-panel
7:1
7.75:1AAA
Aa
--text-secondary-accent
--background-panel-alt
7:1
8.85:1AAA
Aa
--text-highlight
--background-canvas
7:1
13.01:1AAA
Aa
--text-highlight
--background-panel
7:1
10.71:1AAA
Aa
--text-highlight
--background-highlight
7:1
8.02:1AAA
Aa
--text-highlight
--background-highlight-canvas
7:1
10.16:1AAA
Aa
--text-on-accent
--background-accent
7:1
8.29:1AAA
Aa
--text-on-accent
--background-accent-hover
7:1
11.13:1AAA
Aa
--text-on-accent
--background-accent-pressed
7:1
13.99:1AAA
Aa
--text-disabled
--background-disabled
7:1
9.96:1AAA
Aa
--text-placeholder
--background-input
7:1
12.06:1AAA
Aa
--text-on-inverse
--background-inverse
7:1
18.49:1AAA
Aa
--status-error-text
--background-canvas
7:1
9.66:1AAA
Aa
--status-error-text
--background-panel
7:1
7.95:1AAA
Aa
--status-error-text
--background-input
7:1
9.07:1AAA
Aa
--status-error-text
--background-status-error
7:1
7.18:1AAA
Aa
--status-warning-text
--background-canvas
7:1
12.12:1AAA
Aa
--status-warning-text
--background-panel
7:1
9.97:1AAA
Aa
--status-warning-text
--background-input
7:1
11.39:1AAA
Aa
--status-warning-text
--background-status-warning
7:1
9.03:1AAA
Aa
--status-info-text
--background-canvas
7:1
10.60:1AAA
Aa
--status-info-text
--background-panel
7:1
8.72:1AAA
Aa
--status-info-text
--background-input
7:1
9.96:1AAA
Aa
--status-info-text
--background-status-info
7:1
7.98:1AAA
--border-control
--background-canvas
3:1
7.11:13:1
--border-control
--background-panel
3:1
6.31:13:1
--border-control
--background-input
3:1
6.86:13:1
--border-control-hover
--background-canvas
3:1
18.49:13:1
--border-control-hover
--background-panel
3:1
15.21:13:1
--border-control-hover
--background-input
3:1
17.37:13:1
--border-error
--background-input
3:1
9.07:13:1
--border-error
--background-canvas
3:1
9.66:13:1
--border-accent
--background-canvas
3:1
13.99:13:1
--border-accent
--background-panel
3:1
11.51:13:1
--border-accent-strong
--background-canvas
3:1
8.29:13:1
--focus-ring
--background-canvas
3:1
13.99:13:1
--focus-ring
--background-panel
3:1
11.51:13:1
--focus-ring
--background-panel-alt
3:1
13.14:13:1
--focus-ring
--background-panel-tint
3:1
11.51:13:1
--focus-ring
--background-panel-hover
3:1
9.56:13:1
--focus-ring
--background-panel-selected
3:1
8.81:13:1
--focus-ring
--background-chip
3:1
13.99:13:1
--focus-ring
--background-input
3:1
13.14:13:1
--focus-ring
--focus-halo
3:1
13.99:13:1
--focus-ring-on-accent
--background-accent
3:1
8.29:13:1
--focus-ring-on-accent
--background-accent-hover
3:1
11.13:13:1
--focus-ring-on-accent
--background-accent-pressed
3:1
13.99:13:1
--icon-accent
--background-canvas
3:1
11.13:13:1
--icon-accent
--background-panel
3:1
9.16:13:1
--icon-accent
--background-arrow-tile
3:1
7.61:13:1
--icon-on-tile
--background-icon-tile
3:1
8.81:13:1
Aa
--selection-text
--selection-background
7:1
11.13:1AAA
--logo-tile
--background-canvas
3:1
8.29:13:1
--logo-tile
--background-panel
3:1
6.82:13:1
--logo-tile
--background-panel-tint
3:1
6.82:13:1
--logo-ink
--logo-tile
3:1
8.29:13:1
--logo-mono-tile
--background-canvas
3:1
18.49:13:1
--logo-mono-ink
--logo-mono-tile
3:1
18.49:13:1
--border-accent-strong
--background-panel-selected
3:1
5.22:13:1
Aa
--text-muted
--background-panel-alt
7:1
17.37:1AAA
Aa
--text-muted
--background-panel-hover
7:1
12.63:1AAA
--glow-4
--background-panel
3:1
9.16:13:1
--glow-4
--background-canvas
3:1
11.13:13:1
Aa
--button-primary-text
--button-primary-bg
7:1
8.29:1AAA
Aa
--button-primary-text
--button-primary-bg-hover
7:1
11.13:1AAA
Aa
--button-primary-text
--button-primary-bg-pressed
7:1
13.99:1AAA
--button-primary-focus-ring
--button-primary-bg
3:1
8.29:13:1
--button-primary-focus-ring
--button-primary-bg-hover
3:1
11.13:13:1
Aa
--button-disabled-text
--button-disabled-bg
7:1
9.96:1AAA
Aa
--button-ghost-text
--button-ghost-fill
7:1
18.49:1AAA
Aa
--button-ghost-text
--button-ghost-fill-hover
7:1
18.49:1AAA
--button-ghost-border
--button-ghost-fill
3:1
7.11:13:1
Aa
--button-text-link
--background-canvas
7:1
13.99:1AAA
Aa
--chip-text
--chip-bg
7:1
18.49:1AAA
Aa
--chip-text
--chip-bg-on-panel
7:1
18.49:1AAA
Aa
--chip-text-selected
--chip-bg-selected
7:1
8.29:1AAA
--chip-focus-ring-selected
--chip-bg-selected
3:1
8.29:13:1
Aa
--chip-count
--chip-bg
7:1
18.49:1AAA
Aa
--row-title
--row-bg
7:1
15.21:1AAA
Aa
--row-title
--row-bg-hover
7:1
12.63:1AAA
Aa
--row-desc
--row-bg
7:1
15.21:1AAA
Aa
--row-desc
--row-bg-hover
7:1
12.63:1AAA
--row-icon
--row-icon-tile-bg
3:1
8.81:13:1
--row-arrow
--row-arrow-bg
3:1
7.61:13:1
--row-arrow-hover
--row-arrow-bg-hover
3:1
8.29:13:1
Aa
--card-title
--card-bg
7:1
15.21:1AAA
Aa
--card-body
--card-bg
7:1
15.21:1AAA
Aa
--card-eyebrow
--card-bg
7:1
11.51:1AAA
Aa
--card-badge-text
--card-badge-bg
7:1
8.29:1AAA
Aa
--metric-value
--metric-bg
7:1
15.21:1AAA
Aa
--metric-value-highlight
--metric-bg
7:1
10.71:1AAA
Aa
--metric-label
--metric-bg
7:1
15.21:1AAA
Aa
--input-text
--input-bg
7:1
17.37:1AAA
Aa
--input-placeholder
--input-bg
7:1
12.06:1AAA
--input-border
--input-bg
3:1
6.86:13:1
--input-border-error
--input-bg
3:1
9.07:13:1
Aa
--input-label
--background-canvas
7:1
18.49:1AAA
Aa
--input-helper
--background-canvas
7:1
18.49:1AAA
Aa
--header-link
--header-bg-solid
7:1
18.49:1AAA
--header-indicator
--header-bg-solid
3:1
8.29:13:1
Aa
--eyebrow-text
--background-canvas
7:1
13.99:1AAA
Aa
--meta-text
--meta-bg
7:1
18.49:1AAA
--meta-dot
--meta-bg
3:1
8.29:13:1
Aa
--toast-text
--toast-bg
7:1
18.49:1AAA
Aa
--toc-current-text
--background-canvas
7:1
13.99:1AAA
Aa
--tag-tbc-text
--tag-tbc-bg
7:1
8.02:1AAA
Aa
--tag-tbc-text
--tag-tbc-bg-canvas
7:1
10.16:1AAA
Aa
--tag-text
--tag-bg
7:1
18.49:1AAA
Aa
--alert-success-text
--alert-success-bg
7:1
11.51:1AAA
Aa
--alert-error-text
--alert-error-bg
7:1
7.18:1AAA
Aa
--alert-warning-text
--alert-warning-bg
7:1
9.03:1AAA
Aa
--alert-info-text
--alert-info-bg
7:1
7.98:1AAA
Aa
--badge-award-text
--badge-award-bg
7:1
8.02:1AAA
Aa
--tab-text-current
--background-canvas
7:1
13.99:1AAA
--stepper-marker-border
--stepper-marker-bg
3:1
6.31:13:1
--quote-border
--background-canvas
3:1
13.99:13:1
--symbol-tile
--background-canvas
3:1
8.29:13:1
--symbol-ink
--symbol-tile
3:1
8.29:13:1
--symbol-mono-ink
--symbol-mono-tile
3:1
18.49:13:1
--row-arrow-bg-hover
--row-bg-hover
3:1
5.66:13:1
--row-line-hover
--row-bg
3:1
11.51:13:1
--focus-ring
--row-bg-hover
3:1
9.56:13:1
Aa
--badge-accent-text
--badge-accent-bg
7:1
8.29:1AAA
Aa
--badge-highlight-text
--badge-highlight-bg
7:1
8.02:1AAA
Aa
--badge-highlight-text
--background-highlight-canvas
7:1
10.16:1AAA
--chip-line-hover
--chip-bg
3:1
18.49:13:1
--meta-sep
--meta-bg
3:1
8.29:13:1
--field-line
--field-fill
3:1
6.86:13:1
--field-line-hover
--field-fill
3:1
17.37:13:1
--field-line-error
--field-fill
3:1
9.07:13:1
Aa
--hero-accent
--background-canvas
7:1
8.29:1AAA
--toc-indicator
--background-canvas
3:1
8.29:13:1
Aa
text-display on scrim-hero ≥100% over white
--scrim-hero
7:1
18.49:1AAA
Aa
text-display on the photo (scrim 100% over white)
--scrim-hero
7:1
18.49:1AAA
Aa
--text-muted on the photo (scrim 100% over white)
--scrim-hero
7:1
18.49:1AAA
Aa
--hero-accent-on-photo on the photo (scrim 100% over white)
--scrim-hero
7:1
13.99:1AAA
Aa
--eyebrow-text on the photo (scrim 100% over white)
--scrim-hero
7:1
13.99:1AAA
Aa
text-display on scrim-header ≥100% over white
--scrim-header
7:1
18.49:1AAA
button-ghost-border on scrim-header ≥100% over white
--scrim-header
3:1
7.11:13:1
--logo-tile on scrim-header ≥100% over white
--scrim-header
3:1
8.29:13:1
Day, more contrast: every pair the build checks
Sample
Foreground
Background
Needs
Measured
Aa
--text-display
--background-canvas
7:1
17.42:1AAA
Aa
--text-display
--background-panel
7:1
17.61:1AAA
Aa
--text-display
--background-panel-alt
7:1
16.86:1AAA
Aa
--text-display
--background-panel-tint
7:1
16.83:1AAA
Aa
--text-display
--background-panel-hover
7:1
16.83:1AAA
Aa
--text-display
--background-panel-selected
7:1
15.50:1AAA
Aa
--text-display
--background-chip
7:1
17.61:1AAA
Aa
--text-display
--background-chip-on-panel
7:1
17.61:1AAA
Aa
--text-display
--background-input
7:1
17.61:1AAA
Aa
--text-display
--background-status-error
7:1
16.20:1AAA
Aa
--text-body
--background-canvas
7:1
17.42:1AAA
Aa
--text-body
--background-panel
7:1
17.61:1AAA
Aa
--text-body
--background-panel-alt
7:1
16.86:1AAA
Aa
--text-body
--background-panel-tint
7:1
16.83:1AAA
Aa
--text-body
--background-panel-hover
7:1
16.83:1AAA
Aa
--text-body
--background-panel-selected
7:1
15.50:1AAA
Aa
--text-body
--background-chip
7:1
17.61:1AAA
Aa
--text-body
--background-chip-on-panel
7:1
17.61:1AAA
Aa
--text-body
--background-input
7:1
17.61:1AAA
Aa
--text-body
--background-status-error
7:1
16.20:1AAA
Aa
--text-muted
--background-canvas
7:1
14.38:1AAA
Aa
--text-muted
--background-panel
7:1
14.54:1AAA
Aa
--text-muted-on-tint
--background-panel-tint
7:1
13.89:1AAA
Aa
--text-muted-on-tint
--background-panel-alt
7:1
13.91:1AAA
Aa
--text-muted-on-tint
--background-panel-hover
7:1
13.89:1AAA
Aa
--text-muted-on-tint
--background-panel-selected
7:1
12.79:1AAA
Aa
--text-muted-on-tint
--background-chip
7:1
14.54:1AAA
Aa
--text-muted-on-tint
--background-chip-on-panel
7:1
14.54:1AAA
Aa
--text-accent
--background-canvas
7:1
10.69:1AAA
Aa
--text-accent
--background-panel
7:1
10.81:1AAA
Aa
--text-accent
--background-panel-alt
7:1
10.35:1AAA
Aa
--text-accent
--background-panel-tint
7:1
10.33:1AAA
Aa
--text-accent
--background-panel-hover
7:1
10.33:1AAA
Aa
--text-accent
--background-chip
7:1
10.81:1AAA
Aa
--text-accent
--background-chip-on-panel
7:1
10.81:1AAA
Aa
--text-accent-strong
--background-canvas
7:1
10.69:1AAA
Aa
--text-secondary-accent
--background-canvas
7:1
10.39:1AAA
Aa
--text-secondary-accent
--background-panel
7:1
10.50:1AAA
Aa
--text-secondary-accent
--background-panel-alt
7:1
10.05:1AAA
Aa
--text-highlight
--background-canvas
7:1
8.99:1AAA
Aa
--text-highlight
--background-panel
7:1
9.09:1AAA
Aa
--text-highlight
--background-highlight
7:1
8.80:1AAA
Aa
--text-highlight
--background-highlight-canvas
7:1
8.80:1AAA
Aa
--text-on-accent
--background-accent
7:1
10.81:1AAA
Aa
--text-on-accent
--background-accent-hover
7:1
15.42:1AAA
Aa
--text-on-accent
--background-accent-pressed
7:1
15.42:1AAA
Aa
--text-disabled
--background-disabled
7:1
8.22:1AAA
Aa
--text-placeholder
--background-input
7:1
7.36:1AAA
Aa
--text-on-inverse
--background-inverse
7:1
17.42:1AAA
Aa
--status-error-text
--background-canvas
7:1
8.57:1AAA
Aa
--status-error-text
--background-panel
7:1
8.66:1AAA
Aa
--status-error-text
--background-input
7:1
8.66:1AAA
Aa
--status-error-text
--background-status-error
7:1
7.97:1AAA
Aa
--status-warning-text
--background-canvas
7:1
7.44:1AAA
Aa
--status-warning-text
--background-panel
7:1
7.52:1AAA
Aa
--status-warning-text
--background-input
7:1
7.52:1AAA
Aa
--status-warning-text
--background-status-warning
7:1
7.21:1AAA
Aa
--status-info-text
--background-canvas
7:1
8.10:1AAA
Aa
--status-info-text
--background-panel
7:1
8.19:1AAA
Aa
--status-info-text
--background-input
7:1
8.19:1AAA
Aa
--status-info-text
--background-status-info
7:1
7.62:1AAA
--border-control
--background-canvas
3:1
10.07:13:1
--border-control
--background-panel
3:1
10.18:13:1
--border-control
--background-input
3:1
10.18:13:1
--border-control-hover
--background-canvas
3:1
17.42:13:1
--border-control-hover
--background-panel
3:1
17.61:13:1
--border-control-hover
--background-input
3:1
17.61:13:1
--border-error
--background-input
3:1
8.66:13:1
--border-error
--background-canvas
3:1
8.57:13:1
--border-accent
--background-canvas
3:1
10.69:13:1
--border-accent
--background-panel
3:1
10.81:13:1
--border-accent-strong
--background-canvas
3:1
10.69:13:1
--focus-ring
--background-canvas
3:1
10.69:13:1
--focus-ring
--background-panel
3:1
10.81:13:1
--focus-ring
--background-panel-alt
3:1
10.35:13:1
--focus-ring
--background-panel-tint
3:1
10.33:13:1
--focus-ring
--background-panel-hover
3:1
10.33:13:1
--focus-ring
--background-panel-selected
3:1
9.51:13:1
--focus-ring
--background-chip
3:1
10.81:13:1
--focus-ring
--background-input
3:1
10.81:13:1
--focus-ring
--focus-halo
3:1
10.69:13:1
--focus-ring-on-accent
--background-accent
3:1
10.69:13:1
--focus-ring-on-accent
--background-accent-hover
3:1
15.26:13:1
--focus-ring-on-accent
--background-accent-pressed
3:1
15.26:13:1
--icon-accent
--background-canvas
3:1
10.69:13:1
--icon-accent
--background-panel
3:1
10.81:13:1
--icon-accent
--background-arrow-tile
3:1
10.33:13:1
--icon-on-tile
--background-icon-tile
3:1
9.51:13:1
Aa
--selection-text
--selection-background
7:1
8.56:1AAA
--logo-tile
--background-canvas
3:1
8.46:13:1
--logo-tile
--background-panel
3:1
8.56:13:1
--logo-tile
--background-panel-tint
3:1
8.18:13:1
--logo-ink
--logo-tile
3:1
8.44:13:1
--logo-mono-tile
--background-canvas
3:1
8.46:13:1
--logo-mono-ink
--logo-mono-tile
3:1
8.44:13:1
--border-accent-strong
--background-panel-selected
3:1
9.51:13:1
Aa
--button-primary-text
--button-primary-bg
7:1
10.81:1AAA
Aa
--button-primary-text
--button-primary-bg-hover
7:1
15.42:1AAA
Aa
--button-primary-text
--button-primary-bg-pressed
7:1
15.42:1AAA
--button-primary-focus-ring
--button-primary-bg
3:1
10.69:13:1
--button-primary-focus-ring
--button-primary-bg-hover
3:1
15.26:13:1
Aa
--button-disabled-text
--button-disabled-bg
7:1
8.22:1AAA
Aa
--button-ghost-text
--button-ghost-fill
7:1
17.42:1AAA
Aa
--button-ghost-text
--button-ghost-fill-hover
7:1
17.61:1AAA
--button-ghost-border
--button-ghost-fill
3:1
10.07:13:1
Aa
--button-text-link
--background-canvas
7:1
10.69:1AAA
Aa
--chip-text
--chip-bg
7:1
17.61:1AAA
Aa
--chip-text
--chip-bg-on-panel
7:1
17.61:1AAA
Aa
--chip-text-selected
--chip-bg-selected
7:1
10.81:1AAA
--chip-focus-ring-selected
--chip-bg-selected
3:1
10.69:13:1
Aa
--chip-count
--chip-bg
7:1
14.54:1AAA
Aa
--row-title
--row-bg
7:1
17.61:1AAA
Aa
--row-title
--row-bg-hover
7:1
16.83:1AAA
Aa
--row-desc
--row-bg
7:1
14.54:1AAA
Aa
--row-desc
--row-bg-hover
7:1
13.89:1AAA
--row-icon
--row-icon-tile-bg
3:1
9.51:13:1
--row-arrow
--row-arrow-bg
3:1
10.33:13:1
--row-arrow-hover
--row-arrow-bg-hover
3:1
10.81:13:1
Aa
--card-title
--card-bg
7:1
17.61:1AAA
Aa
--card-body
--card-bg
7:1
14.54:1AAA
Aa
--card-eyebrow
--card-bg
7:1
10.81:1AAA
Aa
--card-badge-text
--card-badge-bg
7:1
10.81:1AAA
Aa
--metric-value
--metric-bg
7:1
17.61:1AAA
Aa
--metric-value-highlight
--metric-bg
7:1
9.09:1AAA
Aa
--metric-label
--metric-bg
7:1
14.54:1AAA
Aa
--input-text
--input-bg
7:1
17.61:1AAA
Aa
--input-placeholder
--input-bg
7:1
7.36:1AAA
--input-border
--input-bg
3:1
10.18:13:1
--input-border-error
--input-bg
3:1
8.66:13:1
Aa
--input-label
--background-canvas
7:1
17.42:1AAA
Aa
--input-helper
--background-canvas
7:1
14.38:1AAA
Aa
--header-link
--header-bg-solid
7:1
17.42:1AAA
--header-indicator
--header-bg-solid
3:1
10.69:13:1
Aa
--eyebrow-text
--background-canvas
7:1
10.69:1AAA
Aa
--meta-text
--meta-bg
7:1
17.61:1AAA
--meta-dot
--meta-bg
3:1
10.81:13:1
Aa
--toast-text
--toast-bg
7:1
17.42:1AAA
Aa
--toc-current-text
--background-canvas
7:1
10.69:1AAA
Aa
--tag-tbc-text
--tag-tbc-bg
7:1
8.80:1AAA
Aa
--tag-tbc-text
--tag-tbc-bg-canvas
7:1
8.80:1AAA
Aa
--tag-text
--tag-bg
7:1
17.61:1AAA
Aa
--alert-success-text
--alert-success-bg
7:1
10.33:1AAA
Aa
--alert-error-text
--alert-error-bg
7:1
7.97:1AAA
Aa
--alert-warning-text
--alert-warning-bg
7:1
7.21:1AAA
Aa
--alert-info-text
--alert-info-bg
7:1
7.62:1AAA
Aa
--badge-award-text
--badge-award-bg
7:1
8.80:1AAA
Aa
--tab-text-current
--background-canvas
7:1
10.69:1AAA
--stepper-marker-border
--stepper-marker-bg
3:1
10.18:13:1
--quote-border
--background-canvas
3:1
10.69:13:1
--symbol-tile
--background-canvas
3:1
8.46:13:1
--symbol-ink
--symbol-tile
3:1
8.44:13:1
--symbol-mono-ink
--symbol-mono-tile
3:1
8.44:13:1
--row-arrow-bg-hover
--row-bg-hover
3:1
10.33:13:1
--row-line-hover
--row-bg
3:1
10.81:13:1
--focus-ring
--row-bg-hover
3:1
10.33:13:1
Aa
--badge-accent-text
--badge-accent-bg
7:1
10.81:1AAA
Aa
--badge-highlight-text
--badge-highlight-bg
7:1
8.80:1AAA
Aa
--badge-highlight-text
--background-highlight-canvas
7:1
8.80:1AAA
--chip-line-hover
--chip-bg
3:1
17.61:13:1
--meta-sep
--meta-bg
3:1
10.81:13:1
--field-line
--field-fill
3:1
10.18:13:1
--field-line-hover
--field-fill
3:1
17.61:13:1
--field-line-error
--field-fill
3:1
8.66:13:1
Aa
--hero-accent
--background-canvas
7:1
10.69:1AAA
--toc-indicator
--background-canvas
3:1
10.69:13:1
Aa
text-display on scrim-hero ≥100% over white
--scrim-hero
7:1
18.49:1AAA
Aa
text-display on the photo (scrim 100% over white)
--scrim-hero
7:1
18.49:1AAA
Aa
--text-muted on the photo (scrim 100% over white)
--scrim-hero
7:1
18.49:1AAA
Aa
--hero-accent-on-photo on the photo (scrim 100% over white)
--scrim-hero
7:1
13.99:1AAA
Aa
--eyebrow-text on the photo (scrim 100% over white)
--scrim-hero
7:1
13.99:1AAA
Aa
text-display on scrim-header ≥100% over white
--scrim-header
7:1
18.49:1AAA
button-ghost-border on scrim-header ≥100% over white
--scrim-header
3:1
7.11:13:1
--logo-tile on scrim-header ≥100% over white
--scrim-header
3:1
8.29:13:1
Pairs that are not allowed: the build checks that no component paints them
Sample
Mode
Foreground
Background
Measured
Aa
night
--text-accent-strong
--background-panel
6.82:1Fails
Aa
night
--text-secondary-accent
--background-panel-hover
6.43:1Fails
Aa
night
--text-accent
--background-panel-selected
7.01:1AAA
Aa
night
--focus-ring
--background-accent
1.34:1Fails
Aa
day
--text-muted
--background-chip
6.69:1Fails
Aa
day
--text-muted
--background-panel-tint
7.04:1AAA
Aa
day
--text-muted
--background-panel-alt
7.05:1AAA
Aa
day
green-600 as text on canvas
4.70:1Fails
Aa
seam
Night ring on Day canvas
1.67:1Fails
Aa
seam
Day ring on island canvas
2.19:1Fails
Aa
seam
Day ring on island panel
1.80:1Fails
Aa
logo
--Mono tile (Night) on the Day canvas
1.00:1Fails
Aa
logo
Night tile on the Day canvas
2.24:1Fails
Aa
logo
Day tile on the Night canvas
2.19:1Fails
Aa
favicon
Night tile on a light tab (#FFFFFF)
2.26:1Fails
Aa
favicon
Day tile on a dark tab (#202124)
1.88:1Fails
Aa
photo
green-400 H1 accent on the photo at 86%
5.59:1Fails
Aa
photo
green-400 H1 accent on the photo at 80%
4.53:1Fails
Aa
photo
green-300 on the photo at 80%
6.08:1Fails
Typography
Decision
three families, one preload
Poppins 400/600/800 for Latin display and body, IBM Plex Mono 500/700 for labels, buttons, meta and the footer, and IBM Plex Sans Arabic 400/600/700 for Arabic (Arabic glyphs only; Latin runs and digits fall through to Poppins). All are SIL OFL, self-hosted WOFF2 subsets with unicode-range and font-display: swap. Each page preloads one file: Poppins 800 Latin in English, Plex Sans Arabic 700 in Arabic. The navigation and the logo name use 600 because no 500 or 700 Poppins file ships (owner decision).
All 10 type styles, in English and Arabic
.display-xlclamp(40px,4.6vw,66px) / 1.02 → clamp(40px,4.6vw,66px) / 1.02 · Home hero only
.display-sm30/38 → 24/32 · Case study section headings
Design people understand
تصميم يفهمه الناس
.display-xs24/32 → 20/30 · Card titles (featured)
Design people understand
تصميم يفهمه الناس
.text-xl20/30 → 18/28 · Lead paragraphs
Design people understand
تصميم يفهمه الناس
.text-lg18/28 → 18/28 · Case study and blog body
Design people understand
تصميم يفهمه الناس
.text-md16/24 → 16/24 · Default UI body (minimum)
Design people understand
تصميم يفهمه الناس
.text-sm14/20 → 14/20 · Meta, captions, labels
Design people understand
تصميم يفهمه الناس
.text-xs12/18 → 12/18 · Legal and footnotes only
Design people understand
تصميم يفهمه الناس
Labels (the mono role)
Tokens: --font-family-label, --font-size-label / -button / -footer, --font-weight-label, --font-tracking-label, --font-transform-label. In Arabic the same tokens switch to Plex Sans Arabic 600 with no tracking and no uppercase.
labelIBM Plex Mono 11 / 700 / .09em, uppercase · AR Plex Sans Arabic 13 / 600 · Eyebrows, chips, tags, meta lines
Arabic: line height 1.8 for body and 1.3–1.35 for headings, weight 700 for display, no letter-spacing, never italic, no uppercase.
English: sentence case for headings and body. Labels (eyebrows, buttons, chips, meta) are IBM Plex Mono, uppercase, +0.09em.
Never break a word inside itself: headings wrap only between words (text-wrap: balance).
Reading width: paragraphs stop at 68 characters (--measure-reading).
Numbers: Western digits (0–9) in both languages; Latin runs in Arabic are isolated with <bdi>.
Logo
One geometry, drawn once in components.py, makes the inline symbol, the brand files, the favicons and the app icons.
What it is and why
“m.”: a cut-corner tile holding a pixel-built lowercase m and one raised square.
“m” is for Mohammad, and the raised square makes it read “m.”: short, personal and sure of itself.
The square is a pixel: the smallest unit of a screen, where every design I make starts. It sits outside the letter, like a cursor about to place the next element.
The two cut corners are the same cut used on every card and button on this site, so the logo is built from the system, not added on top of it.
It is pixel-built, so it stays sharp at 14 px and at favicon size.
40 × 40 viewBox · 5-unit stems · 4.5-unit pixel · clear space = ¼ of the symbol · minimum 14 px
Decision
the symbol never mirrors
A green tile with its top-start and bottom-end corners cut, a lowercase “m.” whose first corner echoes the cut, and one pixel for the full stop. The chamfer is drawn into the path, so the symbol is identical in Arabic: the pixel always sits top-right. Colours come from tokens, so one inline SVG follows Night, Day, islands, print and forced colours.
Night: green-400 tile, ink m (also every Night island)
Day: green-800 tile, cream m
Mono: cream tile, ink m; it turns into the Day symbol in Day mode
Favicon: a 16-unit grid without the pixel, every edge on a whole pixel; it swaps to Day colours on a light browser.
Lockups and clear space
Mohammad Abu-aishehMohammad Abu-aishehUI/UX & product designer
Geometry (40-unit box)
tile M9 0H40V31L31 40H0V9Z
m M8 14L10 12H27V29H22V17H20V29H15V17H13V29H8Z
pixel x 29.5 y 7.5 w 4.5 h 4.5
Sizes and uses
Use
Size (px)
Version
Header lockup
38
follows the mode
Eyebrow marker
14
follows the mode; the smallest size
Footer lockup
28
Mono
404 page
96
follows the mode
Favicon
16
16-unit grid
Touch and app icons
180–512
Night on neutral-950
Don’t
Round its corners, mirror it in Arabic, or put it inside a cut-corner frame that would clip its corners.
Recolour it outside the three versions, or add a glow, shadow, gradient or outline.
Spacing (4 px base, plus two hairlines and the button padding)
All spacing steps
--space-00
--space-22pxhairline
--space-44px
--space-66pxhairline
--space-88px
--space-1212px
--space-1616px
--space-2020px
--space-2424px
--space-2626pxbutton padding, from the brief
--space-3232px
--space-4040px
--space-4848px
--space-6464px
--space-8080px
--space-9696px
--space-128128px
--space-160160px
--space-2828px
--section-gap110pxbetween sections
--section-gap72pxbetween sections, 640 px and below
Grid
Container 1200 px. 12 columns with a 24 px gutter on desktop, 6 columns and 32 px at 1024 px and below, 4 columns and 16 px at 640 px and below. Resize the window: this grid is live.
1
2
3
4
5
6
7
8
9
10
11
12
Cut corners
No rounded corners (avatars excepted): shapes cut the top-start and bottom-end corners, mirrored in Arabic. xs for badges and tiles, sm for chips and rows, md for buttons and image frames, lg for cards.
cut-xs6px
cut-sm8px
cut-md12px
cut-lg18px
Elevation
Cut shapes never carry a box-shadow (clip-path would cut it). Overlays (the toast, modals, the drawer) use .cut-layer: the cut moves to a ::before fill, so the element itself can take filter: drop-shadow().
drop-md
drop-lg
Motion
Nothing runs longer than 400 ms, except one ambient loop: the glow card's 3.6 s ring. Motion only explains a change, and all of it stops for “Reduce motion” in the system settings and for the Pause animations button in the footer.
Token
Value
Used for
--motion-duration-fast
120ms
Colour steps on buttons, links, chips
--motion-duration-base
200ms
Card hover lift, TOC indicator slide, toast
--motion-duration-slow
320ms
Drawer
--motion-ease-standard
cubic-bezier(.2,0,0,1)
Things that enter or move
--motion-ease-exit
cubic-bezier(.4,0,1,1)
Things that leave
Iconography
One style, drawn for this site: a 24 px grid, a 1.75 stroke with square caps and mitred joins (no rounded corners, like the cut shapes), currentColor. 20 px in the interface, 24 px in features. Arrows and chevrons mirror in Arabic; play, check, logos and clocks never do. Icons in navigation always sit next to a text label.
All 41 icons
sun
moon
monitor
home
work
blog
about
cv
contact
menu
search
palette
globe
arrow-forwardMirrors in RTL
arrow-backMirrors in RTL
chevron-startMirrors in RTL
chevron-endMirrors in RTL
chevron-down
download
external
close
copy
check
zoom
info
alert
error
success
pause
list
key
pin
play
book
prototype
research
layers
print
phone
linkedin
whatsapp
Components
Each component below is rendered by the same Python function the site uses, so this page cannot drift from the product.
The navigation header at the top of this page: the logo lockup at the start, five links, then language, a Theme button and search as cut-corner ghost buttons. The Theme button names the current setting (“Theme: Night”) and opens a small menu with Night, Day and System. The current page has a 2 px green bar and aria-current. At 1024 px and below, a Menu button opens the drawer: the links as rows, For mentors and Design system, then language, Night/Day/System and search.
Mohammad Abu-aisheh
Work
About
Blog
CV
Contact
Desktop: Work is the current section (2 px green bar).
Keep Contact last, in the same place on every page.
Don’t
Add a status pill or a second navigation bar.
Put the 3D head in the header (it lives in the footer and on About).
Accessibility
The drawer is a modal dialog: focus is trapped, Esc closes it, focus returns to Menu.
Without JavaScript, the links wrap onto a second row instead of hiding in a drawer.
The header Theme button says the current setting in words and reports whether its menu is open (aria-expanded). Opening it moves focus to the checked option; arrow keys move between Night, Day and System; Esc or a click outside closes it and focus returns to the button. The drawer and this page offer the same three native radio buttons.
Primary (green fill, dark ink) for the one main action per screen, ghost (a cream 40% outline on an opaque fill) for the next one, text link (green, arrow) for everything else. Mono 13 px uppercase labels, at least 50 px tall, 12 px cut corners; hover lifts 2 px, press returns. A small LTR meta part can follow the label (“PDF · 47 KB”).
A deep-green panel with 18 px cut corners and a 1 px cream line. The case card has a 16:10 cover, a mono meta line (type · year), the title, a one-line outcome, up to three tags and one button: the button is the card’s only link. The feature layout (Home “Selected work”) puts the cover beside the text with up to three Problem / Role / Outcome rows. Surface cards (“What I bring”) use 12 px cuts, an icon tile and one text link.
Live prototype
FintechMobile app2026
Filis
Voice and receipt logging, an Emergency Mode for the end of the month, and a Social Helper. Certificate of participation.
Static tags label skills and methods (8 px cuts, never interactive, three per card at most). Filter chips filter a list: each one is a toggle button with a count; the selected one fills green with dark ink and a check mark.
Decision
two rules for “selected”
Chosen value (a filter chip, the content switcher, the Night / Day / System options, a page number): green-400 fill with dark ink, plus a check or a square marker. Current location (drawer rows, the table of contents, the search palette): the selected panel fill plus an 8 px green square; the header links keep their 2 px green bar. Neither rule relies on colour alone, and in forced colours both paint Highlight.
Usability testing
Figma
Accessibility
States, do and don’t, accessibility
States
DefaultHover: cream 60% lineSelected: fill + checkFocus
Do
Show the count on each chip and announce the new total.
Don’t
Show the selected chip by colour alone.
Use a static tag as a filter.
Accessibility
Chips use aria-pressed; the selected one also shows a check mark and a dark inset focus ring on the green fill.
Small mono labels with 6 px cuts. Accent (green) for “Live prototype”; highlight (gold) for awards and “New”; honest (gold) for a value that is only “to be confirmed”. Gold stays near 1% of the screen.
Live prototype2nd placeNo usability test yet
States, do and don’t, accessibility
Do
Keep the badge to two or three words.
Don’t
Put a badge on the glow card or make a badge clickable.
Accessibility
Badges are text, not images: screen readers read them in place.
The 14 px logo symbol and a mono label name a section in one to four words. Card meta lines use the same label style without the symbol, so a grid of cards does not repeat the logo.
Selected work
FintechMobile app2026
States, do and don’t, accessibility
Do
Name a section in one to four words.
Don’t
Put the symbol before body text or a button.
Accessibility
The symbol is aria-hidden; the label is real text, and an h2 where it is the only heading of its block.
The one glowing card per page, around the one thing to do first (Home “Start here”, the case-study summary). A 2 px conic ring from deep green through bright green turns once every 3.6 s with a blurred halo behind it: the site’s only loop. It is always a Night island, also in Day mode.
Two glow cards, a glow on a button, or a glow behind text.
Accessibility
The loop is decorative: Pause animations in the footer stops it (WCAG 2.2.2), and it rests still under reduced motion, with the bright arc on the top corner.
The heading is a real heading (an eyebrow h2 on Home).
Bordered rows: an icon tile, a title, a one-line description and an arrow tile. The whole row is one link. Used in the glow card, writing lists, the drawer, the 404 page and the previous / next pager; static label / value rows use the same lines.
Numbers and units in rows, or more than three rows in “Start here”.
Lavender text inside a row (6.43:1 on the hover fill).
Accessibility
The whole row is one link at least 56 px tall; the tiles are aria-hidden. Hover and keyboard focus look the same: a green line, a tinted fill and a filled arrow tile.
Up to 11 green and lavender squares in the start-side gutter of the Home hero and the 404 page, at 60% opacity. Shown at 1360 px and wider only; the demo frame always shows them.
States, do and don’t, accessibility
Do
Keep them in the start-side gutter, never behind text.
Don’t
More than 11, inside content, or as bullets.
Accessibility
aria-hidden and purely decorative; removed under reduced motion, Pause animations, reduced transparency, forced colours and print.
Shown on case studies and blog posts. The last item is the current page and is not a link.
States, do and don’t, accessibility
Do
Show the path from Home to the current page on case studies and posts.
Don’t
Link the current page or use breadcrumbs as the main navigation.
Accessibility
A nav landmark with an ordered list; the separators are small green squares (direction-neutral, hidden from screen readers).
Render function: breadcrumbs(items, label)
Table of contents
The list beside this page is live: sticky on desktop, it marks the section you are reading and slides its indicator. On phones it becomes a collapsible “On this page”.
The live one sits beside this page; above is a static copy with “Research” as the current section.
States, do and don’t, accessibility
States
Current section
Collapsed (mobile)
Do
Use the section headings as the entries, in page order.
Don’t
Add a second sticky panel next to it.
Accessibility
The current link has aria-current="location", bold text and a bar: never colour alone.
Plain anchor links: it works without JavaScript; anchors stop below the sticky header.
Number the steps and keep labels to one or two words.
Don’t
Show progress by colour alone.
Accessibility
A real ordered list. Done steps show a check mark and a hidden “Completed:”; the current one has aria-current="step", a filled marker and a hidden “Current step:”; upcoming connectors are dashed.
Render function: stepper(steps, current, label)
Quote
Real words from research, always attributed. No italics, so Arabic stays readable.
Mid-month I discover I’m broke, and I don’t know how or where it went.
— Survey respondent, Filis research
States, do and don’t, accessibility
Do
Quote real words and say who said them and where.
Don’t
Invent a quote or a testimonial.
Accessibility
<figure> with <blockquote> and <figcaption>.
Render function: quote(text, attribution)
Inline alert
Honest notes inside the content: info, warning, error, success. Each has an icon, a title and text.
Note: Concept project
No usability test yet. The outcome below is a plan.
Warning: Short design challenge
No research phase. Read Filis for the full process.
Error: The message was not sent
Your text is still here. Send it by email instead.
Done: Feedback sent
Thank you. It helps me decide what to fix first.
States, do and don’t, accessibility
Do
Say what happened and what to do next.
Don’t
Use colour as the only difference between kinds.
Accessibility
A hidden prefix (“Warning:”) is read first. Static notes have no live role; alerts after an action use role=alert or status.
A compact mono footer: the Mono lockup and the 3D head, one list of links (Email with a copy button, LinkedIn, WhatsApp, RSS, For mentors, Design system, Contact), the accessibility note, and the Pause animations and Show keyboard shortcuts controls. The 404 page has the 96 px symbol, a search box (the one primary action) and four useful pages as rows.
At a glance card: problem, role, timeline, platform, methods, tools, key decision, outcome, next step, read time
Sticky table of contents
Context → research → insights → problem and HMW → ideation → IA and flows → wireframes → UI → prototype → testing → outcome → reflection → AI-use log
Feedback rating, then Previous / Next case study
Decision
every key decision uses one format
Decision → UX law → evidence → expected effect → how to measure it. From Filis: log by voice or receipt, typing is the fallback → Tesler’s law (the app absorbs the effort) → 71% of surveyed students who tried a budgeting app quit within a month, and manual entry was the top reason (survey, 56 students) → more expenses logged in the first week → share of expenses logged without typing.
Forms
Labels above fields; never a placeholder as a label.
Validate on blur and on send, not on every key press.
If sending fails, keep the text and offer email and WhatsApp.
A form works without JavaScript and ends on a success page.
Feedback
01
Choose
Yes, Partly or No
02
Add a note
Optional: what to improve first
03
Send
Saved with the page name only
04
Done
Thank-you message; on failure, email fallback
Token architecture
Primitive tokens
249
Raw values: colour, alpha, space, cuts, shadow, type, motion
Semantic tokens per mode
66
Night (also every island), Day and “System”, plus more-contrast overrides
Component tokens
144
Alias semantic tokens only (checked by the build)
Primitive--color-green-800
Semantic, Day--background-accent
Component--button-primary-bg
CSS.button-primary
Components never reference primitives. Names use full words and fixed prefixes: background/…, text/…, border/…, icon/….
W3C design tokens format, generated from tokens.css on every build, ready to import into Figma variables.