lab · exploring

Highlight

The highlight, every family's color for selected items — its hue at a fixed OKLCH lightness off the page (rest, hover, press), chroma capped, text solved against it: each family's steps, every component's selected state for a picked family (Panel, ListBox, Menu, Radio, Checkbox, Choice, Tree View, Calendar, native Select, Navigation's opt-in) and how much the text moved for it.

frameworksastro
scenarioEvery family's highlight

Per family: the three highlight steps in each mode (each chip keeps its own mode's colors, with its oklch L C H — one lightness per step across families, only the hue changes), and a live selected row, checked button and highlight chip in the page's mode. Every selection should read as the family's tint, never as a surface step or a fill.

Red
light rest0.955 0.022 24
light hover0.940 0.030 25
light press0.925 0.038 24
dark rest0.254 0.050 25
dark hover0.286 0.050 26
dark press0.315 0.050 24
Selected row
Chip
Orange
light rest0.956 0.024 47
light hover0.940 0.033 46
light press0.926 0.042 48
dark rest0.254 0.050 46
dark hover0.285 0.050 48
dark press0.314 0.050 46
Selected row
Chip
Amber
light rest0.954 0.036 74
light hover0.941 0.045 75
light press0.926 0.045 75
dark rest0.254 0.050 59
dark hover0.284 0.050 58
dark press0.315 0.050 60
Selected row
Chip
Yellow
light rest0.956 0.045 96
light hover0.941 0.045 96
light press0.926 0.045 96
dark rest0.254 0.049 95
dark hover0.286 0.051 96
dark press0.314 0.049 95
Selected row
Chip
Lime
light rest0.954 0.044 128
light hover0.939 0.044 128
light press0.924 0.044 127
dark rest0.255 0.049 127
dark hover0.286 0.051 128
dark press0.314 0.049 128
Selected row
Chip
Green
light rest0.956 0.045 144
light hover0.941 0.045 144
light press0.926 0.045 144
dark rest0.255 0.050 145
dark hover0.286 0.051 145
dark press0.314 0.050 144
Selected row
Chip
Emerald
light rest0.954 0.044 166
light hover0.939 0.045 166
light press0.925 0.044 165
dark rest0.255 0.049 166
dark hover0.286 0.050 165
dark press0.313 0.049 165
Selected row
Chip
Teal
light rest0.954 0.044 191
light hover0.939 0.044 191
light press0.924 0.044 191
dark rest0.253 0.044 190
dark hover0.286 0.050 188
dark press0.316 0.050 189
Selected row
Chip
Cyan
light rest0.956 0.032 219
light hover0.939 0.041 222
light press0.925 0.045 219
dark rest0.256 0.046 219
dark hover0.286 0.050 219
dark press0.314 0.050 221
Selected row
Chip
Blue
light rest0.955 0.022 257
light hover0.940 0.029 260
light press0.926 0.036 257
dark rest0.255 0.051 258
dark hover0.284 0.051 259
dark press0.315 0.050 258
Selected row
Chip
Indigo
light rest0.956 0.021 283
light hover0.940 0.030 284
light press0.926 0.037 282
dark rest0.255 0.050 284
dark hover0.284 0.051 284
dark press0.315 0.050 283
Selected row
Chip
Violet
light rest0.954 0.032 315
light hover0.939 0.042 315
light press0.925 0.044 315
dark rest0.255 0.049 316
dark hover0.284 0.050 315
dark press0.316 0.049 315
Selected row
Chip
Pink
light rest0.955 0.028 346
light hover0.941 0.037 345
light press0.926 0.045 346
dark rest0.254 0.050 345
dark hover0.283 0.051 344
dark press0.316 0.050 346
Selected row
Chip
Rose
light rest0.955 0.023 8
light hover0.940 0.031 8
light press0.925 0.039 8
dark rest0.256 0.050 9
dark hover0.285 0.050 9
dark press0.314 0.051 7
Selected row
Chip
scenarioEvery component's selected state

Pick a family: the gallery re-scopes to it. Each selected item below paints the family's highlight, and only while it is selected — tick and untick the Panel rows (they follow their checkbox, active="checked"), pick options, buttons, nodes and dates; hover and press a selected row, option or button to see the hover and press steps. Filled (primary) selections keep the accent fill, keyboard focus keeps its ring, and the current location (the nav item) keeps the surface tint — the second nav shows the activeEmphasis="highlight" opt-in.

scenarioHow much the text moved for the highlight

Each family generated without a highlight (left 'Aa') and with it (right 'Aa', text re-solved so it stays AA on every highlight step), on the family's own surface.peak in each mode — every sample keeps its own mode's colors. ΔL is the OKLCH lightness change; the summary lists, per mode and token, how many families moved, the mean shift and the largest one.

light · text4/14 movedmean ΔL −0.007 · max −0.013
light · text.bold5/14 movedmean ΔL −0.055 · max −0.196
light · text.muted4/14 movedmean ΔL −0.004 · max −0.007
light · text.accent3/14 movedmean ΔL −0.003 · max −0.005
dark · text14/14 movedmean ΔL +0.023 · max +0.029
dark · text.bold14/14 movedmean ΔL +0.022 · max +0.032
dark · text.muted14/14 movedmean ΔL +0.027 · max +0.029
dark · text.accent14/14 movedmean ΔL +0.025 · max +0.030
light · textlight · text.boldlight · text.mutedlight · text.accentdark · textdark · text.bolddark · text.muteddark · text.accentRed
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.022
AaAaΔL +0.020
AaAaΔL +0.027
AaAaΔL +0.022
Orange
AaAaΔL −0.013
AaAaΔL −0.196
AaAaΔL −0.007
AaAaΔL −0.005
AaAaΔL +0.020
AaAaΔL +0.019
AaAaΔL +0.025
AaAaΔL +0.022
Amber
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.020
AaAaΔL +0.021
AaAaΔL +0.027
AaAaΔL +0.024
Yellow
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.023
AaAaΔL +0.020
AaAaΔL +0.025
AaAaΔL +0.027
Lime
AaAaΔL −0.006
AaAaΔL −0.040
AaAaΔL −0.004
AaAaΔL −0.001
AaAaΔL +0.024
AaAaΔL +0.022
AaAaΔL +0.028
AaAaΔL +0.027
Green
AaAaΔL −0.003
AaAaΔL −0.011
AaAaΔL −0.003
AaAaΔL +0.000
AaAaΔL +0.024
AaAaΔL +0.027
AaAaΔL +0.029
AaAaΔL +0.030
Emerald
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.025
AaAaΔL +0.026
AaAaΔL +0.029
AaAaΔL +0.028
Teal
AaAaΔL −0.004
AaAaΔL −0.024
AaAaΔL −0.003
AaAaΔL −0.003
AaAaΔL +0.029
AaAaΔL +0.032
AaAaΔL +0.029
AaAaΔL +0.028
Cyan
AaAaΔL +0.000
AaAaΔL −0.004
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.026
AaAaΔL +0.026
AaAaΔL +0.028
AaAaΔL +0.025
Blue
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.022
AaAaΔL +0.022
AaAaΔL +0.025
AaAaΔL +0.027
Indigo
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.022
AaAaΔL +0.020
AaAaΔL +0.025
AaAaΔL +0.021
Violet
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.021
AaAaΔL +0.019
AaAaΔL +0.023
AaAaΔL +0.025
Pink
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.019
AaAaΔL +0.020
AaAaΔL +0.025
AaAaΔL +0.024
Rose
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.000
AaAaΔL +0.020
AaAaΔL +0.017
AaAaΔL +0.025
AaAaΔL +0.024