diff --git a/README.md b/README.md index 58b1a26..ebe6762 100644 --- a/README.md +++ b/README.md @@ -82,25 +82,37 @@ does not ship (`cmd/palette`'s tests). Type and layout are tokens too: Geist and Geist Mono (`fonts/`, OFL; declared once for this repository's pages in `dist/fonts.css`, and a page that declares a face of its own fails `go test`) at three weights that -say rank (600 a page's title, its verdict, a figure and a section's heading, 500 a button, a label -and a row's name, 400 the rest; `--spin-weight-*`), a 16 px reading size (below it iOS zooms into a -focused input) and 13 px for the dashboard's tables, a dashboard page's six ranks and its figure, -each one size at one weight (`[type].rank`, `--spin-rank--{font,size,lh,weight,tracking,case}`), +say rank (600 what a page is and what a person reads first in a row, a card or a control, 500 what +a machine says beside it in the mono, 400 the rest; `--spin-weight-*`), a 16 px reading size (below +it iOS zooms into a focused input) and 13 px for the dashboard, a dashboard page's six ranks and its +figure, each one size at one weight (`[type].rank`, `--spin-rank--{font,size,lh,weight,tracking,case}`), a 72ch measure, 24 px for any pointer target and 44 px on a coarse pointer (WCAG 2.2, 2.5.8 and 2.5.5). Sizes are variables in every output, so that a consumer has no number of its own to drift from: -a control's three heights (28, 32 and 36 px, `--spin-control-*`), a list's row (36 px, -`--spin-row`), the radius, and the two sidebars, the docs' in rem (`--spin-sidebar`, and -Starlight's `--sl-sidebar-width`) and the app's in px (`--spin-sidebar-app`). Three lines, by what +a control's three heights (28, 32 and 36 px, `--spin-control-*`) and a key hint's cap +(`--spin-kbd`); three corners by what they hold (`--spin-radius-xs`, `-sm` and `--spin-radius`); +the steps a component's parts are spaced by (`--spin-space-*`); a page's frame - the bar over it +(`--spin-bar`), the least a card is (`--spin-width-card-min`), the inspector +(`--spin-width-inspector`), a fact's label (`--spin-width-key`), a search field +(`--spin-width-search`); a state's mark (`--spin-mark`), the spot's signal and figures +(`--spin-signal-*`, `--spin-width-figure`) and a machine's last hour (`--spin-usage-width`, +`--spin-usage-height`); and the two sidebars, the docs' in rem (`--spin-sidebar`, and +Starlight's `--sl-sidebar-width`) and the app's in px (`--spin-sidebar-app`). What a page gives in +room is its density, comfortable on the root and compact under `[data-density='compact']`: its +insets, its gaps, a row of one line, of two and with its tile, and the tile (`--spin-row`, +`--spin-row-two`, `--spin-row-item`, `--spin-tile` and the rest). Three lines, by what each must be seen against: `hairline` separates on the page and is held against the page alone, `border` is a line between two surfaces and a secondary button's outline (`--spin-control-border`, `--control-border`), and `border_strong` is an input's edge at 3:1. `palette.toml` says the rules -that are behaviour: one filled action per view, a list's row as a plane under the pointer with -its actions drawn only then, an icon alone only with its caption, a page's verdict on the spot - a -dark plane in either theme, `--spin-spot-*` - and a row's state as its chip, its mark on its tint. +that are behaviour: one filled action per view; selected, and where you are, as one tint +(`--spin-selected`) with the accent beside it; a card only for what needs the person; an icon alone +only with its caption; a page's verdict on the spot - a dark plane in either theme, with the one +texture in the palette, its grid (`--spin-spot-*`); a state as its tile or its chip, its mark on its +tint (`--spin-*-badge`); and a machine's last hour in its row (`--spin-usage-*`). Motion is four durations and one easing (`--spin-duration-*`, `--spin-ease`): a movement says what something does or that it answered a hand, runs once, and is its end state under reduced -motion. +motion. Two things move on their own, each stopping within 5 s: the title's cursor +(`--spin-blink`) and a working task's mark (`--spin-breathe`). ## Where it goes diff --git a/cmd/palette/checks.go b/cmd/palette/checks.go index 4ad769b..60cb225 100644 --- a/cmd/palette/checks.go +++ b/cmd/palette/checks.go @@ -121,27 +121,40 @@ func holds(p palette) ([]result, error) { } for _, s := range []string{"page", "surface"} { hold("text", "label on "+s, c["label"], c[s], text) - sel := c["accent"].over(c[s], p.Tint.Selected) - hold("text", "accent_text on the selected tint over "+s, c["accent_text"], sel, text) - hold("text", "text on the selected tint over "+s, c["text"], sel, text) } - // A row's state chip: the state's mark on its tint, wherever a row is - its panel, under the - // pointer, selected. Its word is beside it on the row, in the text's colour. - selected := c["accent"].over(c["surface"], p.Tint.Selected) + // Selected, and where you are: every word keeps its colour on the tint, so nothing on a + // selected row, a selected card or the navigation's current item turns to another. + selected := selectedTint(p, c) + hold("text", "text on the selected tint", c["text"], selected, bodyText) + for _, k := range []string{"muted", "label", "accent_text", "success", "warning", "error"} { + hold("text", k+" on the selected tint", c[k], selected, text) + } + // What says selected is the accent beside the tint: a row's leading edge, a card's edge. + hold("non-text", "the accent (a selection's edge) on the selected tint", c["accent"], selected, nonText) + hold("non-text", "the accent (a selected card's edge) on surface", c["accent"], c["surface"], nonText) + // A state's tile and a row's state chip: the state's icon or mark on its tint, wherever a row + // is - its panel, under the pointer, selected - and at rest, muted's. Its word is beside it + // on the row, in the text's colour. for _, g := range []struct { name string c rgb - }{{"surface", c["surface"]}, {"raised", c["raised"]}, {"the selected tint over surface", selected}} { - for _, st := range []string{"success", "warning", "error", "accent_text"} { - hold("non-text", st+" (a chip's mark) on its tint over "+g.name, c[st], c[st].over(g.c, p.Tint.Badge), nonText) + }{{"surface", c["surface"]}, {"raised", c["raised"]}, {"the selected tint", selected}} { + for _, st := range []string{"success", "warning", "error", "accent_text", "muted"} { + hold("non-text", st+" (a tile's icon, a chip's mark) on its tint over "+g.name, c[st], c[st].over(g.c, p.Tint.Badge), nonText) } } - // The spot: its words on it, and a state on it in dark's colour. + // The spot: its words on it, and a state and its accent on it in dark's colour. hold("text", "spot_text on spot", c["spot_text"], c["spot"], bodyText) hold("text", "spot_muted (what explains, a label) on spot", c["spot_muted"], c["spot"], text) - for _, st := range []string{"success", "warning", "error"} { + for _, st := range []string{"success", "warning", "error", "accent_text"} { hold("text", "dark's "+st+" on spot", darkColors[st], c["spot"], text) } + // A machine's last hour: its line and its own cores' dashes on what it used and what it is + // lent, and on the panel. + lent, used := usageBands(p, c) + hold("non-text", "the usage line (success) on what it used", c["success"], used, nonText) + hold("non-text", "its own cores' dashes (muted) on what it is lent", c["muted"], lent, nonText) + hold("non-text", "its own cores' dashes (muted) on surface", c["muted"], c["surface"], nonText) hold("text", "on_accent on accent", c["on_accent"], c["accent"], text) hold("text", "white on destructive", white, c["destructive"], text) st := controlStates(p, c, m.name == "dark") @@ -169,10 +182,16 @@ func holds(p palette) ([]result, error) { apart("edge", "spot | page", c["spot"], c["page"], 0) apart("line", "spot_border on spot", c["spot_border"], c["spot"], 0) apart("line", "spot_border on page", c["spot_border"], c["page"], 0) + // The selected tint is a plane, told from what it sits on as a step under the pointer is; + // the accent at its edge is what is told apart as selected. for _, s := range []string{"page", "surface"} { - apart("state", "selected tint over "+s+" | "+s, c["accent"].over(c[s], p.Tint.Selected), c[s], 0) + apart("hover", "the selected tint | "+s, selected, c[s], 0) apart("hover", "hover tint over "+s+" | "+s, c["accent"].over(c[s], p.Tint.Hover), c[s], 0) } + apart("state", "the accent (a selection's edge) | the selected tint", c["accent"], selected, 0) + apart("line", "a key hint's edge on a fill | the fill", kbdOnFill(p, c), c["accent"], 0) + apart("edge", "what a machine is lent | its panel", lent, c["surface"], 0) + apart("edge", "what a machine used | its panel", used, c["surface"], 0) apart("hover", "accent under the pointer | accent", st.accentHover, c["accent"], 0) apart("hover", "destructive under the pointer | destructive", st.destructiveHover, c["destructive"], 0) apart("hover", "secondary under the pointer | secondary", st.controlHover, st.control, 0) diff --git a/cmd/palette/layout_test.go b/cmd/palette/layout_test.go index 1261c3d..5233f5d 100644 --- a/cmd/palette/layout_test.go +++ b/cmd/palette/layout_test.go @@ -50,8 +50,8 @@ func blocks(css []byte) []block { return out } -// A consumer draws a control, a row, a corner and its navigation at the palette's sizes only if -// the file it copies says them: each output carries each size its consumer draws, as +// A consumer draws a control, a corner, a page's frame and its navigation at the palette's sizes +// only if the file it copies says them: each output carries each size its consumer draws, as // palette.toml has it. func TestEveryOutputCarriesTheSizesItsConsumerDraws(t *testing.T) { p := readPalette(t) @@ -59,11 +59,24 @@ func TestEveryOutputCarriesTheSizesItsConsumerDraws(t *testing.T) { px := func(n int) string { return fmt.Sprintf("%dpx", n) } app := map[string]string{ "spin-control-sm": px(p.Controls.Sm), "spin-control-md": px(p.Controls.Md), "spin-control-lg": px(p.Controls.Lg), - "spin-row": px(p.Layout.Row), "spin-sidebar-app": px(p.Layout.SidebarApp), + "spin-kbd": px(p.Controls.Kbd), "spin-sidebar-app": px(p.Layout.SidebarApp), "spin-bar": px(p.Layout.Bar), + "spin-radius-xs": px(p.Layout.RadiusXs), "spin-radius-sm": px(p.Layout.RadiusSm), "spin-radius": px(p.Layout.Radius), + "spin-width-card-min": px(p.Layout.WidthCardMin), "spin-width-inspector": px(p.Layout.WidthInspector), + "spin-spot-grid-size": px(p.Layout.SpotGrid), + "spin-signal-width": px(p.Layout.Signal[0]), "spin-signal-height": px(p.Layout.Signal[1]), + "spin-width-figure": px(p.Layout.WidthFigure), "spin-mark": px(p.Layout.Mark), + "spin-width-key": px(p.Layout.WidthKey), "spin-width-search": px(p.Layout.WidthSearch), + "spin-usage-width": px(p.Chart.Usage.Width), "spin-usage-height": px(p.Chart.Usage.Height), + "spin-blink": fmt.Sprintf("%dms", p.Motion.Blink.Period), "spin-blink-times": fmt.Sprint(p.Motion.Blink.Times), + "spin-breathe": fmt.Sprintf("%dms", p.Motion.Breathe.Period), "spin-breathe-times": fmt.Sprint(p.Motion.Breathe.Times), + } + for _, k := range spaceSteps { + app["spin-space-"+k] = px(p.Layout.Space[k]) } for file, want := range map[string]map[string]string{ - "tokens.css": merge(app, map[string]string{"spin-radius-sm": px(p.Layout.RadiusSm), "spin-sidebar": fmt.Sprintf("%drem", p.Layout.Sidebar)}), - "dashboard.css": merge(app, map[string]string{"radius": px(p.Layout.RadiusSm)}), + "tokens.css": merge(app, map[string]string{"spin-sidebar": fmt.Sprintf("%drem", p.Layout.Sidebar)}), + // shadcn's --radius is a card's corner, what holds things. + "dashboard.css": merge(app, map[string]string{"radius": px(p.Layout.Radius)}), "starlight.css": {"sl-sidebar-width": fmt.Sprintf("%drem", p.Layout.Sidebar)}, } { got := map[string]string{} @@ -80,24 +93,149 @@ func TestEveryOutputCarriesTheSizesItsConsumerDraws(t *testing.T) { } var tokens struct { - Layout map[string]int + Layout struct { + SidebarApp, Sidebar, RadiusSm, Radius int + Density map[string]map[string]int + } Controls map[string]int } if err := json.Unmarshal(files["tokens.json"], &tokens); err != nil { t.Fatal(err) } - for name, want := range map[string]int{"Row": p.Layout.Row, "SidebarApp": p.Layout.SidebarApp, "Sidebar": p.Layout.Sidebar, "RadiusSm": p.Layout.RadiusSm} { - if tokens.Layout[name] != want { - t.Errorf("tokens.json: layout.%s is %d, want %d", name, tokens.Layout[name], want) + for name, got := range map[string][2]int{ + "SidebarApp": {tokens.Layout.SidebarApp, p.Layout.SidebarApp}, "Sidebar": {tokens.Layout.Sidebar, p.Layout.Sidebar}, + "RadiusSm": {tokens.Layout.RadiusSm, p.Layout.RadiusSm}, "Radius": {tokens.Layout.Radius, p.Layout.Radius}, + "Density.comfortable.row": {tokens.Layout.Density["comfortable"]["row"], p.Layout.Density["comfortable"]["row"]}, + } { + if got[0] != got[1] { + t.Errorf("tokens.json: layout.%s is %d, want %d", name, got[0], got[1]) } } - for name, want := range map[string]int{"Sm": p.Controls.Sm, "Md": p.Controls.Md, "Lg": p.Controls.Lg} { + for name, want := range map[string]int{"Sm": p.Controls.Sm, "Md": p.Controls.Md, "Lg": p.Controls.Lg, "Kbd": p.Controls.Kbd} { if tokens.Controls[name] != want { t.Errorf("tokens.json: controls.%s is %d, want %d", name, tokens.Controls[name], want) } } } +// A page drawn in either density has every size: each output that draws a dashboard carries +// comfortable on its root and compact under its attribute, each with every size palette.toml sets. +func TestEveryOutputCarriesBothDensities(t *testing.T) { + p := readPalette(t) + files := written(t, p) + for _, file := range []string{"tokens.css", "dashboard.css"} { + found := map[string]bool{} + for _, b := range blocks(files[file]) { + for _, name := range densities { + sel := fmt.Sprintf("[data-density='%s']", name) + if name == densities[0] { + sel = ":root, " + sel + } + if b.selector != sel { + continue + } + found[name] = true + for _, k := range densitySizes { + want := fmt.Sprintf("%dpx", p.Layout.Density[name][k]) + if got := b.vars["spin-"+strings.ReplaceAll(k, "_", "-")]; got != want { + t.Errorf("%s %s: --spin-%s is %q, want %q", file, sel, k, got, want) + } + } + } + } + for _, name := range densities { + if !found[name] { + t.Errorf("%s has no block for %s", file, name) + } + } + } +} + +// A density that leaves a size out, a space step that is missing, and a movement that runs for 5 s +// or longer are refused before anything is written. +func TestASizeLeftOutOrAMovementThatDoesNotStopIsRefused(t *testing.T) { + for what, tc := range map[string]struct { + plant func(*palette) + write func(palette) string + }{ + "compact without its row": {func(p *palette) { delete(p.Layout.Density["compact"], "row") }, densityBlocks}, + "a density nothing writes": {func(p *palette) { p.Layout.Density["roomy"] = p.Layout.Density["compact"] }, densityBlocks}, + "a space step missing": {func(p *palette) { delete(p.Layout.Space, "md") }, spaceVars}, + "a blink for 6 s": {func(p *palette) { p.Motion.Blink = movement{Period: 1000, Times: 6} }, movementVars}, + "a breathe that never runs": {func(p *palette) { p.Motion.Breathe = movement{Period: 2000} }, movementVars}, + } { + t.Run(what, func(t *testing.T) { + p := readPalette(t) + tc.plant(&p) + defer func() { + if recover() == nil { + t.Error("written without a complaint") + } + }() + tc.write(p) + }) + } +} + +// The spot's grid is a texture and never a rule: each of its hairlines is nearer the spot than the +// spot's border is, in both themes, as drawn and in every view. +func TestTheSpotsGridIsNearerTheSpotThanItsBorder(t *testing.T) { + p := readPalette(t) + dark, err := colors(p.Dark) + if err != nil { + t.Fatal(err) + } + for _, m := range []mode{p.Dark, p.Light} { + c, err := colors(m) + if err != nil { + t.Fatal(err) + } + grid := spotGrid(p, c, dark) + for _, v := range views { + g := deltaE00(v.fn(grid.linear()).lab(), v.fn(c["spot"].linear()).lab()) + b := deltaE00(v.fn(c["spot_border"].linear()).lab(), v.fn(c["spot"].linear()).lab()) + if g == 0 || g >= b { + t.Errorf("spot %s, %s: the grid is ΔE00 %.1f from the spot and its border %.1f", c["spot"].hex(), v.name, g, b) + } + } + } +} + +// Each pattern the destination draws has its colour in each output that draws a dashboard, in both +// themes: a consumer that has no variable for one writes its own. +func TestEveryOutputCarriesThePatternsTheDestinationDraws(t *testing.T) { + files := written(t, readPalette(t)) + for _, tc := range []struct { + file, theme string + names []string + }{ + {"tokens.css", "spin-page", []string{ + "spin-selected", "spin-spot-accent", "spin-spot-grid", "spin-kbd-fill-border", "spin-muted-badge", + "spin-usage-own", "spin-usage-lent", "spin-usage-used", "spin-usage-line", + }}, + {"dashboard.css", "background", []string{ + "selected", "spot-accent", "spot-grid", "kbd-fill-border", "muted-subtle", + "usage-own", "usage-lent", "usage-used", "usage-line", + }}, + } { + var themes int + for _, b := range blocks(files[tc.file]) { + if b.vars[tc.theme] == "" { + continue + } + themes++ + for _, name := range tc.names { + if b.vars[name] == "" { + t.Errorf("%s %s has no --%s", tc.file, b.selector, name) + } + } + } + if themes != 2 { + t.Errorf("%s: %d themes, want dark and light", tc.file, themes) + } + } +} + func merge(a, b map[string]string) map[string]string { out := map[string]string{} for k, v := range a { @@ -177,6 +315,14 @@ func TestAQuietLineOrPlaneThatIsNotToldApartFails(t *testing.T) { {"spot_muted (what explains, a label) on spot", func(m *mode) { m.SpotMuted = m.Spot }}, {"spot_border on spot", func(m *mode) { m.SpotBorder = m.Spot }}, {"dark's error on spot", func(m *mode) { m.Spot = "#EE7BB0" }}, + {"dark's accent_text on spot", func(m *mode) { m.Spot = "#54CFF5" }}, + // Selected: a plane told from its panel, and every word on it in its own colour. + {"the selected tint | surface", func(m *mode) { m.Accent = m.Surface }}, + {"muted on the selected tint", func(m *mode) { m.Muted = m.Surface }}, + {"error on the selected tint", func(m *mode) { m.Error = m.Surface }}, + // A machine's last hour: its band shows on its panel, and its line on what it used. + {"what a machine is lent | its panel", func(m *mode) { m.Accent = m.Surface }}, + {"the usage line (success) on what it used", func(m *mode) { m.Success = m.Surface }}, } { for _, theme := range []string{"dark", "light"} { t.Run(theme+" "+tc.pair, func(t *testing.T) { diff --git a/cmd/palette/main.go b/cmd/palette/main.go index 11da154..ff56fbe 100644 --- a/cmd/palette/main.go +++ b/cmd/palette/main.go @@ -71,10 +71,15 @@ func (t terminal) colors() (map[string]rgb, error) { return parseNamed(named) } -// chart is the colours a chart draws with, one set for both modes (palette.toml says why). +// chart is the colours a chart draws with, one set for both modes (palette.toml says why), and +// the alphas a machine's last hour is drawn at in a dashboard's row, in the theme's roles. type chart struct { Series []string Good, Warning, Critical string + Usage struct { + Lent, Used float64 + Width, Height int + } } // chartStatuses are a threshold's steps, in the order a value climbs through them. @@ -141,6 +146,19 @@ type rank struct { // ranks is a dashboard page's ranks in the order it is read: the names the outputs write them by. var ranks = []string{"title", "verdict", "section", "name", "body", "label", "figure"} +// densities is the room a page gives, and densitySizes the sizes each sets, in the order the +// outputs write them: every density sets every one, so a page drawn in either has each. +var ( + densities = []string{"comfortable", "compact"} + densitySizes = []string{"inset_page", "gap_head", "gap_section", "gap", "inset_card", "inset_spot", "inset_cell", "row", "row_two", "row_item", "tile"} +) + +// spaceSteps is the steps a component's parts are spaced by ([layout.space]), smallest first. +var spaceSteps = []string{"3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl"} + +// movement is what moves on its own: one period in ms, and how many times it runs. +type movement struct{ Period, Times int } + type palette struct { Brand map[string]string Dark mode @@ -149,7 +167,12 @@ type palette struct { Trace trace // A terminal's roles and its sixteen ANSI colours, the same in either theme. Terminal terminal - Tint struct{ Hover, Selected, Scrim, Fill, Badge float64 } + Tint struct { + Hover, Selected, Scrim, Fill, Badge float64 + // The spot's grid over the spot, and a key hint's edge over a fill. + SpotGrid float64 `toml:"spot_grid"` + Kbd float64 + } // What lifts a menu or a dialog off what is under it, per theme: a CSS box-shadow. Elevation struct{ Dark, Light string } Type struct { @@ -177,6 +200,14 @@ type palette struct { Layout struct { Measure, Sidebar int SidebarApp int `toml:"sidebar_app"` + Bar int + SpotGrid int `toml:"spot_grid"` + Signal [2]int + WidthFigure int `toml:"width_figure"` + Mark int + WidthKey int `toml:"width_key"` + WidthSearch int `toml:"width_search"` + RadiusXs int `toml:"radius_xs"` RadiusSm int `toml:"radius_sm"` Radius int RadiusLg int `toml:"radius_lg"` @@ -186,16 +217,22 @@ type palette struct { WidthPage int `toml:"width_page"` WidthAside int `toml:"width_aside"` WidthPanelMin int `toml:"width_panel_min"` - Row int + WidthCardMin int `toml:"width_card_min"` + WidthInspector int `toml:"width_inspector"` + // Each density's sizes by the names in densitySizes, and the space steps by spaceSteps. + Density map[string]map[string]int + Space map[string]int } - // A control's geometry: the heights of a button or an input, the icon in it, and the gap - // between an icon and its word. + // A control's geometry: the heights of a button or an input, the icon in it, the gap between + // an icon and its word, and a key hint's cap. Controls struct { - Sm, Md, Lg, Icon, Gap int + Sm, Md, Lg, Icon, Gap, Kbd int } Motion struct { Fast, Base, Slow, Draw int Ease string + // What moves on its own: the title's cursor, and a working task's mark. + Blink, Breathe movement } } diff --git a/cmd/palette/outputs.go b/cmd/palette/outputs.go index 7e744e4..187d9b0 100644 --- a/cmd/palette/outputs.go +++ b/cmd/palette/outputs.go @@ -134,18 +134,28 @@ func tokensCSS(p palette, dark, light map[string]rgb) string { {"control", st.control.hex()}, {"control-hover", st.controlHover.hex()}, {"control-border", st.outline.hex()}, {"row-hover", st.row.hex()}, {"row-action-hover", st.rowAction.hex()}, - // A selected row: the accent at tint.selected over the panel its rows sit in. - {"row-selected", c["accent"].over(c["surface"], p.Tint.Selected).hex()}, - // A state on the spot is dark's in either theme, since the spot is a dark plane in both. + // Selected, and where you are: the accent at tint.selected over the surface a row, a + // card and the navigation sit on. + {"selected", selectedTint(p, c).hex()}, + // A state on the spot is dark's in either theme, since the spot is a dark plane in both, + // and so is its accent - its eyebrow, and its grid's hairlines over it. {"spot-success", dark["success"].hex()}, {"spot-warning", dark["warning"].hex()}, {"spot-error", dark["error"].hex()}, + {"spot-accent", dark["accent_text"].hex()}, {"spot-grid", spotGrid(p, c, dark).hex()}, + // A key hint's edge on a filled button. + {"kbd-fill-border", kbdOnFill(p, c).hex()}, + // A machine's last hour: its own cores' dashes and the line of what it used. + {"usage-own", c["muted"].hex()}, {"usage-line", c["success"].hex()}, } { fmt.Fprintf(&b, "\t--spin-%s: %s;\n", v[0], v[1]) } fmt.Fprintf(&b, "\t--spin-shadow-overlay: %s;\n", shadow) - // A state's badge: its colour at tint.badge over whatever is under it. - for _, k := range []string{"success", "warning", "error", "accent-text"} { + // A state's badge, chip and tile: its colour at tint.badge over whatever is under it. + for _, k := range []string{"success", "warning", "error", "accent-text", "muted"} { fmt.Fprintf(&b, "\t--spin-%s-badge: color-mix(in srgb, var(--spin-%s) %g%%, transparent);\n", k, k, p.Tint.Badge*100) } + // What a machine was lent, and the area of what it used, over whatever its row is. + fmt.Fprintf(&b, "\t--spin-usage-lent: color-mix(in srgb, var(--spin-accent) %g%%, transparent);\n", p.Chart.Usage.Lent*100) + fmt.Fprintf(&b, "\t--spin-usage-used: color-mix(in srgb, var(--spin-success) %g%%, transparent);\n", p.Chart.Usage.Used*100) fmt.Fprintf(&b, "\t--spin-accent-hover: %s;\n", c["accent"].over(c["page"], p.Tint.Hover).hex()) fmt.Fprintf(&b, "\t--spin-accent-selected: %s;\n", c["accent"].over(c["page"], p.Tint.Selected).hex()) b.WriteString(serviceVars(p, "spin-trace-service", isDark)) @@ -182,17 +192,17 @@ func tokensCSS(p palette, dark, light map[string]rgb) string { b.WriteString(rankVars(p)) fmt.Fprintf(&b, "\t--spin-measure: %dch;\n\t--spin-sidebar: %drem;\n", p.Layout.Measure, p.Layout.Sidebar) b.WriteString(appSizeVars(p)) - fmt.Fprintf(&b, "\t--spin-radius-sm: %dpx;\n\t--spin-radius: %dpx;\n\t--spin-radius-lg: %dpx;\n", p.Layout.RadiusSm, p.Layout.Radius, p.Layout.RadiusLg) + b.WriteString(radiusVars(p)) + fmt.Fprintf(&b, "\t--spin-radius-lg: %dpx;\n", p.Layout.RadiusLg) fmt.Fprintf(&b, "\t--spin-target: %dpx;\n\t--spin-target-touch: %dpx;\n", p.Layout.Target, p.Layout.TargetTouch) - fmt.Fprintf(&b, "\t--spin-control-sm: %dpx;\n\t--spin-control-md: %dpx;\n\t--spin-control-lg: %dpx;\n", p.Controls.Sm, p.Controls.Md, p.Controls.Lg) - fmt.Fprintf(&b, "\t--spin-control-icon: %dpx;\n\t--spin-control-gap: %dpx;\n", p.Controls.Icon, p.Controls.Gap) - fmt.Fprintf(&b, "\t--spin-width-page: %dpx;\n", p.Layout.WidthPage) - fmt.Fprintf(&b, "\t--spin-width-panel-min: %dpx;\n", p.Layout.WidthPanelMin) - fmt.Fprintf(&b, "\t--spin-width-aside: %dpx;\n", p.Layout.WidthAside) + b.WriteString(controlVars(p)) + b.WriteString(spaceVars(p)) fmt.Fprintf(&b, "\t--spin-duration-fast: %dms;\n\t--spin-duration: %dms;\n", p.Motion.Fast, p.Motion.Base) fmt.Fprintf(&b, "\t--spin-duration-slow: %dms;\n\t--spin-duration-draw: %dms;\n", p.Motion.Slow, p.Motion.Draw) fmt.Fprintf(&b, "\t--spin-ease: %s;\n", p.Motion.Ease) + b.WriteString(movementVars(p)) b.WriteString("}\n") + b.WriteString(densityBlocks(p)) return b.String() } @@ -297,6 +307,7 @@ func dashboardCSS(p palette, dark, light map[string]rgb) string { // that a selected item in the sidebar did not show. neutral := c["raised"] st := controlStates(p, c, isDark) + lent, used := usageBands(p, c) // muted is raised in both themes: it is the dashboard's selected navigation, and on light's // surface the current page all but vanished (the dashboard's round 1). A secondary // button's fill is controlStates'. @@ -316,14 +327,21 @@ func dashboardCSS(p palette, dark, light map[string]rgb) string { {"control-border", hsl(st.outline)}, {"hairline", hsl(c["hairline"])}, {"row-hover", hsl(st.row)}, {"row-action-hover", hsl(st.rowAction)}, - // A selected row: the accent at tint.selected over the card its rows sit in, with an edge - // in --primary; every word on it is --foreground. - {"row-selected", hsl(c["accent"].over(card, p.Tint.Selected))}, + // Selected, and where you are: the accent at tint.selected over the card a row sits in, + // which is also a card's and the navigation's ground. The accent beside it says selected + // (--primary: a row's leading edge, a card's edge); every word keeps its colour on it. + {"selected", hsl(selectedTint(p, c))}, // A page's verdict on the spot, a dark plane in either theme: its words, its edge and - // rules, and a state on it, which is dark's. + // rules, a state on it and its accent - the eyebrow, the grid - which are dark's. {"spot", hsl(c["spot"])}, {"spot-foreground", hsl(c["spot_text"])}, {"spot-muted", hsl(c["spot_muted"])}, {"spot-border", hsl(c["spot_border"])}, {"spot-success", hsl(dark["success"])}, {"spot-warning", hsl(dark["warning"])}, {"spot-error", hsl(dark["error"])}, + {"spot-accent", hsl(dark["accent_text"])}, {"spot-grid", hsl(spotGrid(p, c, dark))}, + // A key hint's edge on a filled button; on a surface it is --border. + {"kbd-fill-border", hsl(kbdOnFill(p, c))}, + // A machine's last hour over the card its row is on: its own cores' dashes, the band of + // what it is lent, the area of what it used and its line. + {"usage-own", hsl(c["muted"])}, {"usage-lent", hsl(lent)}, {"usage-used", hsl(used)}, {"usage-line", hsl(c["success"])}, {"primary", hsl(c["accent"])}, {"primary-foreground", hsl(c["on_accent"])}, // The accent as a line - a link, an action written as words, the focus ring above: // accent_text, held at 4.5:1 on every surface. The accent itself is a fill: light's @@ -336,10 +354,12 @@ func dashboardCSS(p palette, dark, light map[string]rgb) string { {"accent", hsl(neutral)}, {"accent-foreground", hsl(c["text"])}, {"destructive", hsl(c["destructive"])}, {"destructive-foreground", hsl(on(c["destructive"]))}, {"error", hsl(c["error"])}, {"label", hsl(c["label"])}, - // A badge's fill: the state at tint.badge over the card it sits on. + // A badge's, a chip's and a tile's fill: the state at tint.badge over the card it sits + // on; at rest, muted's. {"success-subtle", hsl(c["success"].over(card, p.Tint.Badge))}, {"warning-subtle", hsl(c["warning"].over(card, p.Tint.Badge))}, {"error-subtle", hsl(c["error"].over(card, p.Tint.Badge))}, + {"muted-subtle", hsl(c["muted"].over(card, p.Tint.Badge))}, {"success", hsl(c["success"])}, {"success-foreground", hsl(on(c["success"]))}, {"warning", hsl(c["warning"])}, {"warning-foreground", hsl(on(c["warning"]))}, } @@ -359,20 +379,14 @@ func dashboardCSS(p palette, dark, light map[string]rgb) string { block(":root", light, false) block(".dark", dark, true) - // What does not change with the theme. The dashboard is dense - tables of runners and - // workspaces - and square enough that a table reads as one: every corner is the small radius. - // Its theme (dashboard/src/styles/globals.css) maps Tailwind's names onto these. + // What does not change with the theme. Its theme (dashboard/src/styles/globals.css) maps + // Tailwind's names onto these. --radius is shadcn's, a card's corner; a control's and what sits + // in one are their own (layout's corners by what they hold). b.WriteString(":root {\n") - fmt.Fprintf(&b, "\t--radius: %gpx;\n", float64(p.Layout.RadiusSm)) - fmt.Fprintf(&b, "\t--spin-control-sm: %dpx;\n\t--spin-control-md: %dpx;\n\t--spin-control-lg: %dpx;\n", p.Controls.Sm, p.Controls.Md, p.Controls.Lg) - fmt.Fprintf(&b, "\t--spin-control-icon: %dpx;\n\t--spin-control-gap: %dpx;\n", p.Controls.Icon, p.Controls.Gap) + fmt.Fprintf(&b, "\t--radius: %dpx;\n", p.Layout.Radius) + b.WriteString(radiusVars(p)) + b.WriteString(controlVars(p)) b.WriteString(appSizeVars(p)) - // How wide a page may grow (the dashboard's page-width.ts reads it). - fmt.Fprintf(&b, "\t--spin-width-page: %dpx;\n", p.Layout.WidthPage) - // The least a panel is as panels tile across the column (layout.width_panel_min). - fmt.Fprintf(&b, "\t--spin-width-panel-min: %dpx;\n", p.Layout.WidthPanelMin) - // A split section's aside, its title and what it governs (layout.width_aside). - fmt.Fprintf(&b, "\t--spin-width-aside: %dpx;\n", p.Layout.WidthAside) // The dim behind a dialog: the dark page, in either theme, at the palette's scrim - a neutral // dim, not the mark's navy, which tinted everything behind a dialog blue. dim := dark["page"] @@ -383,7 +397,7 @@ func dashboardCSS(p palette, dark, light map[string]rgb) string { // The word the sidebar writes beside the mark: the app's catalog audit holds its text to this. fmt.Fprintf(&b, "\t--spin-wordmark: %q;\n", p.Type.Wordmark) fmt.Fprintf(&b, "\t--spin-font-sans: '%s', %s;\n\t--spin-font-mono: '%s', %s;\n", p.Type.Sans, p.Type.FallbackSans, p.Type.Mono, p.Type.FallbackMono) - for _, k := range []string{"2xs", "xs", "sm", "base", "lg", "xl", "2xl", "3xl"} { + for _, k := range []string{"2xs", "xs", "sm", "base", "lg", "xl", "2xl", "3xl", "4xl"} { step, ok := p.Type.DenseScale[k] if !ok { panic("palette.toml's dense_scale has no " + k) @@ -397,7 +411,10 @@ func dashboardCSS(p palette, dark, light map[string]rgb) string { fmt.Fprintf(&b, "\t--spin-numeric: %s;\n", p.Type.Numeric) fmt.Fprintf(&b, "\t--spin-duration-fast: %dms;\n\t--spin-duration: %dms;\n", p.Motion.Fast, p.Motion.Base) fmt.Fprintf(&b, "\t--spin-duration-slow: %dms;\n\t--spin-ease: %s;\n", p.Motion.Slow, p.Motion.Ease) + b.WriteString(movementVars(p)) + b.WriteString(spaceVars(p)) b.WriteString("}\n") + b.WriteString(densityBlocks(p)) return b.String() } @@ -487,11 +504,12 @@ func t3codeCSS(p palette, dark, light, term map[string]rgb) string { block("html:root", light, false) block("html.dark:root", dark, true) - // What does not change with the theme. The client is a part of the dashboard, so its corner is - // the dashboard's: the fork adds 4, 8 and 12 px to --radius for its larger corners, in its - // own theme, and those stay that much rounder. + // What does not change with the theme. The client is a part of the dashboard, so its corners are + // the dashboard's: --radius what holds things, as the dashboard's --radius is, and + // --control-radius what is pressed or typed into. The fork adds 4, 8 and 12 px to --radius for + // its larger corners, in its own theme, and those stay that much rounder. b.WriteString("html:root {\n") - fmt.Fprintf(&b, "\t--radius: %dpx;\n\t--control-radius: %dpx;\n", p.Layout.RadiusSm, p.Layout.RadiusSm) + fmt.Fprintf(&b, "\t--radius: %dpx;\n\t--control-radius: %dpx;\n", p.Layout.Radius, p.Layout.RadiusSm) fmt.Fprintf(&b, "\t--font-sans: '%s', %s;\n\t--font-mono: '%s', %s;\n", p.Type.Sans, p.Type.FallbackSans, p.Type.Mono, p.Type.FallbackMono) // A diff's counts, which the fork writes in Tailwind's green and red. By name and under the // themes' rank, so that the fork's blue and orange scheme (:root[data-diff-color-scheme]) @@ -530,10 +548,114 @@ func fontsCSS(p palette) string { return b.String() } -// appSizeVars is the app's sizes that are not a control's: a list's row and the navigation's -// width. A size a consumer has no variable for is one it writes itself, and then it drifts. +// appSizeVars is the app's sizes that do not change with its density: the navigation's width, the +// bar over a page, how wide a page, a panel, a card, the inspector, a split section's aside, a +// fact's label and a search field may be, the spot's grid and signal, a state's mark and a +// machine's last hour. A size a consumer has no variable for is one it writes itself, and then it +// drifts. func appSizeVars(p palette) string { - return fmt.Sprintf("\t--spin-row: %dpx;\n\t--spin-sidebar-app: %dpx;\n", p.Layout.Row, p.Layout.SidebarApp) + var b strings.Builder + for _, v := range []struct { + name string + px int + }{ + {"sidebar-app", p.Layout.SidebarApp}, {"bar", p.Layout.Bar}, + // How wide a page may grow: the dashboard's page-width.ts reads it. + {"width-page", p.Layout.WidthPage}, + // The least a panel or a card is as they tile across the column. + {"width-panel-min", p.Layout.WidthPanelMin}, {"width-card-min", p.Layout.WidthCardMin}, + {"width-inspector", p.Layout.WidthInspector}, {"width-aside", p.Layout.WidthAside}, + {"width-key", p.Layout.WidthKey}, {"width-search", p.Layout.WidthSearch}, + // The spot: its grid, its signal's segments and the least width of a figure beside it. + {"spot-grid-size", p.Layout.SpotGrid}, + {"signal-width", p.Layout.Signal[0]}, {"signal-height", p.Layout.Signal[1]}, {"width-figure", p.Layout.WidthFigure}, + // A state's mark, and a machine's last hour in its row. + {"mark", p.Layout.Mark}, {"usage-width", p.Chart.Usage.Width}, {"usage-height", p.Chart.Usage.Height}, + } { + fmt.Fprintf(&b, "\t--spin-%s: %dpx;\n", v.name, v.px) + } + return b.String() +} + +// controlVars is a control's geometry ([controls]): its three heights, its icon, the gap from its +// icon to its word, and a key hint's cap. +func controlVars(p palette) string { + return fmt.Sprintf("\t--spin-control-sm: %dpx;\n\t--spin-control-md: %dpx;\n\t--spin-control-lg: %dpx;\n"+ + "\t--spin-control-icon: %dpx;\n\t--spin-control-gap: %dpx;\n\t--spin-kbd: %dpx;\n", + p.Controls.Sm, p.Controls.Md, p.Controls.Lg, p.Controls.Icon, p.Controls.Gap, p.Controls.Kbd) +} + +// radiusVars is the dashboard's corners by what they hold: what sits in a control, what is pressed +// or typed into, and what holds things. +func radiusVars(p palette) string { + return fmt.Sprintf("\t--spin-radius-xs: %dpx;\n\t--spin-radius-sm: %dpx;\n\t--spin-radius: %dpx;\n", + p.Layout.RadiusXs, p.Layout.RadiusSm, p.Layout.Radius) +} + +// spaceVars is the steps a component's parts are spaced by ([layout.space]) as --spin-space-. +// A step palette.toml leaves out, or one it adds that nothing writes, panics. +func spaceVars(p palette) string { + if len(p.Layout.Space) != len(spaceSteps) { + panic(fmt.Sprintf("palette.toml's layout.space has %d steps, and the outputs write %v", len(p.Layout.Space), spaceSteps)) + } + var b strings.Builder + for _, k := range spaceSteps { + v, ok := p.Layout.Space[k] + if !ok { + panic("palette.toml's layout.space has no " + k) + } + fmt.Fprintf(&b, "\t--spin-space-%s: %dpx;\n", k, v) + } + return b.String() +} + +// densityBlocks is each density's sizes as --spin-: comfortable on the root and under +// [data-density='comfortable'], compact under [data-density='compact'], which comes after it and so +// wins where both match. A density that leaves a size out, or sets one nothing writes, panics. +func densityBlocks(p palette) string { + if len(p.Layout.Density) != len(densities) { + panic(fmt.Sprintf("palette.toml's layout.density has %d densities, and the outputs write %v", len(p.Layout.Density), densities)) + } + var b strings.Builder + for i, name := range densities { + sizes, ok := p.Layout.Density[name] + if !ok { + panic("palette.toml's layout.density has no " + name) + } + if len(sizes) != len(densitySizes) { + panic(fmt.Sprintf("palette.toml's layout.density.%s sets %d sizes, and the outputs write %v", name, len(sizes), densitySizes)) + } + sel := fmt.Sprintf("[data-density='%s']", name) + if i == 0 { + sel = ":root, " + sel + } + fmt.Fprintf(&b, "%s {\n", sel) + for _, k := range densitySizes { + v, ok := sizes[k] + if !ok { + panic("palette.toml's layout.density." + name + " has no " + k) + } + fmt.Fprintf(&b, "\t--spin-%s: %dpx;\n", strings.ReplaceAll(k, "_", "-"), v) + } + b.WriteString("}\n") + } + return b.String() +} + +// movementVars is what moves on its own ([motion]): each one's period and how many times it runs. +// One that runs for 5 s or longer panics: WCAG 2.2.2 asks a way to stop it, and nothing here has one. +func movementVars(p palette) string { + var b strings.Builder + for _, m := range []struct { + name string + m movement + }{{"blink", p.Motion.Blink}, {"breathe", p.Motion.Breathe}} { + if m.m.Period <= 0 || m.m.Times <= 0 || m.m.Period*m.m.Times >= 5000 { + panic(fmt.Sprintf("palette.toml's motion.%s runs %d times of %d ms: each thing that moves on its own stops within 5 s", m.name, m.m.Times, m.m.Period)) + } + fmt.Fprintf(&b, "\t--spin-%s: %dms;\n\t--spin-%s-times: %d;\n", m.name, m.m.Period, m.name, m.m.Times) + } + return b.String() } // rankVars is a dashboard page's ranks of type ([type].rank) as --spin-rank--, the diff --git a/cmd/palette/ranks_test.go b/cmd/palette/ranks_test.go index e9a1f48..cbebd67 100644 --- a/cmd/palette/ranks_test.go +++ b/cmd/palette/ranks_test.go @@ -44,7 +44,7 @@ func TestEveryOutputCarriesThePagesRanks(t *testing.T) { // refused before anything is written. func TestARankOffTheScaleOrTheShippedWeightsIsRefused(t *testing.T) { for what, plant := range map[string]func(*rank){ - "a step the scale has not": func(r *rank) { r.Step = "4xl" }, + "a step the scale has not": func(r *rank) { r.Step = "5xl" }, "a step and a fluid heading": func(r *rank) { r.Fluid, r.Leading = "h2", 1.2 }, "a weight fonts/ doesn't ship": func(r *rank) { r.Weight = 700 }, "a face that is neither": func(r *rank) { r.Face = "serif" }, diff --git a/cmd/palette/t3code_test.go b/cmd/palette/t3code_test.go index 3d57b78..44db3ce 100644 --- a/cmd/palette/t3code_test.go +++ b/cmd/palette/t3code_test.go @@ -129,14 +129,15 @@ func TestTheAgentClientsColoursAreThePalettes(t *testing.T) { } } } - radius := fmt.Sprintf("%dpx", a.p.Layout.RadiusSm) + // The dashboard's corners: what holds things, and what is pressed or typed into. + corners := map[string]string{"radius": fmt.Sprintf("%dpx", a.p.Layout.Radius), "control-radius": fmt.Sprintf("%dpx", a.p.Layout.RadiusSm)} for name, value := range a.shared { ref, isRef := strings.CutPrefix(value, "var(--") ref = strings.TrimSuffix(ref, ")") switch { - case name == "radius" || name == "control-radius": - if value != radius { - t.Errorf("--%s is %s, and the dashboard's corner (layout.radius_sm) is %s", name, value, radius) + case corners[name] != "": + if value != corners[name] { + t.Errorf("--%s is %s, and the dashboard's is %s", name, value, corners[name]) } case name == "font-sans" || name == "font-mono": // TestEveryFaceAnOutputNamesIsShipped holds the face each leads with. diff --git a/cmd/palette/tints.go b/cmd/palette/tints.go new file mode 100644 index 0000000..bf6623d --- /dev/null +++ b/cmd/palette/tints.go @@ -0,0 +1,27 @@ +package main + +// The solid colours a tint makes over a role, each written once, so that what the outputs write and +// what the checker holds are the same colour. + +// selectedTint is selected, and where you are: the accent at tint.selected over the surface a +// selected row, a selected card and the navigation's current item sit on. +func selectedTint(p palette, c map[string]rgb) rgb { + return c["accent"].over(c["surface"], p.Tint.Selected) +} + +// spotGrid is the spot's one texture, a hairline of its grid: the spot's accent - dark's +// accent_text, since the spot is a dark plane in either theme - at tint.spot_grid over the spot. +func spotGrid(p palette, c, dark map[string]rgb) rgb { + return dark["accent_text"].over(c["spot"], p.Tint.SpotGrid) +} + +// kbdOnFill is a key hint's edge on a filled button: the fill's label at tint.kbd over the fill. +func kbdOnFill(p palette, c map[string]rgb) rgb { + return c["on_accent"].over(c["accent"], p.Tint.Kbd) +} + +// usageBands is a machine's last hour over the panel its row is on: what it is lent above its own +// cores, the accent at chart.usage.lent, and what it used, success at chart.usage.used. +func usageBands(p palette, c map[string]rgb) (lent, used rgb) { + return c["accent"].over(c["surface"], p.Chart.Usage.Lent), c["success"].over(c["surface"], p.Chart.Usage.Used) +} diff --git a/dist/dashboard.css b/dist/dashboard.css index 9d4efba..9a86c4a 100644 --- a/dist/dashboard.css +++ b/dist/dashboard.css @@ -16,7 +16,7 @@ --hairline: 217.5 21.6% 85.5%; --row-hover: 218.8 37.8% 91.2%; --row-action-hover: 0.0 0.0% 100.0%; - --row-selected: 200.4 45.4% 82.2%; + --selected: 200.4 45.4% 90.7%; --spot: 220.9 39.3% 11.0%; --spot-foreground: 210.0 40.0% 94.1%; --spot-muted: 216.4 19.5% 66.9%; @@ -24,6 +24,13 @@ --spot-success: 151.3 49.8% 53.1%; --spot-warning: 39.9 73.1% 59.2%; --spot-error: 332.3 77.2% 70.8%; + --spot-accent: 194.2 89.0% 64.5%; + --spot-grid: 214.1 41.4% 13.4%; + --kbd-fill-border: 200.4 45.4% 63.7%; + --usage-own: 220.0 16.9% 38.2%; + --usage-lent: 200.4 45.4% 94.7%; + --usage-used: 155.7 22.8% 86.2%; + --usage-line: 155.7 74.8% 23.3%; --primary: 200.4 88.4% 33.9%; --primary-foreground: 0.0 0.0% 100.0%; --link: 195.6 96.3% 21.2%; @@ -43,6 +50,7 @@ --success-subtle: 155.7 22.8% 90.8%; --warning-subtle: 36.4 34.9% 91.1%; --error-subtle: 328.3 37.8% 92.4%; + --muted-subtle: 220.0 10.5% 92.6%; --success: 155.7 74.8% 23.3%; --success-foreground: 0.0 0.0% 100.0%; --warning: 36.4 100.0% 25.9%; @@ -74,7 +82,7 @@ --hairline: 222.0 37.5% 15.7%; --row-hover: 221.1 39.3% 17.5%; --row-action-hover: 221.0 35.0% 22.9%; - --row-selected: 202.3 61.3% 23.7%; + --selected: 207.6 55.5% 18.3%; --spot: 221.1 39.3% 17.5%; --spot-foreground: 210.0 40.0% 94.1%; --spot-muted: 216.4 19.5% 66.9%; @@ -82,6 +90,13 @@ --spot-success: 151.3 49.8% 53.1%; --spot-warning: 39.9 73.1% 59.2%; --spot-error: 332.3 77.2% 70.8%; + --spot-accent: 194.2 89.0% 64.5%; + --spot-grid: 216.3 40.8% 19.6%; + --kbd-fill-border: 196.5 69.7% 33.5%; + --usage-own: 216.4 19.5% 66.9%; + --usage-lent: 212.0 51.5% 15.9%; + --usage-used: 190.8 37.5% 17.8%; + --usage-line: 151.3 49.8% 53.1%; --primary: 194.5 84.7% 53.9%; --primary-foreground: 220.0 48.8% 8.4%; --link: 194.2 89.0% 64.5%; @@ -101,6 +116,7 @@ --success-subtle: 200.1 39.1% 16.1%; --warning-subtle: 231.4 6.9% 18.1%; --error-subtle: 256.9 24.1% 19.5%; + --muted-subtle: 222.0 29.4% 19.1%; --success: 151.3 49.8% 53.1%; --success-foreground: 220.9 55.0% 7.8%; --warning: 39.9 73.1% 59.2%; @@ -116,17 +132,32 @@ --trace-service-8: #0A8B7D; } :root { - --radius: 6px; + --radius: 8px; + --spin-radius-xs: 4px; + --spin-radius-sm: 6px; + --spin-radius: 8px; --spin-control-sm: 28px; --spin-control-md: 32px; --spin-control-lg: 36px; --spin-control-icon: 16px; --spin-control-gap: 6px; - --spin-row: 36px; + --spin-kbd: 18px; --spin-sidebar-app: 240px; + --spin-bar: 56px; --spin-width-page: 1600px; --spin-width-panel-min: 560px; + --spin-width-card-min: 240px; + --spin-width-inspector: 400px; --spin-width-aside: 280px; + --spin-width-key: 96px; + --spin-width-search: 240px; + --spin-spot-grid-size: 24px; + --spin-signal-width: 36px; + --spin-signal-height: 5px; + --spin-width-figure: 118px; + --spin-mark: 8px; + --spin-usage-width: 84px; + --spin-usage-height: 30px; --scrim: rgb(9 16 31 / 0.64); --terminal-background: #0A0C10; --terminal-foreground: #E6EBF2; @@ -166,33 +197,35 @@ --spin-text-2xl: 20px; --spin-text-2xl-lh: 28px; --spin-text-3xl: 24px; - --spin-text-3xl-lh: 32px; + --spin-text-3xl-lh: 30px; + --spin-text-4xl: 30px; + --spin-text-4xl-lh: 36px; --spin-weight-strong: 600; --spin-weight-medium: 500; --spin-weight-regular: 400; --spin-rank-title-font: var(--spin-font-mono); - --spin-rank-title-size: clamp(1.75rem, 1.421rem + 1.348vw, 2.5rem); - --spin-rank-title-lh: 1.15; + --spin-rank-title-size: clamp(2rem, 1.671rem + 1.348vw, 2.75rem); + --spin-rank-title-lh: 1.05; --spin-rank-title-weight: 600; --spin-rank-title-tracking: -0.05em; --spin-rank-title-case: none; --spin-rank-verdict-font: var(--spin-font-sans); - --spin-rank-verdict-size: 20px; - --spin-rank-verdict-lh: 28px; + --spin-rank-verdict-size: 24px; + --spin-rank-verdict-lh: 30px; --spin-rank-verdict-weight: 600; - --spin-rank-verdict-tracking: -0.02em; + --spin-rank-verdict-tracking: -0.03em; --spin-rank-verdict-case: none; --spin-rank-section-font: var(--spin-font-sans); --spin-rank-section-size: 16px; --spin-rank-section-lh: 24px; --spin-rank-section-weight: 600; - --spin-rank-section-tracking: -0.01em; + --spin-rank-section-tracking: -0.02em; --spin-rank-section-case: none; --spin-rank-name-font: var(--spin-font-sans); --spin-rank-name-size: 14px; --spin-rank-name-lh: 22px; - --spin-rank-name-weight: 500; - --spin-rank-name-tracking: 0em; + --spin-rank-name-weight: 600; + --spin-rank-name-tracking: -0.01em; --spin-rank-name-case: none; --spin-rank-body-font: var(--spin-font-sans); --spin-rank-body-size: 13px; @@ -203,14 +236,14 @@ --spin-rank-label-font: var(--spin-font-mono); --spin-rank-label-size: 11px; --spin-rank-label-lh: 16px; - --spin-rank-label-weight: 500; + --spin-rank-label-weight: 600; --spin-rank-label-tracking: 0.09em; --spin-rank-label-case: uppercase; --spin-rank-figure-font: var(--spin-font-mono); - --spin-rank-figure-size: 24px; - --spin-rank-figure-lh: 32px; + --spin-rank-figure-size: 30px; + --spin-rank-figure-lh: 36px; --spin-rank-figure-weight: 600; - --spin-rank-figure-tracking: -0.02em; + --spin-rank-figure-tracking: -0.06em; --spin-rank-figure-case: none; --spin-heading-tracking: -0.02em; --spin-numeric: tabular-nums; @@ -218,4 +251,42 @@ --spin-duration: 200ms; --spin-duration-slow: 400ms; --spin-ease: cubic-bezier(0.2, 0.7, 0.2, 1); + --spin-blink: 1100ms; + --spin-blink-times: 3; + --spin-breathe: 2000ms; + --spin-breathe-times: 2; + --spin-space-3xs: 2px; + --spin-space-2xs: 4px; + --spin-space-xs: 6px; + --spin-space-sm: 8px; + --spin-space-md: 12px; + --spin-space-lg: 16px; + --spin-space-xl: 24px; + --spin-space-2xl: 32px; +} +:root, [data-density='comfortable'] { + --spin-inset-page: 32px; + --spin-gap-head: 24px; + --spin-gap-section: 32px; + --spin-gap: 12px; + --spin-inset-card: 16px; + --spin-inset-spot: 24px; + --spin-inset-cell: 16px; + --spin-row: 36px; + --spin-row-two: 52px; + --spin-row-item: 64px; + --spin-tile: 32px; +} +[data-density='compact'] { + --spin-inset-page: 24px; + --spin-gap-head: 16px; + --spin-gap-section: 20px; + --spin-gap: 8px; + --spin-inset-card: 12px; + --spin-inset-spot: 16px; + --spin-inset-cell: 12px; + --spin-row: 32px; + --spin-row-two: 44px; + --spin-row-item: 52px; + --spin-tile: 24px; } diff --git a/dist/perception.js b/dist/perception.js index 5563830..955171e 100644 --- a/dist/perception.js +++ b/dist/perception.js @@ -1,2 +1,2 @@ // Written by `task palette`: every pair palette.toml is held to, and how it held. -export const perception = [{"Mode":"dark","Kind":"text","What":"text on page","Contrast":16.55,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"muted on page","Contrast":7.8,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on page","Contrast":10.51,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on page","Contrast":8.58,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on page","Contrast":9.57,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on page","Contrast":7.32,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on surface","Contrast":15.08,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"muted on surface","Contrast":7.11,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on surface","Contrast":9.58,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on surface","Contrast":7.82,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on surface","Contrast":8.72,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on surface","Contrast":6.67,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on raised","Contrast":13.13,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"muted on raised","Contrast":6.19,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on raised","Contrast":8.34,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on raised","Contrast":6.8,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on raised","Contrast":7.59,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on raised","Contrast":5.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on overlay","Contrast":10.96,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"muted on overlay","Contrast":5.16,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on overlay","Contrast":6.96,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on overlay","Contrast":5.68,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on overlay","Contrast":6.34,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on overlay","Contrast":4.85,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on its badge over page","Contrast":7.12,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on its badge over page","Contrast":7.89,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on its badge over page","Contrast":6.25,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on its badge over page","Contrast":8.46,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on its badge over surface","Contrast":6.34,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on its badge over surface","Contrast":7.01,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on its badge over surface","Contrast":5.58,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on its badge over surface","Contrast":7.5,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on its badge over raised","Contrast":5.46,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on its badge over raised","Contrast":6.04,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on its badge over raised","Contrast":4.83,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on its badge over raised","Contrast":6.43,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"label on page","Contrast":8.53,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on the selected tint over page","Contrast":6.23,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on the selected tint over page","Contrast":9.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"label on surface","Contrast":7.78,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on the selected tint over surface","Contrast":5.56,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on the selected tint over surface","Contrast":8.76,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"success (a chip's mark) on its tint over surface","Contrast":6.34,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"warning (a chip's mark) on its tint over surface","Contrast":7.01,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"error (a chip's mark) on its tint over surface","Contrast":5.58,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"accent_text (a chip's mark) on its tint over surface","Contrast":7.5,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"success (a chip's mark) on its tint over raised","Contrast":5.46,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"warning (a chip's mark) on its tint over raised","Contrast":6.04,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"error (a chip's mark) on its tint over raised","Contrast":4.83,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"accent_text (a chip's mark) on its tint over raised","Contrast":6.43,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"success (a chip's mark) on its tint over the selected tint over surface","Contrast":3.72,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"warning (a chip's mark) on its tint over the selected tint over surface","Contrast":4.2,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"error (a chip's mark) on its tint over the selected tint over surface","Contrast":3.39,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"accent_text (a chip's mark) on its tint over the selected tint over surface","Contrast":4.38,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"spot_text on spot","Contrast":13.13,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"spot_muted (what explains, a label) on spot","Contrast":6.19,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"dark's success on spot","Contrast":6.8,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"dark's warning on spot","Contrast":7.59,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"dark's error on spot","Contrast":5.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"on_accent on accent","Contrast":8.55,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"white on destructive","Contrast":5.22,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"on_accent on accent under the pointer","Contrast":6.65,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"on_accent on accent pressed","Contrast":5.06,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"white on destructive under the pointer","Contrast":6.37,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"white on destructive pressed","Contrast":7.83,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on a secondary button","Contrast":13.13,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on a secondary button under the pointer","Contrast":10.96,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"border_strong on page","Contrast":4.33,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"accent_text (the focus ring) on page","Contrast":10.51,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"border_strong on raised","Contrast":3.43,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"accent_text (the focus ring) on raised","Contrast":8.34,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"edge","What":"page | surface","Distance":{"deutan":3.9,"deutan+ips":3.5,"dim":3.5,"drawn":4.1,"ips":3.7,"protan":3.9,"protan+ips":3.6,"tritan":4.7},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"edge","What":"surface | raised","Distance":{"deutan":3.9,"deutan+ips":3.7,"dim":3.5,"drawn":4,"ips":3.7,"protan":4.1,"protan+ips":3.8,"tritan":4.1},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"edge","What":"page | raised","Distance":{"deutan":7.6,"deutan+ips":7.1,"dim":6.8,"drawn":7.7,"ips":7.2,"protan":7.8,"protan+ips":7.3,"tritan":8.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"line","What":"border on page","Distance":{"deutan":14.8,"deutan+ips":13.9,"dim":13.1,"drawn":15,"ips":14.1,"protan":15.3,"protan+ips":14.4,"tritan":15.6},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"line","What":"border on raised","Distance":{"deutan":7.6,"deutan+ips":7.2,"dim":6.9,"drawn":7.7,"ips":7.3,"protan":7.8,"protan+ips":7.5,"tritan":7.7},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"line","What":"hairline on page","Distance":{"deutan":6,"deutan+ips":5.5,"dim":5.2,"drawn":6.1,"ips":5.6,"protan":6.2,"protan+ips":5.7,"tritan":6.8},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"edge","What":"spot | page","Distance":{"deutan":7.6,"deutan+ips":7.1,"dim":6.8,"drawn":7.7,"ips":7.2,"protan":7.8,"protan+ips":7.3,"tritan":8.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"line","What":"spot_border on spot","Distance":{"deutan":7.6,"deutan+ips":7.2,"dim":6.9,"drawn":7.7,"ips":7.3,"protan":7.8,"protan+ips":7.5,"tritan":7.7},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"line","What":"spot_border on page","Distance":{"deutan":14.8,"deutan+ips":13.9,"dim":13.1,"drawn":15,"ips":14.1,"protan":15.3,"protan+ips":14.4,"tritan":15.6},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"state","What":"selected tint over page | page","Distance":{"deutan":13.6,"deutan+ips":12.9,"dim":14.6,"drawn":16.8,"ips":15.9,"protan":14.6,"protan+ips":13.7,"tritan":17.8},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"hover","What":"hover tint over page | page","Distance":{"deutan":5.2,"deutan+ips":4.8,"dim":5.4,"drawn":6.7,"ips":6.2,"protan":5.4,"protan+ips":4.9,"tritan":8.5},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"state","What":"selected tint over surface | surface","Distance":{"deutan":12.6,"deutan+ips":12.1,"dim":14.8,"drawn":16.9,"ips":16,"protan":13.8,"protan+ips":13.1,"tritan":15.8},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"hover","What":"hover tint over surface | surface","Distance":{"deutan":4.6,"deutan+ips":4.4,"dim":5.7,"drawn":7,"ips":6.4,"protan":5,"protan+ips":4.6,"tritan":6.7},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"accent under the pointer | accent","Distance":{"deutan":6.5,"deutan+ips":6.4,"dim":6.3,"drawn":6.5,"ips":6.4,"protan":6.4,"protan+ips":6.4,"tritan":6.5},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"destructive under the pointer | destructive","Distance":{"deutan":5.8,"deutan+ips":5.8,"dim":5.2,"drawn":5.3,"ips":5.2,"protan":3.9,"protan+ips":3.9,"tritan":5.3},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"secondary under the pointer | secondary","Distance":{"deutan":4.2,"deutan+ips":4,"dim":3.9,"drawn":4.3,"ips":4.1,"protan":4.4,"protan+ips":4.2,"tritan":4.3},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"edge","What":"secondary button | page","Distance":{"deutan":7.6,"deutan+ips":7.1,"dim":6.8,"drawn":7.7,"ips":7.2,"protan":7.8,"protan+ips":7.3,"tritan":8.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"line","What":"a secondary button's outline on page","Distance":{"deutan":14.8,"deutan+ips":13.9,"dim":13.1,"drawn":15,"ips":14.1,"protan":15.3,"protan+ips":14.4,"tritan":15.6},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"line","What":"a secondary button's outline on surface","Distance":{"deutan":11.4,"deutan+ips":10.7,"dim":10.2,"drawn":11.7,"ips":10.9,"protan":11.8,"protan+ips":11.1,"tritan":11.7},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"hover","What":"a row under the pointer | page","Distance":{"deutan":7.6,"deutan+ips":7.1,"dim":6.8,"drawn":7.7,"ips":7.2,"protan":7.8,"protan+ips":7.3,"tritan":8.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"a row under the pointer | its panel","Distance":{"deutan":3.9,"deutan+ips":3.7,"dim":3.5,"drawn":4,"ips":3.7,"protan":4.1,"protan+ips":3.8,"tritan":4.1},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"a row's action under the pointer | its row","Distance":{"deutan":4.2,"deutan+ips":4,"dim":3.9,"drawn":4.3,"ips":4.1,"protan":4.4,"protan+ips":4.2,"tritan":4.3},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"meaning","What":"success | error","Distance":{"deutan":14.6,"deutan+ips":14.5,"dim":69,"drawn":69.9,"ips":69.6,"protan":32.4,"protan+ips":32.2,"tritan":64.2},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"meaning","What":"success | warning","Distance":{"deutan":16.7,"deutan+ips":16.6,"dim":35.1,"drawn":35.5,"ips":35.4,"protan":11.5,"protan+ips":11.4,"tritan":51.9},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"meaning","What":"warning | error","Distance":{"deutan":28.9,"deutan+ips":28.8,"dim":47.7,"drawn":48.5,"ips":48.2,"protan":41.5,"protan+ips":41.2,"tritan":11.5},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"meaning","What":"accent | success","Distance":{"deutan":35.1,"deutan+ips":34.9,"dim":34.4,"drawn":34.8,"ips":34.6,"protan":37.2,"protan+ips":37.1,"tritan":6.2},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"meaning","What":"accent | error","Distance":{"deutan":18.5,"deutan+ips":18.5,"dim":57.7,"drawn":58.5,"ips":58.1,"protan":12.6,"protan+ips":12.5,"tritan":72.1},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"text","What":"text on page","Contrast":16.09,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"muted on page","Contrast":6.1,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on page","Contrast":8.18,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on page","Contrast":6.18,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on page","Contrast":6.09,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on page","Contrast":6.95,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on surface","Contrast":17.74,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"muted on surface","Contrast":6.72,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on surface","Contrast":9.02,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on surface","Contrast":6.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on surface","Contrast":6.71,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on surface","Contrast":7.67,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on raised","Contrast":14.16,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"muted on raised","Contrast":5.36,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on raised","Contrast":7.2,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on raised","Contrast":5.43,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on raised","Contrast":5.36,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on raised","Contrast":6.12,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on overlay","Contrast":17.74,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"muted on overlay","Contrast":6.72,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on overlay","Contrast":9.02,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on overlay","Contrast":6.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on overlay","Contrast":6.71,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on overlay","Contrast":7.67,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on its badge over page","Contrast":5.18,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on its badge over page","Contrast":5.12,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on its badge over page","Contrast":5.7,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on its badge over page","Contrast":6.72,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on its badge over surface","Contrast":5.68,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on its badge over surface","Contrast":5.61,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on its badge over surface","Contrast":6.25,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on its badge over surface","Contrast":7.37,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on its badge over raised","Contrast":4.59,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on its badge over raised","Contrast":4.54,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on its badge over raised","Contrast":5.05,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on its badge over raised","Contrast":5.96,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"label on page","Contrast":6.9,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on the selected tint over page","Contrast":5.6,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on the selected tint over page","Contrast":11.01,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"label on surface","Contrast":7.6,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on the selected tint over surface","Contrast":6.07,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on the selected tint over surface","Contrast":11.94,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"success (a chip's mark) on its tint over surface","Contrast":5.68,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"warning (a chip's mark) on its tint over surface","Contrast":5.61,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"error (a chip's mark) on its tint over surface","Contrast":6.25,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"accent_text (a chip's mark) on its tint over surface","Contrast":7.37,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"success (a chip's mark) on its tint over raised","Contrast":4.59,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"warning (a chip's mark) on its tint over raised","Contrast":4.54,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"error (a chip's mark) on its tint over raised","Contrast":5.05,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"accent_text (a chip's mark) on its tint over raised","Contrast":5.96,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"success (a chip's mark) on its tint over the selected tint over surface","Contrast":3.93,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"warning (a chip's mark) on its tint over the selected tint over surface","Contrast":3.86,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"error (a chip's mark) on its tint over the selected tint over surface","Contrast":4.28,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"accent_text (a chip's mark) on its tint over the selected tint over surface","Contrast":5.09,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"spot_text on spot","Contrast":15.45,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"spot_muted (what explains, a label) on spot","Contrast":7.28,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"dark's success on spot","Contrast":8.01,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"dark's warning on spot","Contrast":8.94,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"dark's error on spot","Contrast":6.84,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"on_accent on accent","Contrast":5.5,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"white on destructive","Contrast":5.62,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"on_accent on accent under the pointer","Contrast":6.68,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"on_accent on accent pressed","Contrast":8.14,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"white on destructive under the pointer","Contrast":6.83,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"white on destructive pressed","Contrast":8.33,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on a secondary button","Contrast":17.74,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on a secondary button under the pointer","Contrast":14.16,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"border_strong on page","Contrast":3.6,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"accent_text (the focus ring) on page","Contrast":8.18,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"border_strong on raised","Contrast":3.17,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"accent_text (the focus ring) on raised","Contrast":7.2,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"edge","What":"page | surface","Distance":{"deutan":3.6,"deutan+ips":3.6,"dim":3.4,"drawn":3.4,"ips":3.4,"protan":3.3,"protan+ips":3.3,"tritan":3.5},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"edge","What":"surface | raised","Distance":{"deutan":7.7,"deutan+ips":7.7,"dim":7.4,"drawn":7.5,"ips":7.5,"protan":7.3,"protan+ips":7.3,"tritan":7.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"edge","What":"page | raised","Distance":{"deutan":4.2,"deutan+ips":4.2,"dim":4,"drawn":4.1,"ips":4.1,"protan":4,"protan+ips":4,"tritan":3.9},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"line","What":"border on page","Distance":{"deutan":10,"deutan+ips":9.9,"dim":9.7,"drawn":9.8,"ips":9.8,"protan":9.6,"protan+ips":9.5,"tritan":9.8},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"line","What":"border on raised","Distance":{"deutan":6.2,"deutan+ips":6.2,"dim":6.1,"drawn":6.2,"ips":6.1,"protan":6,"protan+ips":6,"tritan":6.2},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"line","What":"hairline on page","Distance":{"deutan":6.7,"deutan+ips":6.7,"dim":6.5,"drawn":6.6,"ips":6.6,"protan":6.5,"protan+ips":6.5,"tritan":6.6},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"edge","What":"spot | page","Distance":{"deutan":87.3,"deutan+ips":82.8,"dim":77,"drawn":86.8,"ips":82.4,"protan":86,"protan+ips":81.7,"tritan":86.5},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"line","What":"spot_border on spot","Distance":{"deutan":12.7,"deutan+ips":12,"dim":11.5,"drawn":12.8,"ips":12.2,"protan":13.1,"protan+ips":12.5,"tritan":12.9},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"line","What":"spot_border on page","Distance":{"deutan":62.2,"deutan+ips":60.8,"dim":58.3,"drawn":61.4,"ips":60.1,"protan":60.2,"protan+ips":59,"tritan":60.9},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"state","What":"selected tint over page | page","Distance":{"deutan":12.1,"deutan+ips":12.1,"dim":12.8,"drawn":12.9,"ips":12.9,"protan":10.4,"protan+ips":10.3,"tritan":15.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"hover","What":"hover tint over page | page","Distance":{"deutan":4.6,"deutan+ips":4.6,"dim":5.1,"drawn":5.2,"ips":5.1,"protan":3.9,"protan+ips":3.9,"tritan":6.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"state","What":"selected tint over surface | surface","Distance":{"deutan":13.2,"deutan+ips":13.1,"dim":13.8,"drawn":13.9,"ips":13.9,"protan":11.3,"protan+ips":11.3,"tritan":17},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"hover","What":"hover tint over surface | surface","Distance":{"deutan":5.1,"deutan+ips":5.1,"dim":5.6,"drawn":5.6,"ips":5.6,"protan":4.3,"protan+ips":4.3,"tritan":7.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"accent under the pointer | accent","Distance":{"deutan":4.6,"deutan+ips":4.6,"dim":4.8,"drawn":4.9,"ips":4.8,"protan":5.3,"protan+ips":5.3,"tritan":5.3},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"destructive under the pointer | destructive","Distance":{"deutan":5.6,"deutan+ips":5.5,"dim":4.9,"drawn":5,"ips":5,"protan":3.7,"protan+ips":3.6,"tritan":5.2},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"secondary under the pointer | secondary","Distance":{"deutan":7.7,"deutan+ips":7.7,"dim":7.4,"drawn":7.5,"ips":7.5,"protan":7.3,"protan+ips":7.3,"tritan":7.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"edge","What":"secondary button | page","Distance":{"deutan":3.6,"deutan+ips":3.6,"dim":3.4,"drawn":3.4,"ips":3.4,"protan":3.3,"protan+ips":3.3,"tritan":3.5},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"line","What":"a secondary button's outline on page","Distance":{"deutan":10,"deutan+ips":9.9,"dim":9.7,"drawn":9.8,"ips":9.8,"protan":9.6,"protan+ips":9.5,"tritan":9.8},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"line","What":"a secondary button's outline on surface","Distance":{"deutan":13.3,"deutan+ips":13.2,"dim":12.8,"drawn":13,"ips":12.9,"protan":12.7,"protan+ips":12.6,"tritan":13},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"hover","What":"a row under the pointer | page","Distance":{"deutan":4.2,"deutan+ips":4.2,"dim":4,"drawn":4.1,"ips":4.1,"protan":4,"protan+ips":4,"tritan":3.9},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"a row under the pointer | its panel","Distance":{"deutan":7.7,"deutan+ips":7.7,"dim":7.4,"drawn":7.5,"ips":7.5,"protan":7.3,"protan+ips":7.3,"tritan":7.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"a row's action under the pointer | its row","Distance":{"deutan":7.7,"deutan+ips":7.7,"dim":7.4,"drawn":7.5,"ips":7.5,"protan":7.3,"protan+ips":7.3,"tritan":7.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"meaning","What":"success | error","Distance":{"deutan":10.3,"deutan+ips":10,"dim":61.3,"drawn":64.1,"ips":62.9,"protan":29.7,"protan+ips":29,"tritan":56.5},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"meaning","What":"success | warning","Distance":{"deutan":16.1,"deutan+ips":15.6,"dim":35.2,"drawn":36.7,"ips":36.1,"protan":11.5,"protan+ips":10.8,"tritan":46.6},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"meaning","What":"warning | error","Distance":{"deutan":24.6,"deutan+ips":24,"dim":37.8,"drawn":41.1,"ips":39.7,"protan":38.6,"protan+ips":37.4,"tritan":9.3},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"meaning","What":"accent | success","Distance":{"deutan":32.2,"deutan+ips":31.7,"dim":33.3,"drawn":34.3,"ips":33.9,"protan":34.9,"protan+ips":34.5,"tritan":9.7},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"meaning","What":"accent | error","Distance":{"deutan":19.9,"deutan+ips":19.8,"dim":44.2,"drawn":45.6,"ips":45,"protan":16.6,"protan+ips":16.4,"tritan":61.3},"Floor":20,"Worst":10,"OK":true},{"Mode":"term","Kind":"text","What":"foreground on background","Contrast":16.34,"Floor":7,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"foreground on black","Contrast":11.69,"Floor":7,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"red on background","Contrast":6.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"green on background","Contrast":8.84,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"yellow on background","Contrast":9.86,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"blue on background","Contrast":7.3,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"magenta on background","Contrast":8.02,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"cyan on background","Contrast":9.04,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"white on background","Contrast":12.73,"Floor":7,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_black on background","Contrast":5.47,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_red on background","Contrast":9.83,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_green on background","Contrast":12.27,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_yellow on background","Contrast":13.13,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_blue on background","Contrast":10.62,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_magenta on background","Contrast":11.41,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_cyan on background","Contrast":12.53,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_white on background","Contrast":19.57,"Floor":7,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"foreground on selection","Contrast":9.51,"Floor":7,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"background on cursor","Contrast":9.04,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"non-text","What":"cursor on background","Contrast":9.04,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 1 on page","Contrast":3.92,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 1 on page","Contrast":4.4,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 2 on page","Contrast":5.19,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 2 on page","Contrast":3.32,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 1 | series 2","Distance":{"deutan":61.8,"deutan+ips":61.3,"dim":47.8,"drawn":48.8,"ips":48.4,"protan":55.2,"protan+ips":54.7,"tritan":64.3},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 3 on page","Contrast":5.72,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 3 on page","Contrast":3.01,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 2 | series 3","Distance":{"deutan":28.6,"deutan+ips":28.3,"dim":51.6,"drawn":52.3,"ips":52,"protan":22.1,"protan+ips":21.7,"tritan":61.9},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 4 on page","Contrast":5.62,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 4 on page","Contrast":3.07,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 3 | series 4","Distance":{"deutan":30,"deutan+ips":29.7,"dim":37.9,"drawn":38.7,"ips":38.4,"protan":23.1,"protan+ips":22.7,"tritan":49.5},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 5 on page","Contrast":4.59,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 5 on page","Contrast":3.75,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 4 | series 5","Distance":{"deutan":37.7,"deutan+ips":37.3,"dim":52.5,"drawn":54.1,"ips":53.5,"protan":47.5,"protan+ips":46.9,"tritan":11.6},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 6 on page","Contrast":5.44,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 6 on page","Contrast":3.17,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 5 | series 6","Distance":{"deutan":32.1,"deutan+ips":31.8,"dim":72.8,"drawn":74.3,"ips":73.7,"protan":46.1,"protan+ips":45.7,"tritan":57},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 7 on page","Contrast":4.11,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 7 on page","Contrast":4.19,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 6 | series 7","Distance":{"deutan":53.9,"deutan+ips":53.5,"dim":54.8,"drawn":55.6,"ips":55.3,"protan":57.4,"protan+ips":57,"tritan":21.7},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 8 on page","Contrast":4.42,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 8 on page","Contrast":3.9,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 7 | series 8","Distance":{"deutan":49.2,"deutan+ips":48.9,"dim":34.2,"drawn":34.6,"ips":34.5,"protan":38.1,"protan+ips":37.8,"tritan":43.2},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"good on page","Contrast":5.33,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"good on page","Contrast":3.23,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"warning on page","Contrast":5.18,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"warning on page","Contrast":3.32,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"critical on page","Contrast":4.66,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"critical on page","Contrast":3.69,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"good | warning","Distance":{"deutan":14.3,"deutan+ips":14,"dim":35.5,"drawn":36.2,"ips":35.9,"protan":10.9,"protan+ips":10.5,"tritan":50.4},"Floor":20,"Worst":10,"OK":true},{"Mode":"chart","Kind":"meaning","What":"good | critical","Distance":{"deutan":25.5,"deutan+ips":25.2,"dim":73.7,"drawn":75.1,"ips":74.5,"protan":40.9,"protan+ips":40.6,"tritan":63.8},"Floor":20,"Worst":10,"OK":true},{"Mode":"chart","Kind":"meaning","What":"warning | critical","Distance":{"deutan":37.6,"deutan+ips":37.2,"dim":51.8,"drawn":53.6,"ips":52.9,"protan":47.7,"protan+ips":47.1,"tritan":11.3},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"text","What":"service 1 on page","Contrast":5.37,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 1 on raised","Contrast":4.26,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 1 | error","Distance":{"deutan":27.6,"deutan+ips":27.5,"dim":35.8,"drawn":36,"ips":35.9,"protan":15.2,"protan+ips":15.2,"tritan":64.7},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 1 | destructive","Distance":{"deutan":48.6,"deutan+ips":48.2,"dim":42,"drawn":42.6,"ips":42.3,"protan":40.4,"protan+ips":40,"tritan":72.1},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 2","Distance":{"deutan":11.9,"deutan+ips":11.9,"dim":21.7,"drawn":21.9,"ips":21.8,"protan":12,"protan+ips":12,"tritan":39.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 3","Distance":{"deutan":15.5,"deutan+ips":15.3,"dim":23.3,"drawn":23.7,"ips":23.5,"protan":16.1,"protan+ips":16,"tritan":13.7},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 4","Distance":{"deutan":42.2,"deutan+ips":42,"dim":47.7,"drawn":48.2,"ips":48,"protan":47.3,"protan+ips":47.1,"tritan":23.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 5","Distance":{"deutan":50.4,"deutan+ips":50.1,"dim":52.4,"drawn":53.1,"ips":52.8,"protan":49.9,"protan+ips":49.6,"tritan":19.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 6","Distance":{"deutan":67.2,"deutan+ips":66.9,"dim":63.1,"drawn":63.8,"ips":63.5,"protan":63.3,"protan+ips":63,"tritan":53.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 7","Distance":{"deutan":60.5,"deutan+ips":60,"dim":52.2,"drawn":53.5,"ips":53,"protan":58.3,"protan+ips":57.6,"tritan":61.7},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 8","Distance":{"deutan":23.8,"deutan+ips":23.8,"dim":34.8,"drawn":35.2,"ips":35,"protan":30.5,"protan+ips":30.4,"tritan":12},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 2 on page","Contrast":4.67,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 2 on raised","Contrast":3.71,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 2 | error","Distance":{"deutan":20.2,"deutan+ips":20,"dim":20.6,"drawn":20.9,"ips":20.8,"protan":10.3,"protan+ips":10.2,"tritan":24.4},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 2 | destructive","Distance":{"deutan":36.5,"deutan+ips":36.1,"dim":27.3,"drawn":27.9,"ips":27.7,"protan":29,"protan+ips":28.7,"tritan":27.3},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 3","Distance":{"deutan":14.5,"deutan+ips":14.3,"dim":38.2,"drawn":38.8,"ips":38.5,"protan":19.3,"protan+ips":19.1,"tritan":44.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 4","Distance":{"deutan":34.7,"deutan+ips":34.4,"dim":48.1,"drawn":48.8,"ips":48.5,"protan":43.7,"protan+ips":43.4,"tritan":48.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 5","Distance":{"deutan":38.8,"deutan+ips":38.6,"dim":51.1,"drawn":52,"ips":51.6,"protan":42,"protan+ips":41.7,"tritan":21.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 6","Distance":{"deutan":55.1,"deutan+ips":54.7,"dim":58.3,"drawn":59.3,"ips":58.9,"protan":55.8,"protan+ips":55.4,"tritan":28.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 7","Distance":{"deutan":46.8,"deutan+ips":46.3,"dim":44.1,"drawn":45.7,"ips":45,"protan":47.1,"protan+ips":46.5,"tritan":21.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 8","Distance":{"deutan":13.7,"deutan+ips":13.6,"dim":35.4,"drawn":36.1,"ips":35.8,"protan":22.2,"protan+ips":22,"tritan":38.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 3 on page","Contrast":8.78,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 3 on raised","Contrast":6.96,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 3 | error","Distance":{"deutan":17.5,"deutan+ips":17.5,"dim":58.9,"drawn":59.7,"ips":59.4,"protan":12.2,"protan+ips":12.1,"tritan":72.2},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 3 | destructive","Distance":{"deutan":43.1,"deutan+ips":42.7,"dim":66.6,"drawn":67.9,"ips":67.4,"protan":42,"protan+ips":41.4,"tritan":69.1},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 3 | service 4","Distance":{"deutan":29.6,"deutan+ips":29.5,"dim":30.1,"drawn":30.3,"ips":30.2,"protan":33.2,"protan+ips":33.1,"tritan":9.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 3 | service 5","Distance":{"deutan":40.4,"deutan+ips":40.2,"dim":38.2,"drawn":38.7,"ips":38.5,"protan":38.9,"protan+ips":38.7,"tritan":21.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 3 | service 6","Distance":{"deutan":53.4,"deutan+ips":53.2,"dim":49.9,"drawn":50.3,"ips":50.2,"protan":48.4,"protan+ips":48.2,"tritan":44.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 3 | service 7","Distance":{"deutan":51.6,"deutan+ips":51.2,"dim":50.1,"drawn":51.2,"ips":50.7,"protan":50.3,"protan+ips":49.7,"tritan":58.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 3 | service 8","Distance":{"deutan":23.6,"deutan+ips":23.4,"dim":25.1,"drawn":25.7,"ips":25.5,"protan":27,"protan+ips":26.8,"tritan":18.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 4 on page","Contrast":13.17,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 4 on raised","Contrast":10.45,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 4 | error","Distance":{"deutan":14,"deutan+ips":13.9,"dim":71.4,"drawn":72.2,"ips":71.9,"protan":33.8,"protan+ips":33.6,"tritan":68.6},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 4 | destructive","Distance":{"deutan":29.1,"deutan+ips":28.8,"dim":75.5,"drawn":76.8,"ips":76.3,"protan":43.2,"protan+ips":42.6,"tritan":77.7},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 4 | service 5","Distance":{"deutan":17.1,"deutan+ips":17,"dim":22.6,"drawn":22.9,"ips":22.8,"protan":17.2,"protan+ips":17.1,"tritan":25.4},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 4 | service 6","Distance":{"deutan":22.3,"deutan+ips":22.3,"dim":35.7,"drawn":36,"ips":35.9,"protan":17.8,"protan+ips":17.7,"tritan":47.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 4 | service 7","Distance":{"deutan":30.1,"deutan+ips":29.8,"dim":50.8,"drawn":51.6,"ips":51.3,"protan":34.1,"protan+ips":33.6,"tritan":65.4},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 4 | service 8","Distance":{"deutan":29.1,"deutan+ips":28.8,"dim":27.5,"drawn":28.1,"ips":27.9,"protan":28.1,"protan+ips":27.9,"tritan":26.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 5 on page","Contrast":7.36,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 5 on raised","Contrast":5.84,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 5 | error","Distance":{"deutan":20.4,"deutan+ips":20.2,"dim":53.7,"drawn":54.5,"ips":54.2,"protan":33.6,"protan+ips":33.4,"tritan":36.6},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 5 | destructive","Distance":{"deutan":14.6,"deutan+ips":14.4,"dim":53.1,"drawn":54.2,"ips":53.8,"protan":30.9,"protan+ips":30.4,"tritan":43.6},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 5 | service 6","Distance":{"deutan":20,"deutan+ips":19.9,"dim":24.5,"drawn":24.8,"ips":24.7,"protan":17.1,"protan+ips":17,"tritan":31.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 5 | service 7","Distance":{"deutan":14.2,"deutan+ips":13.9,"dim":30.6,"drawn":31.2,"ips":30.9,"protan":17.5,"protan+ips":17.1,"tritan":36},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 5 | service 8","Distance":{"deutan":26.3,"deutan+ips":26.1,"dim":23.3,"drawn":23.9,"ips":23.6,"protan":19.1,"protan+ips":18.9,"tritan":20.7},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 6 on page","Contrast":13.29,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 6 on raised","Contrast":10.55,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 6 | error","Distance":{"deutan":32.7,"deutan+ips":32.6,"dim":54.8,"drawn":55.5,"ips":55.3,"protan":45.8,"protan+ips":45.5,"tritan":18.8},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 6 | destructive","Distance":{"deutan":32.5,"deutan+ips":32.2,"dim":54.3,"drawn":55.4,"ips":54.9,"protan":45.7,"protan+ips":45.2,"tritan":35.4},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 6 | service 7","Distance":{"deutan":24.4,"deutan+ips":24.2,"dim":28.3,"drawn":28.7,"ips":28.5,"protan":28,"protan+ips":27.7,"tritan":25.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 6 | service 8","Distance":{"deutan":43.4,"deutan+ips":43.1,"dim":44.4,"drawn":45.2,"ips":44.8,"protan":34,"protan+ips":33.8,"tritan":48.8},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 7 on page","Contrast":4.76,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 7 on raised","Contrast":3.78,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 7 | error","Distance":{"deutan":30.9,"deutan+ips":30.6,"dim":42.6,"drawn":44.4,"ips":43.7,"protan":41.4,"protan+ips":40.9,"tritan":13.8},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 7 | destructive","Distance":{"deutan":12.9,"deutan+ips":12.7,"dim":31.9,"drawn":33.5,"ips":32.8,"protan":22.7,"protan+ips":22.3,"tritan":10.7},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 7 | service 8","Distance":{"deutan":31.1,"deutan+ips":30.7,"dim":41.3,"drawn":42.2,"ips":41.9,"protan":23,"protan+ips":22.6,"tritan":52.8},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 8 on page","Contrast":4.52,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 8 on raised","Contrast":3.59,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 8 | error","Distance":{"deutan":16.9,"deutan+ips":16.6,"dim":50.7,"drawn":52,"ips":51.5,"protan":17.3,"protan+ips":17.1,"tritan":59.7},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 8 | destructive","Distance":{"deutan":21.3,"deutan+ips":21,"dim":58.9,"drawn":60.2,"ips":59.7,"protan":15.9,"protan+ips":15.7,"tritan":62.2},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 1 on page","Contrast":5.02,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 1 on raised","Contrast":4.42,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 1 | error","Distance":{"deutan":26.8,"deutan+ips":26.8,"dim":29.6,"drawn":29.8,"ips":29.7,"protan":22.6,"protan+ips":22.5,"tritan":58.7},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 1 | destructive","Distance":{"deutan":54.7,"deutan+ips":54.1,"dim":38.3,"drawn":38.9,"ips":38.6,"protan":43.5,"protan+ips":43,"tritan":60.9},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 2","Distance":{"deutan":10.4,"deutan+ips":10.3,"dim":12.3,"drawn":12.6,"ips":12.5,"protan":13,"protan+ips":12.9,"tritan":18.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 3","Distance":{"deutan":10.6,"deutan+ips":10.6,"dim":15,"drawn":15.8,"ips":15.5,"protan":12.2,"protan+ips":12.2,"tritan":10.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 4","Distance":{"deutan":47.8,"deutan+ips":47.2,"dim":48.6,"drawn":49.7,"ips":49.2,"protan":51.5,"protan+ips":51,"tritan":17.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 5","Distance":{"deutan":58.6,"deutan+ips":57.5,"dim":63.7,"drawn":66.6,"ips":65.4,"protan":58.6,"protan+ips":57.4,"tritan":26.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 6","Distance":{"deutan":57.6,"deutan+ips":55.9,"dim":49.8,"drawn":54.1,"ips":52.2,"protan":57,"protan+ips":55.2,"tritan":48.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 7","Distance":{"deutan":54.9,"deutan+ips":52.9,"dim":42.1,"drawn":45.7,"ips":44.4,"protan":53.5,"protan+ips":51.7,"tritan":55.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 8","Distance":{"deutan":17,"deutan+ips":17,"dim":30.4,"drawn":31.1,"ips":30.8,"protan":21,"protan+ips":21,"tritan":12.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 2 on page","Contrast":7.47,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 2 on raised","Contrast":6.57,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 2 | error","Distance":{"deutan":23.5,"deutan+ips":23.3,"dim":22.2,"drawn":22.4,"ips":22.3,"protan":12.5,"protan+ips":12.5,"tritan":35.2},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 2 | destructive","Distance":{"deutan":50.9,"deutan+ips":50.3,"dim":34.5,"drawn":35.3,"ips":35,"protan":38.4,"protan+ips":37.9,"tritan":39.3},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 3","Distance":{"deutan":6.1,"deutan+ips":6.1,"dim":20.7,"drawn":22,"ips":21.5,"protan":9.5,"protan+ips":9.4,"tritan":19.4},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 4","Distance":{"deutan":43,"deutan+ips":42.4,"dim":46.4,"drawn":47.7,"ips":47.1,"protan":47.9,"protan+ips":47.2,"tritan":22.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 5","Distance":{"deutan":52.8,"deutan+ips":51.6,"dim":60.3,"drawn":63.7,"ips":62.2,"protan":53.5,"protan+ips":52.2,"tritan":17.4},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 6","Distance":{"deutan":50.8,"deutan+ips":49,"dim":45.1,"drawn":49.7,"ips":47.7,"protan":50.1,"protan+ips":48.3,"tritan":28},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 7","Distance":{"deutan":47.2,"deutan+ips":45.3,"dim":35,"drawn":38.7,"ips":37.4,"protan":44.9,"protan+ips":43.2,"tritan":33.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 8","Distance":{"deutan":16.6,"deutan+ips":16.5,"dim":32.6,"drawn":33.7,"ips":33.2,"protan":21.9,"protan+ips":21.7,"tritan":23.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 3 on page","Contrast":5.88,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 3 on raised","Contrast":5.17,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 3 | error","Distance":{"deutan":18.3,"deutan+ips":18.2,"dim":42.9,"drawn":44.4,"ips":43.8,"protan":11.9,"protan+ips":11.8,"tritan":57.9},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 3 | destructive","Distance":{"deutan":43.1,"deutan+ips":42.5,"dim":46.2,"drawn":47.3,"ips":46.9,"protan":30.5,"protan+ips":30,"tritan":54.2},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 3 | service 4","Distance":{"deutan":36.2,"deutan+ips":35.7,"dim":36.5,"drawn":37.8,"ips":37.3,"protan":37.9,"protan+ips":37.3,"tritan":6.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 3 | service 5","Distance":{"deutan":45.2,"deutan+ips":44.2,"dim":44.7,"drawn":47.6,"ips":46.3,"protan":43.5,"protan+ips":42.5,"tritan":25},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 3 | service 6","Distance":{"deutan":44,"deutan+ips":42.4,"dim":37.6,"drawn":40.8,"ips":39.4,"protan":42.2,"protan+ips":40.6,"tritan":42.4},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 3 | service 7","Distance":{"deutan":41.8,"deutan+ips":40,"dim":39.2,"drawn":42.5,"ips":41.1,"protan":39.9,"protan+ips":38.2,"tritan":48.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 3 | service 8","Distance":{"deutan":10.7,"deutan+ips":10.6,"dim":16.8,"drawn":17.1,"ips":17,"protan":12.8,"protan+ips":12.7,"tritan":6.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 4 on page","Contrast":5.68,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 4 on raised","Contrast":5,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 4 | error","Distance":{"deutan":15.3,"deutan+ips":15,"dim":65.3,"drawn":68.1,"ips":67,"protan":35.1,"protan+ips":34.3,"tritan":57.9},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 4 | destructive","Distance":{"deutan":9.8,"deutan+ips":9.8,"dim":61.9,"drawn":63.9,"ips":63.1,"protan":9.9,"protan+ips":9.7,"tritan":59.5},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 4 | service 5","Distance":{"deutan":9.4,"deutan+ips":8.8,"dim":17.2,"drawn":18.7,"ips":18.1,"protan":8.1,"protan+ips":7.5,"tritan":25.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 4 | service 6","Distance":{"deutan":11.9,"deutan+ips":11.1,"dim":31.3,"drawn":33.1,"ips":32.3,"protan":14.7,"protan+ips":14.3,"tritan":44.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 4 | service 7","Distance":{"deutan":16.5,"deutan+ips":15.8,"dim":44.6,"drawn":47.8,"ips":46.3,"protan":23,"protan+ips":22.3,"tritan":51.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 4 | service 8","Distance":{"deutan":27,"deutan+ips":26.5,"dim":21.5,"drawn":22.3,"ips":22,"protan":26,"protan+ips":25.6,"tritan":7.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 5 on page","Contrast":6.59,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 5 on raised","Contrast":5.79,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 5 | error","Distance":{"deutan":23.1,"deutan+ips":22.4,"dim":52.8,"drawn":56.1,"ips":54.7,"protan":38.8,"protan+ips":37.6,"tritan":26.3},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 5 | destructive","Distance":{"deutan":10.7,"deutan+ips":10.4,"dim":45.6,"drawn":47.6,"ips":46.8,"protan":13.5,"protan+ips":12.8,"tritan":28.9},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 5 | service 6","Distance":{"deutan":7.7,"deutan+ips":7.7,"dim":17.1,"drawn":17.4,"ips":17.3,"protan":10,"protan+ips":10,"tritan":18.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 5 | service 7","Distance":{"deutan":15.5,"deutan+ips":15.3,"dim":31.5,"drawn":33.5,"ips":32.4,"protan":20.3,"protan+ips":19.7,"tritan":25.8},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 5 | service 8","Distance":{"deutan":35.4,"deutan+ips":34.6,"dim":30.9,"drawn":33,"ips":32.1,"protan":32.2,"protan+ips":31.4,"tritan":27.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 6 on page","Contrast":9.57,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 6 on raised","Contrast":8.42,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 6 | error","Distance":{"deutan":23.2,"deutan+ips":22,"dim":36.3,"drawn":40.7,"ips":38.8,"protan":35.2,"protan+ips":33.5,"tritan":15.4},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 6 | destructive","Distance":{"deutan":17.4,"deutan+ips":17.1,"dim":30.1,"drawn":32.8,"ips":31.6,"protan":13,"protan+ips":11.9,"tritan":22.3},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 6 | service 7","Distance":{"deutan":8.1,"deutan+ips":7.8,"dim":14.7,"drawn":16.3,"ips":15.3,"protan":10.7,"protan+ips":10,"tritan":9.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 6 | service 8","Distance":{"deutan":35.9,"deutan+ips":34.6,"dim":36.4,"drawn":38.8,"ips":37.8,"protan":33.8,"protan+ips":32.5,"tritan":46.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 7 on page","Contrast":13.31,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 7 on raised","Contrast":11.71,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 7 | error","Distance":{"deutan":23.7,"deutan+ips":22.4,"dim":24.6,"drawn":27.9,"ips":26.7,"protan":30.8,"protan+ips":29.1,"tritan":16.9},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 7 | destructive","Distance":{"deutan":24.2,"deutan+ips":23.8,"dim":24.3,"drawn":25.6,"ips":25.1,"protan":16.8,"protan+ips":15.9,"tritan":24.8},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 7 | service 8","Distance":{"deutan":35.8,"deutan+ips":34.2,"dim":44.2,"drawn":46.5,"ips":45.4,"protan":35,"protan+ips":33.5,"tritan":53.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 8 on page","Contrast":4.65,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 8 on raised","Contrast":4.09,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 8 | error","Distance":{"deutan":11.1,"deutan+ips":10.9,"dim":49.7,"drawn":51.5,"ips":50.8,"protan":18.4,"protan+ips":18,"tritan":58.1},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 8 | destructive","Distance":{"deutan":32.2,"deutan+ips":31.8,"dim":50.9,"drawn":52,"ips":51.6,"protan":21.4,"protan+ips":21,"tritan":58.7},"Floor":20,"Worst":6,"OK":true}]; +export const perception = [{"Mode":"dark","Kind":"text","What":"text on page","Contrast":16.55,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"muted on page","Contrast":7.8,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on page","Contrast":10.51,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on page","Contrast":8.58,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on page","Contrast":9.57,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on page","Contrast":7.32,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on surface","Contrast":15.08,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"muted on surface","Contrast":7.11,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on surface","Contrast":9.58,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on surface","Contrast":7.82,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on surface","Contrast":8.72,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on surface","Contrast":6.67,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on raised","Contrast":13.13,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"muted on raised","Contrast":6.19,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on raised","Contrast":8.34,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on raised","Contrast":6.8,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on raised","Contrast":7.59,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on raised","Contrast":5.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on overlay","Contrast":10.96,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"muted on overlay","Contrast":5.16,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on overlay","Contrast":6.96,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on overlay","Contrast":5.68,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on overlay","Contrast":6.34,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on overlay","Contrast":4.85,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on its badge over page","Contrast":7.12,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on its badge over page","Contrast":7.89,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on its badge over page","Contrast":6.25,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on its badge over page","Contrast":8.46,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on its badge over surface","Contrast":6.34,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on its badge over surface","Contrast":7.01,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on its badge over surface","Contrast":5.58,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on its badge over surface","Contrast":7.5,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on its badge over raised","Contrast":5.46,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on its badge over raised","Contrast":6.04,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on its badge over raised","Contrast":4.83,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on its badge over raised","Contrast":6.43,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"label on page","Contrast":8.53,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"label on surface","Contrast":7.78,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on the selected tint","Contrast":11.7,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"muted on the selected tint","Contrast":5.51,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"label on the selected tint","Contrast":6.03,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"accent_text on the selected tint","Contrast":7.43,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"success on the selected tint","Contrast":6.06,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"warning on the selected tint","Contrast":6.77,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"error on the selected tint","Contrast":5.18,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"the accent (a selection's edge) on the selected tint","Contrast":6.13,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"the accent (a selected card's edge) on surface","Contrast":7.9,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"success (a tile's icon, a chip's mark) on its tint over surface","Contrast":6.34,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"warning (a tile's icon, a chip's mark) on its tint over surface","Contrast":7.01,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"error (a tile's icon, a chip's mark) on its tint over surface","Contrast":5.58,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"accent_text (a tile's icon, a chip's mark) on its tint over surface","Contrast":7.5,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"muted (a tile's icon, a chip's mark) on its tint over surface","Contrast":5.8,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"success (a tile's icon, a chip's mark) on its tint over raised","Contrast":5.46,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"warning (a tile's icon, a chip's mark) on its tint over raised","Contrast":6.04,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"error (a tile's icon, a chip's mark) on its tint over raised","Contrast":4.83,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"accent_text (a tile's icon, a chip's mark) on its tint over raised","Contrast":6.43,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"muted (a tile's icon, a chip's mark) on its tint over raised","Contrast":5,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"success (a tile's icon, a chip's mark) on its tint over the selected tint","Contrast":4.85,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"warning (a tile's icon, a chip's mark) on its tint over the selected tint","Contrast":5.44,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"error (a tile's icon, a chip's mark) on its tint over the selected tint","Contrast":4.37,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"accent_text (a tile's icon, a chip's mark) on its tint over the selected tint","Contrast":5.72,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"muted (a tile's icon, a chip's mark) on its tint over the selected tint","Contrast":4.48,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"spot_text on spot","Contrast":13.13,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"spot_muted (what explains, a label) on spot","Contrast":6.19,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"dark's success on spot","Contrast":6.8,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"dark's warning on spot","Contrast":7.59,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"dark's error on spot","Contrast":5.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"dark's accent_text on spot","Contrast":8.34,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"the usage line (success) on what it used","Contrast":5.59,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"its own cores' dashes (muted) on what it is lent","Contrast":6.21,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"its own cores' dashes (muted) on surface","Contrast":7.11,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"on_accent on accent","Contrast":8.55,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"white on destructive","Contrast":5.22,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"on_accent on accent under the pointer","Contrast":6.65,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"on_accent on accent pressed","Contrast":5.06,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"white on destructive under the pointer","Contrast":6.37,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"white on destructive pressed","Contrast":7.83,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on a secondary button","Contrast":13.13,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"text","What":"text on a secondary button under the pointer","Contrast":10.96,"Floor":7,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"border_strong on page","Contrast":4.33,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"accent_text (the focus ring) on page","Contrast":10.51,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"border_strong on raised","Contrast":3.43,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"accent_text (the focus ring) on raised","Contrast":8.34,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"edge","What":"page | surface","Distance":{"deutan":3.9,"deutan+ips":3.5,"dim":3.5,"drawn":4.1,"ips":3.7,"protan":3.9,"protan+ips":3.6,"tritan":4.7},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"edge","What":"surface | raised","Distance":{"deutan":3.9,"deutan+ips":3.7,"dim":3.5,"drawn":4,"ips":3.7,"protan":4.1,"protan+ips":3.8,"tritan":4.1},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"edge","What":"page | raised","Distance":{"deutan":7.6,"deutan+ips":7.1,"dim":6.8,"drawn":7.7,"ips":7.2,"protan":7.8,"protan+ips":7.3,"tritan":8.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"line","What":"border on page","Distance":{"deutan":14.8,"deutan+ips":13.9,"dim":13.1,"drawn":15,"ips":14.1,"protan":15.3,"protan+ips":14.4,"tritan":15.6},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"line","What":"border on raised","Distance":{"deutan":7.6,"deutan+ips":7.2,"dim":6.9,"drawn":7.7,"ips":7.3,"protan":7.8,"protan+ips":7.5,"tritan":7.7},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"line","What":"hairline on page","Distance":{"deutan":6,"deutan+ips":5.5,"dim":5.2,"drawn":6.1,"ips":5.6,"protan":6.2,"protan+ips":5.7,"tritan":6.8},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"edge","What":"spot | page","Distance":{"deutan":7.6,"deutan+ips":7.1,"dim":6.8,"drawn":7.7,"ips":7.2,"protan":7.8,"protan+ips":7.3,"tritan":8.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"line","What":"spot_border on spot","Distance":{"deutan":7.6,"deutan+ips":7.2,"dim":6.9,"drawn":7.7,"ips":7.3,"protan":7.8,"protan+ips":7.5,"tritan":7.7},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"line","What":"spot_border on page","Distance":{"deutan":14.8,"deutan+ips":13.9,"dim":13.1,"drawn":15,"ips":14.1,"protan":15.3,"protan+ips":14.4,"tritan":15.6},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"hover","What":"the selected tint | page","Distance":{"deutan":10.2,"deutan+ips":9.6,"dim":9.9,"drawn":11.4,"ips":10.8,"protan":10.7,"protan+ips":10,"tritan":13.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"hover tint over page | page","Distance":{"deutan":5.2,"deutan+ips":4.8,"dim":5.4,"drawn":6.7,"ips":6.2,"protan":5.4,"protan+ips":4.9,"tritan":8.5},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"the selected tint | surface","Distance":{"deutan":6.5,"deutan+ips":6.2,"dim":7.9,"drawn":9.5,"ips":8.7,"protan":7,"protan+ips":6.6,"tritan":8.9},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"hover tint over surface | surface","Distance":{"deutan":4.6,"deutan+ips":4.4,"dim":5.7,"drawn":7,"ips":6.4,"protan":5,"protan+ips":4.6,"tritan":6.7},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"state","What":"the accent (a selection's edge) | the selected tint","Distance":{"deutan":47.6,"deutan+ips":47,"dim":50.6,"drawn":51.9,"ips":51.4,"protan":54.4,"protan+ips":53.6,"tritan":54.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"line","What":"a key hint's edge on a fill | the fill","Distance":{"deutan":25.4,"deutan+ips":25,"dim":24.7,"drawn":25.5,"ips":25.2,"protan":25.2,"protan+ips":24.9,"tritan":25.5},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"edge","What":"what a machine is lent | its panel","Distance":{"deutan":3.7,"deutan+ips":3.5,"dim":4.5,"drawn":5.7,"ips":5.1,"protan":4,"protan+ips":3.7,"tritan":5.7},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"edge","What":"what a machine used | its panel","Distance":{"deutan":9.2,"deutan+ips":8.1,"dim":13.6,"drawn":16.6,"ips":15.2,"protan":10.4,"protan+ips":9.3,"tritan":10.3},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"accent under the pointer | accent","Distance":{"deutan":6.5,"deutan+ips":6.4,"dim":6.3,"drawn":6.5,"ips":6.4,"protan":6.4,"protan+ips":6.4,"tritan":6.5},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"destructive under the pointer | destructive","Distance":{"deutan":5.8,"deutan+ips":5.8,"dim":5.2,"drawn":5.3,"ips":5.2,"protan":3.9,"protan+ips":3.9,"tritan":5.3},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"secondary under the pointer | secondary","Distance":{"deutan":4.2,"deutan+ips":4,"dim":3.9,"drawn":4.3,"ips":4.1,"protan":4.4,"protan+ips":4.2,"tritan":4.3},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"edge","What":"secondary button | page","Distance":{"deutan":7.6,"deutan+ips":7.1,"dim":6.8,"drawn":7.7,"ips":7.2,"protan":7.8,"protan+ips":7.3,"tritan":8.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"line","What":"a secondary button's outline on page","Distance":{"deutan":14.8,"deutan+ips":13.9,"dim":13.1,"drawn":15,"ips":14.1,"protan":15.3,"protan+ips":14.4,"tritan":15.6},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"line","What":"a secondary button's outline on surface","Distance":{"deutan":11.4,"deutan+ips":10.7,"dim":10.2,"drawn":11.7,"ips":10.9,"protan":11.8,"protan+ips":11.1,"tritan":11.7},"Floor":6,"Worst":4,"OK":true},{"Mode":"dark","Kind":"hover","What":"a row under the pointer | page","Distance":{"deutan":7.6,"deutan+ips":7.1,"dim":6.8,"drawn":7.7,"ips":7.2,"protan":7.8,"protan+ips":7.3,"tritan":8.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"a row under the pointer | its panel","Distance":{"deutan":3.9,"deutan+ips":3.7,"dim":3.5,"drawn":4,"ips":3.7,"protan":4.1,"protan+ips":3.8,"tritan":4.1},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"hover","What":"a row's action under the pointer | its row","Distance":{"deutan":4.2,"deutan+ips":4,"dim":3.9,"drawn":4.3,"ips":4.1,"protan":4.4,"protan+ips":4.2,"tritan":4.3},"Floor":3,"Worst":2,"OK":true},{"Mode":"dark","Kind":"meaning","What":"success | error","Distance":{"deutan":14.6,"deutan+ips":14.5,"dim":69,"drawn":69.9,"ips":69.6,"protan":32.4,"protan+ips":32.2,"tritan":64.2},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"meaning","What":"success | warning","Distance":{"deutan":16.7,"deutan+ips":16.6,"dim":35.1,"drawn":35.5,"ips":35.4,"protan":11.5,"protan+ips":11.4,"tritan":51.9},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"meaning","What":"warning | error","Distance":{"deutan":28.9,"deutan+ips":28.8,"dim":47.7,"drawn":48.5,"ips":48.2,"protan":41.5,"protan+ips":41.2,"tritan":11.5},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"meaning","What":"accent | success","Distance":{"deutan":35.1,"deutan+ips":34.9,"dim":34.4,"drawn":34.8,"ips":34.6,"protan":37.2,"protan+ips":37.1,"tritan":6.2},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"meaning","What":"accent | error","Distance":{"deutan":18.5,"deutan+ips":18.5,"dim":57.7,"drawn":58.5,"ips":58.1,"protan":12.6,"protan+ips":12.5,"tritan":72.1},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"text","What":"text on page","Contrast":16.09,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"muted on page","Contrast":6.1,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on page","Contrast":8.18,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on page","Contrast":6.18,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on page","Contrast":6.09,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on page","Contrast":6.95,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on surface","Contrast":17.74,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"muted on surface","Contrast":6.72,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on surface","Contrast":9.02,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on surface","Contrast":6.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on surface","Contrast":6.71,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on surface","Contrast":7.67,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on raised","Contrast":14.16,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"muted on raised","Contrast":5.36,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on raised","Contrast":7.2,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on raised","Contrast":5.43,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on raised","Contrast":5.36,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on raised","Contrast":6.12,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on overlay","Contrast":17.74,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"muted on overlay","Contrast":6.72,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on overlay","Contrast":9.02,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on overlay","Contrast":6.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on overlay","Contrast":6.71,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on overlay","Contrast":7.67,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on its badge over page","Contrast":5.18,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on its badge over page","Contrast":5.12,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on its badge over page","Contrast":5.7,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on its badge over page","Contrast":6.72,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on its badge over surface","Contrast":5.68,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on its badge over surface","Contrast":5.61,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on its badge over surface","Contrast":6.25,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on its badge over surface","Contrast":7.37,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on its badge over raised","Contrast":4.59,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on its badge over raised","Contrast":4.54,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on its badge over raised","Contrast":5.05,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on its badge over raised","Contrast":5.96,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"label on page","Contrast":6.9,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"label on surface","Contrast":7.6,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on the selected tint","Contrast":14.54,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"muted on the selected tint","Contrast":5.51,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"label on the selected tint","Contrast":6.23,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"accent_text on the selected tint","Contrast":7.39,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"success on the selected tint","Contrast":5.58,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"warning on the selected tint","Contrast":5.5,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"error on the selected tint","Contrast":6.28,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"the accent (a selection's edge) on the selected tint","Contrast":4.51,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"the accent (a selected card's edge) on surface","Contrast":5.5,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"success (a tile's icon, a chip's mark) on its tint over surface","Contrast":5.68,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"warning (a tile's icon, a chip's mark) on its tint over surface","Contrast":5.61,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"error (a tile's icon, a chip's mark) on its tint over surface","Contrast":6.25,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"accent_text (a tile's icon, a chip's mark) on its tint over surface","Contrast":7.37,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"muted (a tile's icon, a chip's mark) on its tint over surface","Contrast":5.66,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"success (a tile's icon, a chip's mark) on its tint over raised","Contrast":4.59,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"warning (a tile's icon, a chip's mark) on its tint over raised","Contrast":4.54,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"error (a tile's icon, a chip's mark) on its tint over raised","Contrast":5.05,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"accent_text (a tile's icon, a chip's mark) on its tint over raised","Contrast":5.96,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"muted (a tile's icon, a chip's mark) on its tint over raised","Contrast":4.58,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"success (a tile's icon, a chip's mark) on its tint over the selected tint","Contrast":4.72,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"warning (a tile's icon, a chip's mark) on its tint over the selected tint","Contrast":4.65,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"error (a tile's icon, a chip's mark) on its tint over the selected tint","Contrast":5.17,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"accent_text (a tile's icon, a chip's mark) on its tint over the selected tint","Contrast":6.11,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"muted (a tile's icon, a chip's mark) on its tint over the selected tint","Contrast":4.7,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"spot_text on spot","Contrast":15.45,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"spot_muted (what explains, a label) on spot","Contrast":7.28,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"dark's success on spot","Contrast":8.01,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"dark's warning on spot","Contrast":8.94,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"dark's error on spot","Contrast":6.84,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"dark's accent_text on spot","Contrast":9.82,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"the usage line (success) on what it used","Contrast":5.16,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"its own cores' dashes (muted) on what it is lent","Contrast":6.01,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"its own cores' dashes (muted) on surface","Contrast":6.72,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"on_accent on accent","Contrast":5.5,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"white on destructive","Contrast":5.62,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"on_accent on accent under the pointer","Contrast":6.68,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"on_accent on accent pressed","Contrast":8.14,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"white on destructive under the pointer","Contrast":6.83,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"white on destructive pressed","Contrast":8.33,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on a secondary button","Contrast":17.74,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"text","What":"text on a secondary button under the pointer","Contrast":14.16,"Floor":7,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"border_strong on page","Contrast":3.6,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"accent_text (the focus ring) on page","Contrast":8.18,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"border_strong on raised","Contrast":3.17,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"accent_text (the focus ring) on raised","Contrast":7.2,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"edge","What":"page | surface","Distance":{"deutan":3.6,"deutan+ips":3.6,"dim":3.4,"drawn":3.4,"ips":3.4,"protan":3.3,"protan+ips":3.3,"tritan":3.5},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"edge","What":"surface | raised","Distance":{"deutan":7.7,"deutan+ips":7.7,"dim":7.4,"drawn":7.5,"ips":7.5,"protan":7.3,"protan+ips":7.3,"tritan":7.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"edge","What":"page | raised","Distance":{"deutan":4.2,"deutan+ips":4.2,"dim":4,"drawn":4.1,"ips":4.1,"protan":4,"protan+ips":4,"tritan":3.9},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"line","What":"border on page","Distance":{"deutan":10,"deutan+ips":9.9,"dim":9.7,"drawn":9.8,"ips":9.8,"protan":9.6,"protan+ips":9.5,"tritan":9.8},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"line","What":"border on raised","Distance":{"deutan":6.2,"deutan+ips":6.2,"dim":6.1,"drawn":6.2,"ips":6.1,"protan":6,"protan+ips":6,"tritan":6.2},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"line","What":"hairline on page","Distance":{"deutan":6.7,"deutan+ips":6.7,"dim":6.5,"drawn":6.6,"ips":6.6,"protan":6.5,"protan+ips":6.5,"tritan":6.6},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"edge","What":"spot | page","Distance":{"deutan":87.3,"deutan+ips":82.8,"dim":77,"drawn":86.8,"ips":82.4,"protan":86,"protan+ips":81.7,"tritan":86.5},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"line","What":"spot_border on spot","Distance":{"deutan":12.7,"deutan+ips":12,"dim":11.5,"drawn":12.8,"ips":12.2,"protan":13.1,"protan+ips":12.5,"tritan":12.9},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"line","What":"spot_border on page","Distance":{"deutan":62.2,"deutan+ips":60.8,"dim":58.3,"drawn":61.4,"ips":60.1,"protan":60.2,"protan+ips":59,"tritan":60.9},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"hover","What":"the selected tint | page","Distance":{"deutan":3.5,"deutan+ips":3.5,"dim":5.1,"drawn":5.1,"ips":5.1,"protan":2.7,"protan+ips":2.6,"tritan":6.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"hover tint over page | page","Distance":{"deutan":4.6,"deutan+ips":4.6,"dim":5.1,"drawn":5.2,"ips":5.1,"protan":3.9,"protan+ips":3.9,"tritan":6.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"the selected tint | surface","Distance":{"deutan":7,"deutan+ips":7,"dim":7.6,"drawn":7.7,"ips":7.7,"protan":6,"protan+ips":5.9,"tritan":9.9},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"hover tint over surface | surface","Distance":{"deutan":5.1,"deutan+ips":5.1,"dim":5.6,"drawn":5.6,"ips":5.6,"protan":4.3,"protan+ips":4.3,"tritan":7.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"state","What":"the accent (a selection's edge) | the selected tint","Distance":{"deutan":42.8,"deutan+ips":42.4,"dim":39.6,"drawn":40.7,"ips":40.3,"protan":38.2,"protan+ips":37.9,"tritan":37.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"line","What":"a key hint's edge on a fill | the fill","Distance":{"deutan":24.8,"deutan+ips":24.4,"dim":22.8,"drawn":23.7,"ips":23.3,"protan":22.1,"protan+ips":21.8,"tritan":20.2},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"edge","What":"what a machine is lent | its panel","Distance":{"deutan":4.1,"deutan+ips":4.1,"dim":4.5,"drawn":4.6,"ips":4.5,"protan":3.4,"protan+ips":3.4,"tritan":6},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"edge","What":"what a machine used | its panel","Distance":{"deutan":6.7,"deutan+ips":6.7,"dim":10.3,"drawn":10.4,"ips":10.3,"protan":6.6,"protan+ips":6.5,"tritan":10.6},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"accent under the pointer | accent","Distance":{"deutan":4.6,"deutan+ips":4.6,"dim":4.8,"drawn":4.9,"ips":4.8,"protan":5.3,"protan+ips":5.3,"tritan":5.3},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"destructive under the pointer | destructive","Distance":{"deutan":5.6,"deutan+ips":5.5,"dim":4.9,"drawn":5,"ips":5,"protan":3.7,"protan+ips":3.6,"tritan":5.2},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"secondary under the pointer | secondary","Distance":{"deutan":7.7,"deutan+ips":7.7,"dim":7.4,"drawn":7.5,"ips":7.5,"protan":7.3,"protan+ips":7.3,"tritan":7.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"edge","What":"secondary button | page","Distance":{"deutan":3.6,"deutan+ips":3.6,"dim":3.4,"drawn":3.4,"ips":3.4,"protan":3.3,"protan+ips":3.3,"tritan":3.5},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"line","What":"a secondary button's outline on page","Distance":{"deutan":10,"deutan+ips":9.9,"dim":9.7,"drawn":9.8,"ips":9.8,"protan":9.6,"protan+ips":9.5,"tritan":9.8},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"line","What":"a secondary button's outline on surface","Distance":{"deutan":13.3,"deutan+ips":13.2,"dim":12.8,"drawn":13,"ips":12.9,"protan":12.7,"protan+ips":12.6,"tritan":13},"Floor":6,"Worst":4,"OK":true},{"Mode":"light","Kind":"hover","What":"a row under the pointer | page","Distance":{"deutan":4.2,"deutan+ips":4.2,"dim":4,"drawn":4.1,"ips":4.1,"protan":4,"protan+ips":4,"tritan":3.9},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"a row under the pointer | its panel","Distance":{"deutan":7.7,"deutan+ips":7.7,"dim":7.4,"drawn":7.5,"ips":7.5,"protan":7.3,"protan+ips":7.3,"tritan":7.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"hover","What":"a row's action under the pointer | its row","Distance":{"deutan":7.7,"deutan+ips":7.7,"dim":7.4,"drawn":7.5,"ips":7.5,"protan":7.3,"protan+ips":7.3,"tritan":7.4},"Floor":3,"Worst":2,"OK":true},{"Mode":"light","Kind":"meaning","What":"success | error","Distance":{"deutan":10.3,"deutan+ips":10,"dim":61.3,"drawn":64.1,"ips":62.9,"protan":29.7,"protan+ips":29,"tritan":56.5},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"meaning","What":"success | warning","Distance":{"deutan":16.1,"deutan+ips":15.6,"dim":35.2,"drawn":36.7,"ips":36.1,"protan":11.5,"protan+ips":10.8,"tritan":46.6},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"meaning","What":"warning | error","Distance":{"deutan":24.6,"deutan+ips":24,"dim":37.8,"drawn":41.1,"ips":39.7,"protan":38.6,"protan+ips":37.4,"tritan":9.3},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"meaning","What":"accent | success","Distance":{"deutan":32.2,"deutan+ips":31.7,"dim":33.3,"drawn":34.3,"ips":33.9,"protan":34.9,"protan+ips":34.5,"tritan":9.7},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"meaning","What":"accent | error","Distance":{"deutan":19.9,"deutan+ips":19.8,"dim":44.2,"drawn":45.6,"ips":45,"protan":16.6,"protan+ips":16.4,"tritan":61.3},"Floor":20,"Worst":10,"OK":true},{"Mode":"term","Kind":"text","What":"foreground on background","Contrast":16.34,"Floor":7,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"foreground on black","Contrast":11.69,"Floor":7,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"red on background","Contrast":6.81,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"green on background","Contrast":8.84,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"yellow on background","Contrast":9.86,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"blue on background","Contrast":7.3,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"magenta on background","Contrast":8.02,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"cyan on background","Contrast":9.04,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"white on background","Contrast":12.73,"Floor":7,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_black on background","Contrast":5.47,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_red on background","Contrast":9.83,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_green on background","Contrast":12.27,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_yellow on background","Contrast":13.13,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_blue on background","Contrast":10.62,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_magenta on background","Contrast":11.41,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_cyan on background","Contrast":12.53,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"bright_white on background","Contrast":19.57,"Floor":7,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"foreground on selection","Contrast":9.51,"Floor":7,"Worst":0,"OK":true},{"Mode":"term","Kind":"text","What":"background on cursor","Contrast":9.04,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"term","Kind":"non-text","What":"cursor on background","Contrast":9.04,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 1 on page","Contrast":3.92,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 1 on page","Contrast":4.4,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 2 on page","Contrast":5.19,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 2 on page","Contrast":3.32,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 1 | series 2","Distance":{"deutan":61.8,"deutan+ips":61.3,"dim":47.8,"drawn":48.8,"ips":48.4,"protan":55.2,"protan+ips":54.7,"tritan":64.3},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 3 on page","Contrast":5.72,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 3 on page","Contrast":3.01,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 2 | series 3","Distance":{"deutan":28.6,"deutan+ips":28.3,"dim":51.6,"drawn":52.3,"ips":52,"protan":22.1,"protan+ips":21.7,"tritan":61.9},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 4 on page","Contrast":5.62,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 4 on page","Contrast":3.07,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 3 | series 4","Distance":{"deutan":30,"deutan+ips":29.7,"dim":37.9,"drawn":38.7,"ips":38.4,"protan":23.1,"protan+ips":22.7,"tritan":49.5},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 5 on page","Contrast":4.59,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 5 on page","Contrast":3.75,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 4 | series 5","Distance":{"deutan":37.7,"deutan+ips":37.3,"dim":52.5,"drawn":54.1,"ips":53.5,"protan":47.5,"protan+ips":46.9,"tritan":11.6},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 6 on page","Contrast":5.44,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 6 on page","Contrast":3.17,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 5 | series 6","Distance":{"deutan":32.1,"deutan+ips":31.8,"dim":72.8,"drawn":74.3,"ips":73.7,"protan":46.1,"protan+ips":45.7,"tritan":57},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 7 on page","Contrast":4.11,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 7 on page","Contrast":4.19,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 6 | series 7","Distance":{"deutan":53.9,"deutan+ips":53.5,"dim":54.8,"drawn":55.6,"ips":55.3,"protan":57.4,"protan+ips":57,"tritan":21.7},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"series 8 on page","Contrast":4.42,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"series 8 on page","Contrast":3.9,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"series 7 | series 8","Distance":{"deutan":49.2,"deutan+ips":48.9,"dim":34.2,"drawn":34.6,"ips":34.5,"protan":38.1,"protan+ips":37.8,"tritan":43.2},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"non-text","What":"good on page","Contrast":5.33,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"good on page","Contrast":3.23,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"warning on page","Contrast":5.18,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"warning on page","Contrast":3.32,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"critical on page","Contrast":4.66,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"critical on page","Contrast":3.69,"Floor":3,"Worst":0,"OK":true},{"Mode":"chart","Kind":"meaning","What":"good | warning","Distance":{"deutan":14.3,"deutan+ips":14,"dim":35.5,"drawn":36.2,"ips":35.9,"protan":10.9,"protan+ips":10.5,"tritan":50.4},"Floor":20,"Worst":10,"OK":true},{"Mode":"chart","Kind":"meaning","What":"good | critical","Distance":{"deutan":25.5,"deutan+ips":25.2,"dim":73.7,"drawn":75.1,"ips":74.5,"protan":40.9,"protan+ips":40.6,"tritan":63.8},"Floor":20,"Worst":10,"OK":true},{"Mode":"chart","Kind":"meaning","What":"warning | critical","Distance":{"deutan":37.6,"deutan+ips":37.2,"dim":51.8,"drawn":53.6,"ips":52.9,"protan":47.7,"protan+ips":47.1,"tritan":11.3},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"text","What":"service 1 on page","Contrast":5.37,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 1 on raised","Contrast":4.26,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 1 | error","Distance":{"deutan":27.6,"deutan+ips":27.5,"dim":35.8,"drawn":36,"ips":35.9,"protan":15.2,"protan+ips":15.2,"tritan":64.7},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 1 | destructive","Distance":{"deutan":48.6,"deutan+ips":48.2,"dim":42,"drawn":42.6,"ips":42.3,"protan":40.4,"protan+ips":40,"tritan":72.1},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 2","Distance":{"deutan":11.9,"deutan+ips":11.9,"dim":21.7,"drawn":21.9,"ips":21.8,"protan":12,"protan+ips":12,"tritan":39.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 3","Distance":{"deutan":15.5,"deutan+ips":15.3,"dim":23.3,"drawn":23.7,"ips":23.5,"protan":16.1,"protan+ips":16,"tritan":13.7},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 4","Distance":{"deutan":42.2,"deutan+ips":42,"dim":47.7,"drawn":48.2,"ips":48,"protan":47.3,"protan+ips":47.1,"tritan":23.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 5","Distance":{"deutan":50.4,"deutan+ips":50.1,"dim":52.4,"drawn":53.1,"ips":52.8,"protan":49.9,"protan+ips":49.6,"tritan":19.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 6","Distance":{"deutan":67.2,"deutan+ips":66.9,"dim":63.1,"drawn":63.8,"ips":63.5,"protan":63.3,"protan+ips":63,"tritan":53.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 7","Distance":{"deutan":60.5,"deutan+ips":60,"dim":52.2,"drawn":53.5,"ips":53,"protan":58.3,"protan+ips":57.6,"tritan":61.7},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 1 | service 8","Distance":{"deutan":23.8,"deutan+ips":23.8,"dim":34.8,"drawn":35.2,"ips":35,"protan":30.5,"protan+ips":30.4,"tritan":12},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 2 on page","Contrast":4.67,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 2 on raised","Contrast":3.71,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 2 | error","Distance":{"deutan":20.2,"deutan+ips":20,"dim":20.6,"drawn":20.9,"ips":20.8,"protan":10.3,"protan+ips":10.2,"tritan":24.4},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 2 | destructive","Distance":{"deutan":36.5,"deutan+ips":36.1,"dim":27.3,"drawn":27.9,"ips":27.7,"protan":29,"protan+ips":28.7,"tritan":27.3},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 3","Distance":{"deutan":14.5,"deutan+ips":14.3,"dim":38.2,"drawn":38.8,"ips":38.5,"protan":19.3,"protan+ips":19.1,"tritan":44.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 4","Distance":{"deutan":34.7,"deutan+ips":34.4,"dim":48.1,"drawn":48.8,"ips":48.5,"protan":43.7,"protan+ips":43.4,"tritan":48.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 5","Distance":{"deutan":38.8,"deutan+ips":38.6,"dim":51.1,"drawn":52,"ips":51.6,"protan":42,"protan+ips":41.7,"tritan":21.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 6","Distance":{"deutan":55.1,"deutan+ips":54.7,"dim":58.3,"drawn":59.3,"ips":58.9,"protan":55.8,"protan+ips":55.4,"tritan":28.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 7","Distance":{"deutan":46.8,"deutan+ips":46.3,"dim":44.1,"drawn":45.7,"ips":45,"protan":47.1,"protan+ips":46.5,"tritan":21.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 2 | service 8","Distance":{"deutan":13.7,"deutan+ips":13.6,"dim":35.4,"drawn":36.1,"ips":35.8,"protan":22.2,"protan+ips":22,"tritan":38.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 3 on page","Contrast":8.78,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 3 on raised","Contrast":6.96,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 3 | error","Distance":{"deutan":17.5,"deutan+ips":17.5,"dim":58.9,"drawn":59.7,"ips":59.4,"protan":12.2,"protan+ips":12.1,"tritan":72.2},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 3 | destructive","Distance":{"deutan":43.1,"deutan+ips":42.7,"dim":66.6,"drawn":67.9,"ips":67.4,"protan":42,"protan+ips":41.4,"tritan":69.1},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 3 | service 4","Distance":{"deutan":29.6,"deutan+ips":29.5,"dim":30.1,"drawn":30.3,"ips":30.2,"protan":33.2,"protan+ips":33.1,"tritan":9.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 3 | service 5","Distance":{"deutan":40.4,"deutan+ips":40.2,"dim":38.2,"drawn":38.7,"ips":38.5,"protan":38.9,"protan+ips":38.7,"tritan":21.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 3 | service 6","Distance":{"deutan":53.4,"deutan+ips":53.2,"dim":49.9,"drawn":50.3,"ips":50.2,"protan":48.4,"protan+ips":48.2,"tritan":44.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 3 | service 7","Distance":{"deutan":51.6,"deutan+ips":51.2,"dim":50.1,"drawn":51.2,"ips":50.7,"protan":50.3,"protan+ips":49.7,"tritan":58.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 3 | service 8","Distance":{"deutan":23.6,"deutan+ips":23.4,"dim":25.1,"drawn":25.7,"ips":25.5,"protan":27,"protan+ips":26.8,"tritan":18.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 4 on page","Contrast":13.17,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 4 on raised","Contrast":10.45,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 4 | error","Distance":{"deutan":14,"deutan+ips":13.9,"dim":71.4,"drawn":72.2,"ips":71.9,"protan":33.8,"protan+ips":33.6,"tritan":68.6},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 4 | destructive","Distance":{"deutan":29.1,"deutan+ips":28.8,"dim":75.5,"drawn":76.8,"ips":76.3,"protan":43.2,"protan+ips":42.6,"tritan":77.7},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 4 | service 5","Distance":{"deutan":17.1,"deutan+ips":17,"dim":22.6,"drawn":22.9,"ips":22.8,"protan":17.2,"protan+ips":17.1,"tritan":25.4},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 4 | service 6","Distance":{"deutan":22.3,"deutan+ips":22.3,"dim":35.7,"drawn":36,"ips":35.9,"protan":17.8,"protan+ips":17.7,"tritan":47.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 4 | service 7","Distance":{"deutan":30.1,"deutan+ips":29.8,"dim":50.8,"drawn":51.6,"ips":51.3,"protan":34.1,"protan+ips":33.6,"tritan":65.4},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 4 | service 8","Distance":{"deutan":29.1,"deutan+ips":28.8,"dim":27.5,"drawn":28.1,"ips":27.9,"protan":28.1,"protan+ips":27.9,"tritan":26.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 5 on page","Contrast":7.36,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 5 on raised","Contrast":5.84,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 5 | error","Distance":{"deutan":20.4,"deutan+ips":20.2,"dim":53.7,"drawn":54.5,"ips":54.2,"protan":33.6,"protan+ips":33.4,"tritan":36.6},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 5 | destructive","Distance":{"deutan":14.6,"deutan+ips":14.4,"dim":53.1,"drawn":54.2,"ips":53.8,"protan":30.9,"protan+ips":30.4,"tritan":43.6},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 5 | service 6","Distance":{"deutan":20,"deutan+ips":19.9,"dim":24.5,"drawn":24.8,"ips":24.7,"protan":17.1,"protan+ips":17,"tritan":31.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 5 | service 7","Distance":{"deutan":14.2,"deutan+ips":13.9,"dim":30.6,"drawn":31.2,"ips":30.9,"protan":17.5,"protan+ips":17.1,"tritan":36},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 5 | service 8","Distance":{"deutan":26.3,"deutan+ips":26.1,"dim":23.3,"drawn":23.9,"ips":23.6,"protan":19.1,"protan+ips":18.9,"tritan":20.7},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 6 on page","Contrast":13.29,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 6 on raised","Contrast":10.55,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 6 | error","Distance":{"deutan":32.7,"deutan+ips":32.6,"dim":54.8,"drawn":55.5,"ips":55.3,"protan":45.8,"protan+ips":45.5,"tritan":18.8},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 6 | destructive","Distance":{"deutan":32.5,"deutan+ips":32.2,"dim":54.3,"drawn":55.4,"ips":54.9,"protan":45.7,"protan+ips":45.2,"tritan":35.4},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 6 | service 7","Distance":{"deutan":24.4,"deutan+ips":24.2,"dim":28.3,"drawn":28.7,"ips":28.5,"protan":28,"protan+ips":27.7,"tritan":25.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 6 | service 8","Distance":{"deutan":43.4,"deutan+ips":43.1,"dim":44.4,"drawn":45.2,"ips":44.8,"protan":34,"protan+ips":33.8,"tritan":48.8},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 7 on page","Contrast":4.76,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 7 on raised","Contrast":3.78,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 7 | error","Distance":{"deutan":30.9,"deutan+ips":30.6,"dim":42.6,"drawn":44.4,"ips":43.7,"protan":41.4,"protan+ips":40.9,"tritan":13.8},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 7 | destructive","Distance":{"deutan":12.9,"deutan+ips":12.7,"dim":31.9,"drawn":33.5,"ips":32.8,"protan":22.7,"protan+ips":22.3,"tritan":10.7},"Floor":20,"Worst":6,"OK":true},{"Mode":"dark","Kind":"service","What":"service 7 | service 8","Distance":{"deutan":31.1,"deutan+ips":30.7,"dim":41.3,"drawn":42.2,"ips":41.9,"protan":23,"protan+ips":22.6,"tritan":52.8},"Floor":10,"Worst":6,"OK":true},{"Mode":"dark","Kind":"text","What":"service 8 on page","Contrast":4.52,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"dark","Kind":"non-text","What":"service 8 on raised","Contrast":3.59,"Floor":3,"Worst":0,"OK":true},{"Mode":"dark","Kind":"meaning","What":"service 8 | error","Distance":{"deutan":16.9,"deutan+ips":16.6,"dim":50.7,"drawn":52,"ips":51.5,"protan":17.3,"protan+ips":17.1,"tritan":59.7},"Floor":20,"Worst":10,"OK":true},{"Mode":"dark","Kind":"red","What":"service 8 | destructive","Distance":{"deutan":21.3,"deutan+ips":21,"dim":58.9,"drawn":60.2,"ips":59.7,"protan":15.9,"protan+ips":15.7,"tritan":62.2},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 1 on page","Contrast":5.02,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 1 on raised","Contrast":4.42,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 1 | error","Distance":{"deutan":26.8,"deutan+ips":26.8,"dim":29.6,"drawn":29.8,"ips":29.7,"protan":22.6,"protan+ips":22.5,"tritan":58.7},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 1 | destructive","Distance":{"deutan":54.7,"deutan+ips":54.1,"dim":38.3,"drawn":38.9,"ips":38.6,"protan":43.5,"protan+ips":43,"tritan":60.9},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 2","Distance":{"deutan":10.4,"deutan+ips":10.3,"dim":12.3,"drawn":12.6,"ips":12.5,"protan":13,"protan+ips":12.9,"tritan":18.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 3","Distance":{"deutan":10.6,"deutan+ips":10.6,"dim":15,"drawn":15.8,"ips":15.5,"protan":12.2,"protan+ips":12.2,"tritan":10.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 4","Distance":{"deutan":47.8,"deutan+ips":47.2,"dim":48.6,"drawn":49.7,"ips":49.2,"protan":51.5,"protan+ips":51,"tritan":17.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 5","Distance":{"deutan":58.6,"deutan+ips":57.5,"dim":63.7,"drawn":66.6,"ips":65.4,"protan":58.6,"protan+ips":57.4,"tritan":26.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 6","Distance":{"deutan":57.6,"deutan+ips":55.9,"dim":49.8,"drawn":54.1,"ips":52.2,"protan":57,"protan+ips":55.2,"tritan":48.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 7","Distance":{"deutan":54.9,"deutan+ips":52.9,"dim":42.1,"drawn":45.7,"ips":44.4,"protan":53.5,"protan+ips":51.7,"tritan":55.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 1 | service 8","Distance":{"deutan":17,"deutan+ips":17,"dim":30.4,"drawn":31.1,"ips":30.8,"protan":21,"protan+ips":21,"tritan":12.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 2 on page","Contrast":7.47,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 2 on raised","Contrast":6.57,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 2 | error","Distance":{"deutan":23.5,"deutan+ips":23.3,"dim":22.2,"drawn":22.4,"ips":22.3,"protan":12.5,"protan+ips":12.5,"tritan":35.2},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 2 | destructive","Distance":{"deutan":50.9,"deutan+ips":50.3,"dim":34.5,"drawn":35.3,"ips":35,"protan":38.4,"protan+ips":37.9,"tritan":39.3},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 3","Distance":{"deutan":6.1,"deutan+ips":6.1,"dim":20.7,"drawn":22,"ips":21.5,"protan":9.5,"protan+ips":9.4,"tritan":19.4},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 4","Distance":{"deutan":43,"deutan+ips":42.4,"dim":46.4,"drawn":47.7,"ips":47.1,"protan":47.9,"protan+ips":47.2,"tritan":22.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 5","Distance":{"deutan":52.8,"deutan+ips":51.6,"dim":60.3,"drawn":63.7,"ips":62.2,"protan":53.5,"protan+ips":52.2,"tritan":17.4},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 6","Distance":{"deutan":50.8,"deutan+ips":49,"dim":45.1,"drawn":49.7,"ips":47.7,"protan":50.1,"protan+ips":48.3,"tritan":28},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 7","Distance":{"deutan":47.2,"deutan+ips":45.3,"dim":35,"drawn":38.7,"ips":37.4,"protan":44.9,"protan+ips":43.2,"tritan":33.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 2 | service 8","Distance":{"deutan":16.6,"deutan+ips":16.5,"dim":32.6,"drawn":33.7,"ips":33.2,"protan":21.9,"protan+ips":21.7,"tritan":23.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 3 on page","Contrast":5.88,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 3 on raised","Contrast":5.17,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 3 | error","Distance":{"deutan":18.3,"deutan+ips":18.2,"dim":42.9,"drawn":44.4,"ips":43.8,"protan":11.9,"protan+ips":11.8,"tritan":57.9},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 3 | destructive","Distance":{"deutan":43.1,"deutan+ips":42.5,"dim":46.2,"drawn":47.3,"ips":46.9,"protan":30.5,"protan+ips":30,"tritan":54.2},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 3 | service 4","Distance":{"deutan":36.2,"deutan+ips":35.7,"dim":36.5,"drawn":37.8,"ips":37.3,"protan":37.9,"protan+ips":37.3,"tritan":6.9},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 3 | service 5","Distance":{"deutan":45.2,"deutan+ips":44.2,"dim":44.7,"drawn":47.6,"ips":46.3,"protan":43.5,"protan+ips":42.5,"tritan":25},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 3 | service 6","Distance":{"deutan":44,"deutan+ips":42.4,"dim":37.6,"drawn":40.8,"ips":39.4,"protan":42.2,"protan+ips":40.6,"tritan":42.4},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 3 | service 7","Distance":{"deutan":41.8,"deutan+ips":40,"dim":39.2,"drawn":42.5,"ips":41.1,"protan":39.9,"protan+ips":38.2,"tritan":48.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 3 | service 8","Distance":{"deutan":10.7,"deutan+ips":10.6,"dim":16.8,"drawn":17.1,"ips":17,"protan":12.8,"protan+ips":12.7,"tritan":6.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 4 on page","Contrast":5.68,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 4 on raised","Contrast":5,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 4 | error","Distance":{"deutan":15.3,"deutan+ips":15,"dim":65.3,"drawn":68.1,"ips":67,"protan":35.1,"protan+ips":34.3,"tritan":57.9},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 4 | destructive","Distance":{"deutan":9.8,"deutan+ips":9.8,"dim":61.9,"drawn":63.9,"ips":63.1,"protan":9.9,"protan+ips":9.7,"tritan":59.5},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 4 | service 5","Distance":{"deutan":9.4,"deutan+ips":8.8,"dim":17.2,"drawn":18.7,"ips":18.1,"protan":8.1,"protan+ips":7.5,"tritan":25.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 4 | service 6","Distance":{"deutan":11.9,"deutan+ips":11.1,"dim":31.3,"drawn":33.1,"ips":32.3,"protan":14.7,"protan+ips":14.3,"tritan":44.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 4 | service 7","Distance":{"deutan":16.5,"deutan+ips":15.8,"dim":44.6,"drawn":47.8,"ips":46.3,"protan":23,"protan+ips":22.3,"tritan":51.2},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 4 | service 8","Distance":{"deutan":27,"deutan+ips":26.5,"dim":21.5,"drawn":22.3,"ips":22,"protan":26,"protan+ips":25.6,"tritan":7.3},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 5 on page","Contrast":6.59,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 5 on raised","Contrast":5.79,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 5 | error","Distance":{"deutan":23.1,"deutan+ips":22.4,"dim":52.8,"drawn":56.1,"ips":54.7,"protan":38.8,"protan+ips":37.6,"tritan":26.3},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 5 | destructive","Distance":{"deutan":10.7,"deutan+ips":10.4,"dim":45.6,"drawn":47.6,"ips":46.8,"protan":13.5,"protan+ips":12.8,"tritan":28.9},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 5 | service 6","Distance":{"deutan":7.7,"deutan+ips":7.7,"dim":17.1,"drawn":17.4,"ips":17.3,"protan":10,"protan+ips":10,"tritan":18.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 5 | service 7","Distance":{"deutan":15.5,"deutan+ips":15.3,"dim":31.5,"drawn":33.5,"ips":32.4,"protan":20.3,"protan+ips":19.7,"tritan":25.8},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 5 | service 8","Distance":{"deutan":35.4,"deutan+ips":34.6,"dim":30.9,"drawn":33,"ips":32.1,"protan":32.2,"protan+ips":31.4,"tritan":27.5},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 6 on page","Contrast":9.57,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 6 on raised","Contrast":8.42,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 6 | error","Distance":{"deutan":23.2,"deutan+ips":22,"dim":36.3,"drawn":40.7,"ips":38.8,"protan":35.2,"protan+ips":33.5,"tritan":15.4},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 6 | destructive","Distance":{"deutan":17.4,"deutan+ips":17.1,"dim":30.1,"drawn":32.8,"ips":31.6,"protan":13,"protan+ips":11.9,"tritan":22.3},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 6 | service 7","Distance":{"deutan":8.1,"deutan+ips":7.8,"dim":14.7,"drawn":16.3,"ips":15.3,"protan":10.7,"protan+ips":10,"tritan":9.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 6 | service 8","Distance":{"deutan":35.9,"deutan+ips":34.6,"dim":36.4,"drawn":38.8,"ips":37.8,"protan":33.8,"protan+ips":32.5,"tritan":46.1},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 7 on page","Contrast":13.31,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 7 on raised","Contrast":11.71,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 7 | error","Distance":{"deutan":23.7,"deutan+ips":22.4,"dim":24.6,"drawn":27.9,"ips":26.7,"protan":30.8,"protan+ips":29.1,"tritan":16.9},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 7 | destructive","Distance":{"deutan":24.2,"deutan+ips":23.8,"dim":24.3,"drawn":25.6,"ips":25.1,"protan":16.8,"protan+ips":15.9,"tritan":24.8},"Floor":20,"Worst":6,"OK":true},{"Mode":"light","Kind":"service","What":"service 7 | service 8","Distance":{"deutan":35.8,"deutan+ips":34.2,"dim":44.2,"drawn":46.5,"ips":45.4,"protan":35,"protan+ips":33.5,"tritan":53.6},"Floor":10,"Worst":6,"OK":true},{"Mode":"light","Kind":"text","What":"service 8 on page","Contrast":4.65,"Floor":4.5,"Worst":0,"OK":true},{"Mode":"light","Kind":"non-text","What":"service 8 on raised","Contrast":4.09,"Floor":3,"Worst":0,"OK":true},{"Mode":"light","Kind":"meaning","What":"service 8 | error","Distance":{"deutan":11.1,"deutan+ips":10.9,"dim":49.7,"drawn":51.5,"ips":50.8,"protan":18.4,"protan+ips":18,"tritan":58.1},"Floor":20,"Worst":10,"OK":true},{"Mode":"light","Kind":"red","What":"service 8 | destructive","Distance":{"deutan":32.2,"deutan+ips":31.8,"dim":50.9,"drawn":52,"ips":51.6,"protan":21.4,"protan+ips":21,"tritan":58.7},"Floor":20,"Worst":6,"OK":true}]; diff --git a/dist/starlight.css b/dist/starlight.css index ef145d1..4d08caf 100644 --- a/dist/starlight.css +++ b/dist/starlight.css @@ -1,6 +1,6 @@ /* Written by `task palette` from palette.toml (spin-stack/brand). Edit palette.toml, not this file. */ :root { - --sl-color-accent-low: #113F57; + --sl-color-accent-low: #0D283C; --sl-color-accent: #26BDED; --sl-color-accent-high: #9FE0F6; --sl-color-white: #F7F9FB; @@ -16,7 +16,7 @@ --sl-color-banner-text: #EAF0F6; } :root[data-theme='light'] { - --sl-color-accent-low: #BDD8E6; + --sl-color-accent-low: #DDEBF2; --sl-color-accent: #0A6FA3; --sl-color-accent-high: #0A3449; --sl-color-white: #0A0E17; diff --git a/dist/t3code.css b/dist/t3code.css index 2333c8e..627f385 100644 --- a/dist/t3code.css +++ b/dist/t3code.css @@ -76,7 +76,7 @@ html.dark:root { --terminal-selection-background: #2C3A55; } html:root { - --radius: 6px; + --radius: 8px; --control-radius: 6px; --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace; diff --git a/dist/tokens.css b/dist/tokens.css index 166754c..c027c07 100644 --- a/dist/tokens.css +++ b/dist/tokens.css @@ -30,17 +30,25 @@ --spin-control-border: #313E5A; --spin-row-hover: #1B263E; --spin-row-action-hover: #26334F; - --spin-row-selected: #174662; + --spin-selected: #153149; --spin-spot-success: #4CC38A; --spin-spot-warning: #E3B04B; --spin-spot-error: #EE7BB0; + --spin-spot-accent: #54CFF5; + --spin-spot-grid: #1E2E46; + --spin-kbd-fill-border: #1A7091; + --spin-usage-own: #9AA7BB; + --spin-usage-line: #4CC38A; --spin-shadow-overlay: 0 0 0 1px rgb(0 0 0 / 0.4); --spin-success-badge: color-mix(in srgb, var(--spin-success) 12%, transparent); --spin-warning-badge: color-mix(in srgb, var(--spin-warning) 12%, transparent); --spin-error-badge: color-mix(in srgb, var(--spin-error) 12%, transparent); --spin-accent-text-badge: color-mix(in srgb, var(--spin-accent-text) 12%, transparent); + --spin-muted-badge: color-mix(in srgb, var(--spin-muted) 12%, transparent); + --spin-usage-lent: color-mix(in srgb, var(--spin-accent) 8%, transparent); + --spin-usage-used: color-mix(in srgb, var(--spin-success) 18%, transparent); --spin-accent-hover: #0C2134; - --spin-accent-selected: #113F57; + --spin-accent-selected: #0D283C; --spin-trace-service-1: #4085F9; --spin-trace-service-2: #8E72AE; --spin-trace-service-3: #27BFE8; @@ -81,17 +89,25 @@ --spin-control-border: #C4CCD9; --spin-row-hover: #E0E6F1; --spin-row-action-hover: #FFFFFF; - --spin-row-selected: #BDD8E6; + --spin-selected: #DDEBF2; --spin-spot-success: #4CC38A; --spin-spot-warning: #E3B04B; --spin-spot-error: #EE7BB0; + --spin-spot-accent: #54CFF5; + --spin-spot-grid: #142030; + --spin-kbd-fill-border: #78B0CC; + --spin-usage-own: #515C72; + --spin-usage-line: #0F6844; --spin-shadow-overlay: 0 12px 32px rgb(16 19 24 / 0.14), 0 2px 6px rgb(16 19 24 / 0.08); --spin-success-badge: color-mix(in srgb, var(--spin-success) 12%, transparent); --spin-warning-badge: color-mix(in srgb, var(--spin-warning) 12%, transparent); --spin-error-badge: color-mix(in srgb, var(--spin-error) 12%, transparent); --spin-accent-text-badge: color-mix(in srgb, var(--spin-accent-text) 12%, transparent); + --spin-muted-badge: color-mix(in srgb, var(--spin-muted) 12%, transparent); + --spin-usage-lent: color-mix(in srgb, var(--spin-accent) 8%, transparent); + --spin-usage-used: color-mix(in srgb, var(--spin-success) 18%, transparent); --spin-accent-hover: #DAE7F0; - --spin-accent-selected: #B3D0E2; + --spin-accent-selected: #D1E1ED; --spin-trace-service-1: #4B56E8; --spin-trace-service-2: #5839A6; --spin-trace-service-3: #0A6490; @@ -160,28 +176,28 @@ --spin-text-h3: clamp(1.125rem, 1.015rem + 0.4494vw, 1.375rem); --spin-text-h4: clamp(1rem, 0.9452rem + 0.2247vw, 1.125rem); --spin-rank-title-font: var(--spin-font-mono); - --spin-rank-title-size: clamp(1.75rem, 1.421rem + 1.348vw, 2.5rem); - --spin-rank-title-lh: 1.15; + --spin-rank-title-size: clamp(2rem, 1.671rem + 1.348vw, 2.75rem); + --spin-rank-title-lh: 1.05; --spin-rank-title-weight: 600; --spin-rank-title-tracking: -0.05em; --spin-rank-title-case: none; --spin-rank-verdict-font: var(--spin-font-sans); - --spin-rank-verdict-size: 20px; - --spin-rank-verdict-lh: 28px; + --spin-rank-verdict-size: 24px; + --spin-rank-verdict-lh: 30px; --spin-rank-verdict-weight: 600; - --spin-rank-verdict-tracking: -0.02em; + --spin-rank-verdict-tracking: -0.03em; --spin-rank-verdict-case: none; --spin-rank-section-font: var(--spin-font-sans); --spin-rank-section-size: 16px; --spin-rank-section-lh: 24px; --spin-rank-section-weight: 600; - --spin-rank-section-tracking: -0.01em; + --spin-rank-section-tracking: -0.02em; --spin-rank-section-case: none; --spin-rank-name-font: var(--spin-font-sans); --spin-rank-name-size: 14px; --spin-rank-name-lh: 22px; - --spin-rank-name-weight: 500; - --spin-rank-name-tracking: 0em; + --spin-rank-name-weight: 600; + --spin-rank-name-tracking: -0.01em; --spin-rank-name-case: none; --spin-rank-body-font: var(--spin-font-sans); --spin-rank-body-size: 13px; @@ -192,19 +208,34 @@ --spin-rank-label-font: var(--spin-font-mono); --spin-rank-label-size: 11px; --spin-rank-label-lh: 16px; - --spin-rank-label-weight: 500; + --spin-rank-label-weight: 600; --spin-rank-label-tracking: 0.09em; --spin-rank-label-case: uppercase; --spin-rank-figure-font: var(--spin-font-mono); - --spin-rank-figure-size: 24px; - --spin-rank-figure-lh: 32px; + --spin-rank-figure-size: 30px; + --spin-rank-figure-lh: 36px; --spin-rank-figure-weight: 600; - --spin-rank-figure-tracking: -0.02em; + --spin-rank-figure-tracking: -0.06em; --spin-rank-figure-case: none; --spin-measure: 72ch; --spin-sidebar: 17rem; - --spin-row: 36px; --spin-sidebar-app: 240px; + --spin-bar: 56px; + --spin-width-page: 1600px; + --spin-width-panel-min: 560px; + --spin-width-card-min: 240px; + --spin-width-inspector: 400px; + --spin-width-aside: 280px; + --spin-width-key: 96px; + --spin-width-search: 240px; + --spin-spot-grid-size: 24px; + --spin-signal-width: 36px; + --spin-signal-height: 5px; + --spin-width-figure: 118px; + --spin-mark: 8px; + --spin-usage-width: 84px; + --spin-usage-height: 30px; + --spin-radius-xs: 4px; --spin-radius-sm: 6px; --spin-radius: 8px; --spin-radius-lg: 12px; @@ -215,12 +246,48 @@ --spin-control-lg: 36px; --spin-control-icon: 16px; --spin-control-gap: 6px; - --spin-width-page: 1600px; - --spin-width-panel-min: 560px; - --spin-width-aside: 280px; + --spin-kbd: 18px; + --spin-space-3xs: 2px; + --spin-space-2xs: 4px; + --spin-space-xs: 6px; + --spin-space-sm: 8px; + --spin-space-md: 12px; + --spin-space-lg: 16px; + --spin-space-xl: 24px; + --spin-space-2xl: 32px; --spin-duration-fast: 120ms; --spin-duration: 200ms; --spin-duration-slow: 400ms; --spin-duration-draw: 700ms; --spin-ease: cubic-bezier(0.2, 0.7, 0.2, 1); + --spin-blink: 1100ms; + --spin-blink-times: 3; + --spin-breathe: 2000ms; + --spin-breathe-times: 2; +} +:root, [data-density='comfortable'] { + --spin-inset-page: 32px; + --spin-gap-head: 24px; + --spin-gap-section: 32px; + --spin-gap: 12px; + --spin-inset-card: 16px; + --spin-inset-spot: 24px; + --spin-inset-cell: 16px; + --spin-row: 36px; + --spin-row-two: 52px; + --spin-row-item: 64px; + --spin-tile: 32px; +} +[data-density='compact'] { + --spin-inset-page: 24px; + --spin-gap-head: 16px; + --spin-gap-section: 20px; + --spin-gap: 8px; + --spin-inset-card: 12px; + --spin-inset-spot: 16px; + --spin-inset-cell: 12px; + --spin-row: 32px; + --spin-row-two: 44px; + --spin-row-item: 52px; + --spin-tile: 24px; } diff --git a/dist/tokens.json b/dist/tokens.json index 153fc67..ecd8d6a 100644 --- a/dist/tokens.json +++ b/dist/tokens.json @@ -27,7 +27,8 @@ "Md": 32, "Lg": 36, "Icon": 16, - "Gap": 6 + "Gap": 6, + "Kbd": 18 }, "dark": { "accent": "#26BDED", @@ -60,6 +61,17 @@ "Measure": 72, "Sidebar": 17, "SidebarApp": 240, + "Bar": 56, + "SpotGrid": 24, + "Signal": [ + 36, + 5 + ], + "WidthFigure": 118, + "Mark": 8, + "WidthKey": 96, + "WidthSearch": 240, + "RadiusXs": 4, "RadiusSm": 6, "Radius": 8, "RadiusLg": 12, @@ -71,7 +83,46 @@ "WidthPage": 1600, "WidthAside": 280, "WidthPanelMin": 560, - "Row": 36 + "WidthCardMin": 240, + "WidthInspector": 400, + "Density": { + "comfortable": { + "gap": 12, + "gap_head": 24, + "gap_section": 32, + "inset_card": 16, + "inset_cell": 16, + "inset_page": 32, + "inset_spot": 24, + "row": 36, + "row_item": 64, + "row_two": 52, + "tile": 32 + }, + "compact": { + "gap": 8, + "gap_head": 16, + "gap_section": 20, + "inset_card": 12, + "inset_cell": 12, + "inset_page": 24, + "inset_spot": 16, + "row": 32, + "row_item": 52, + "row_two": 44, + "tile": 24 + } + }, + "Space": { + "2xl": 32, + "2xs": 4, + "3xs": 2, + "lg": 16, + "md": 12, + "sm": 8, + "xl": 24, + "xs": 6 + } }, "light": { "accent": "#0A6FA3", @@ -101,7 +152,15 @@ "Base": 200, "Slow": 400, "Draw": 700, - "Ease": "cubic-bezier(0.2, 0.7, 0.2, 1)" + "Ease": "cubic-bezier(0.2, 0.7, 0.2, 1)", + "Blink": { + "Period": 1100, + "Times": 3 + }, + "Breathe": { + "Period": 2000, + "Times": 2 + } }, "terminal": { "background": "#0A0C10", @@ -127,10 +186,12 @@ }, "tint": { "Hover": 0.1, - "Selected": 0.27, + "Selected": 0.14, "Scrim": 0.64, "Fill": 0.12, - "Badge": 0.12 + "Badge": 0.12, + "SpotGrid": 0.045, + "Kbd": 0.45 }, "trace": { "dark": [ @@ -172,7 +233,11 @@ ], "3xl": [ 24, - 32 + 30 + ], + "4xl": [ + 30, + 36 ], "base": [ 14, @@ -224,6 +289,10 @@ "h4": [ 16, 18 + ], + "title": [ + 32, + 44 ] }, "Rank": { @@ -235,41 +304,41 @@ }, "figure": { "Face": "mono", - "Step": "3xl", + "Step": "4xl", "Weight": 600, - "Tracking": -0.02 + "Tracking": -0.06 }, "label": { "Face": "mono", "Step": "2xs", - "Weight": 500, + "Weight": 600, "Tracking": 0.09, "Upper": true }, "name": { "Face": "sans", "Step": "base", - "Weight": 500, - "Tracking": 0 + "Weight": 600, + "Tracking": -0.01 }, "section": { "Face": "sans", "Step": "lg", "Weight": 600, - "Tracking": -0.01 + "Tracking": -0.02 }, "title": { "Face": "mono", - "Fluid": "h1", - "Leading": 1.15, + "Fluid": "title", + "Leading": 1.05, "Weight": 600, "Tracking": -0.05 }, "verdict": { "Face": "sans", - "Step": "2xl", + "Step": "3xl", "Weight": 600, - "Tracking": -0.02 + "Tracking": -0.03 } }, "Numeric": "tabular-nums", diff --git a/index.html b/index.html index 8d3ef79..b2b646b 100644 --- a/index.html +++ b/index.html @@ -559,8 +559,8 @@

Elevation

'running waiting failed'], ['Chart', 'Grafana\'s series, in the order they are given, and a threshold\'s statuses: the same in either theme.', [1, 2, 3, 4, 5, 6, 7, 8].map((n) => 'chart-series-' + n).concat(['chart-good', 'chart-warning', 'chart-critical']), ''], ['Trace', 'A trace\'s services in the dashboard, picked by a name\'s hash: this theme\'s eight.', [1, 2, 3, 4, 5, 6, 7, 8].map((n) => 'trace-service-' + n), ''], - ['Interaction', 'A list\'s row under the pointer, a plane; and the accent over a surface: a hovered link on the site, a selected row.', ['row-hover', 'accent-hover', 'accent-selected'], - 'hoveredselected'], + ['Interaction', 'A list\'s row under the pointer, a plane; selected, and where you are - a row, a card, the navigation\'s item - one tint with the accent beside it; and the accent over the page: a hovered link and the current page on the site.', ['row-hover', 'selected', 'accent-hover', 'accent-selected'], + 'selectedhoveredcurrent'], ]; function swatches() { const cs = getComputedStyle(document.documentElement); diff --git a/lab.css b/lab.css index d87c63e..7877f27 100644 --- a/lab.css +++ b/lab.css @@ -87,10 +87,9 @@ kbd { font: 11px var(--spin-font-mono); color: var(--spin-muted); border: 1px so .grid .n { text-align: right; } .grid .id { font-family: var(--spin-font-mono); color: var(--spin-muted); } .grid tr { position: relative; } .grid tr.is-hover td, .grid tbody tr:hover td, .grid tbody tr:focus-within td { background: var(--spin-row-hover); } -/* A selected row: the accent at tint.selected with an edge in the accent; every word on it in the - text's colour, which is what reads on its tint. */ -.grid tr.is-selected td { background: var(--spin-row-selected); color: var(--spin-text); } .grid tr.is-selected td:first-child { box-shadow: inset 2px 0 0 var(--spin-accent); } -.grid tr.is-selected :is(.id, .muted) { color: var(--spin-text); } +/* A selected row: the selected tint with a 3 px edge in the accent; every word on it keeps its + colour, which holds on the tint. */ +.grid tr.is-selected td { background: var(--spin-selected); } .grid tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--spin-accent); } .grid-wrap { overflow-x: auto; margin-top: 1rem; } /* The whole row opens the thing: its name is the link, stretched over the row, and the focus ring is the row's. */ diff --git a/palette.toml b/palette.toml index 8e9cd2f..85e9cd7 100644 --- a/palette.toml +++ b/palette.toml @@ -84,8 +84,13 @@ destructive = "#C4384F" # the fill of a destructive action, its label white # weight of a row (2026-12-04, spin-stack/brand#70). The spot is a dark plane in either theme: here # a step past the panels, raised, with a border; in light the mark's navy under its frost. So its # words are the same in both, and a state on it - a figure's mark, the verdict's - takes dark's -# colour (--spin-spot-success and the rest). It holds words and figures, never a control: no focus -# ring is held on it. No gradient, no grid texture: a plane and its words. +# colour (--spin-spot-success and the rest), and its accent - its eyebrow, its grid - is dark's +# accent_text (--spin-spot-accent). It holds words and figures, never a control: no focus ring is +# held on it. No gradient. The one texture in the palette is here: a grid of hairlines 24 px apart +# in the spot's accent at 4.5% (layout.spot_grid, tint.spot_grid, --spin-spot-grid), under the +# verdict alone, because it marks the one plane a page leads with; a test holds it nearer the spot +# than the spot's border in every view, so it is a texture and never a rule. Each segment of its +# signal, one per thing the page counts, is that thing's state in dark's colour. spot = "#1B263E" spot_text = "#EAF0F6" # the verdict and a figure: 7:1 on the spot spot_muted = "#9AA7BB" # what explains, and a label on the spot: 4.5:1 @@ -184,6 +189,19 @@ series = [ good = "#2F9A5C" warning = "#B07C00" critical = "#D04A9E" # magenta-leaning, as error is: a deutan tells it from good by its blue +# A machine's last hour in a dashboard's row, as GetWorkspaceUsage gives it: one machine against its +# own cores, never two series compared, so it is drawn in the theme's roles and not in the series. +# Its own cores are a dashed line in muted; what it is lent above them, up to its size's ceiling, a +# band of the accent at `lent` over the panel; what it used, an area of success at `used` under a +# line in success. Each alpha is over whatever the row is, as a state's tint is. The checker holds +# the line and the dashes at 3:1 on the band, and the band and the area apart from the panel. It is +# drawn `width` by `height` px (--spin-usage-width, --spin-usage-height), its own cores' line at the +# height they are of its ceiling, beside its figures. +[chart.usage] +lent = 0.08 +used = 0.18 +width = 84 +height = 30 # A trace's services, in the dashboard: a span's bar on its row, the dot beside a service's name, # the lines of the span tree, and the count of a span's children, written in the colour on the page @@ -229,29 +247,45 @@ light = [ ] # The accent over a surface, for what is selected or hovered on the site (the current page in the -# sidebar, a hovered link): an alpha, so one value serves every surface. The label on a tint is -# accent_text. In dark the tint is cyan over navy; in light it is the cyan over white, a pale blue -# (2026-12-01; the navy's was a grey, and only the label's hue said selected). The dashboard draws -# its one primary action, its indicators and the marks that say where a person is in the accent: a -# selected row is the accent at tint.selected over its panel (--spin-row-selected) with a 2 px edge -# in the accent at its leading edge, the current tab and a section's place in its rail a 2 px line -# in it (target.html). On a selected row every word is in the text's colour, which is what holds on -# its tint; its state keeps its chip. What is under the pointer stays neutral, a plane ([layout]). -# The scrim is the dark page behind a dialog, the only dim there is. +# sidebar, a hovered link): an alpha, so one value serves every surface. In dark the tint is cyan +# over navy; in light it is the cyan over white, a pale blue (2026-12-01; the navy's was a grey, and +# only the label's hue said selected). +# +# Selected, and where you are, are one tint (--spin-selected, the accent at tint.selected over the +# surface they sit on): the selected row and the current item of the navigation. The tint is a +# plane, held from its surface at the hover tier, and what says "selected" is the accent beside it: +# a row's 3 px edge at its leading side, the navigation's label in accent_text at the strong weight. +# A selected card is its edge in the accent, 2 px all round, on its own surface: a card is already a +# plane of its own. The current tab and a section's place in its rail are a 2 px line in the +# accent. At 0.14 the tint is the prototype's of 2026-12-04 (light's +# #DDEBF2 to its #DCEBF3) and every word keeps its colour on it: the text, muted, the label, +# accent_text and the three states each hold their floor there (0.27 before it made a selected row +# heavier than its own words, which had to turn to the text's colour). What is under the pointer +# stays neutral, a plane ([layout]). The scrim is the dark page behind a dialog, the only dim there +# is. [tint] hover = 0.10 -selected = 0.27 # dark's cyan over navy is close in hue: a stronger tint keeps a selection told apart +selected = 0.14 scrim = 0.64 # A solid fill under the pointer: black over it at this alpha, and twice it when pressed - or white # over a fill that is already ink, which black would not move. The fill decides, not the theme: # every fill here now is lighter than ink and darkens, light's cyan included. fill = 0.12 -# A state's tint (running, waiting, failed), so that a state reads as a thing and not as an 8 px mark -# or coloured words. Drawn two ways. A row's state chip: the state's mark on its tint, a tile in the -# row's first cell, its word beside it in the text's colour - the mark holds 3:1 on it over the -# panel, a row under the pointer and a selected row. And a badge, in a header or a toast: the -# state's word in its colour on its tint, 4.5:1 over every surface. +# A state's tint (running, waiting, failed, at rest), so that a state reads as a thing and not as an +# 8 px mark or coloured words. Drawn three ways, each the state's colour at this alpha over whatever +# is under it. A state's tile: its icon on its tint, layout.density's tile square, at the head of a +# row that is a task. A row's state chip: the state's mark on its tint, its word beside it in the +# text's colour. Icon and mark hold 3:1 on the tint over the panel, a row under the pointer and a +# selected row. And a badge, in a header or a toast: the state's word in its colour on its tint, +# 4.5:1 over every surface - which is why the tile is 12% and not the prototype's 13% of +# 2026-12-04: at 13% light's warning on its badge over raised is 4.47:1. badge = 0.12 +# The spot's one texture: a grid of hairlines layout.spot_grid apart, the spot's accent at this alpha +# over the spot ([dark] says where the spot is and why it alone has one). +spot_grid = 0.045 +# A key hint's edge on a filled button: the fill's label at this alpha over the fill, where the +# border a key hint has on a surface would be a grey box on the cyan. +kbd = 0.45 # Elevation: what lifts a menu, a dialog or a toast off what is under it. In light, a soft shadow # under a white plane. In dark, a shadow is black on near-black: under a scrim it drew a darker @@ -269,9 +303,9 @@ dark = "0 0 0 1px rgb(0 0 0 / 0.4)" # commands, output, ids, an image, a state, a time - and for headings: the site's (type.display) and # a dashboard page's title (type.rank.title), which set Spinbox in its console's face. Mono beside # sans in a line of text is set at the sans' size, never smaller: an id or a state at 11 px beside a -# 13 px name was the least legible thing on every screen. The label (type.rank.label) is the one -# thing set under 13 px, because it is never in a line of text: uppercase and tracked, alone in its -# cell or on its line. +# 13 px name was the least legible thing on every screen. Two things are set under 13 px, because +# neither is ever in a line of text: the label (type.rank.label), uppercase and tracked, alone in its +# cell or on its line; and a key hint (controls.kbd), a key's name on its cap. [type] sans = "Geist" mono = "Geist Mono" @@ -281,36 +315,39 @@ reading_size = 16 # px: the docs' body. Below 16 iOS zooms into a focused dense_size = 13 # px: the dashboard's body, where a table of runners is the content # The dashboard's scale, by the names its Tailwind theme gives them: a step under Tailwind's own, # which is sized for reading an article; set a table of runners in it and it reads as shouting. -# Each step is [size, line height] in px. 2xs is the label's alone. -dense_scale = { "2xs" = [11, 16], xs = [12, 16], sm = [13, 20], base = [14, 22], lg = [16, 24], xl = [18, 26], "2xl" = [20, 28], "3xl" = [24, 32] } +# Each step is [size, line height] in px. 2xs is the label's and a key hint's alone, 4xl a figure's. +dense_scale = { "2xs" = [11, 16], xs = [12, 16], sm = [13, 20], base = [14, 22], lg = [16, 24], xl = [18, 26], "2xl" = [20, 28], "3xl" = [24, 30], "4xl" = [30, 36] } # A dashboard page has six ranks, and each is one size at one weight, the same on every page. Four # ranks from 13 to 24 px, the title 1.85 times the body, left a reader unable to tell what leads a -# page. The operator's review of the concepts of 2026-12-04, a wider range on the same content, -# took the range (spin-stack/brand#69): -# title a page's title: the mono at the display tracking, as the site's headings are, fluid h1 -# verdict the one sentence a page leads with, whether anything needs the person: 2xl strong +# page (spin-stack/brand#69). The sizes and weights are the prototype's of 2026-12-04, which the +# operator chose as the destination, on the scale above: +# title a page's title: the mono at the display tracking, as the site's headings are, fluid +# from 32 px on a phone to 44 on a desktop (fluid.title) +# verdict the one sentence a page leads with, whether anything needs the person: 3xl strong # section a section's heading: lg strong -# name a row's name: base medium +# name a row's or a card's name: base strong, in the mono where the name is an id # body the rest, sm regular; muted for what explains - a page's or a section's line, a reason -# label an eyebrow, a column's head, a figure's caption, a row's metadata: the mono, uppercase -# and tracked, 2xs medium, in the label colour, never a sentence -# and figure, a count a page leads with: the mono at the title's weight, 3xl. Nothing on a page is -# set larger than its title, and no rank takes another's size. Each is a face, a size - a step of -# the scale, or a fluid heading with its leading - a weight, a tracking in em, and whether it is -# set in capitals; the outputs write each as --spin-rank--{font,size,lh,weight,tracking,case}. -rank.title = { face = "mono", fluid = "h1", leading = 1.15, weight = 600, tracking = -0.05 } -rank.verdict = { face = "sans", step = "2xl", weight = 600, tracking = -0.02 } -rank.section = { face = "sans", step = "lg", weight = 600, tracking = -0.01 } -rank.name = { face = "sans", step = "base", weight = 500, tracking = 0 } +# label an eyebrow, a column's head, a figure's caption, a count beside a heading: the mono, +# uppercase and tracked, 2xs strong, in the label colour, never a sentence +# and figure, a count a page leads with: the mono at the title's weight, 4xl, set tight. Nothing on +# a page is set larger than its title, and no rank takes another's size. Each is a face, a size - a +# step of the scale, or a fluid heading with its leading - a weight, a tracking in em, and whether +# it is set in capitals; the outputs write each as --spin-rank--{font,size,lh,weight,tracking,case}. +rank.title = { face = "mono", fluid = "title", leading = 1.05, weight = 600, tracking = -0.05 } +rank.verdict = { face = "sans", step = "3xl", weight = 600, tracking = -0.03 } +rank.section = { face = "sans", step = "lg", weight = 600, tracking = -0.02 } +rank.name = { face = "sans", step = "base", weight = 600, tracking = -0.01 } rank.body = { face = "sans", step = "sm", weight = 400, tracking = 0 } -rank.label = { face = "mono", step = "2xs", weight = 500, tracking = 0.09, upper = true } -rank.figure = { face = "mono", step = "3xl", weight = 600, tracking = -0.02 } +rank.label = { face = "mono", step = "2xs", weight = 600, tracking = 0.09, upper = true } +rank.figure = { face = "mono", step = "4xl", weight = 600, tracking = -0.06 } line_height = 1.6 # reading; dense text takes 1.45 -# Weight is rank, in three steps, and fonts/ ships each face at exactly these: strong for what a +# Weight is rank, in three steps, and fonts/ ships each face at exactly these. Strong for what a # page is, what it says and how it is divided - its title, its verdict, a figure, a section's -# heading; medium for what is pressed, what heads a column and a row's name - a button, a label; -# regular for the rest. A weight between two of them is a rank nobody tells from its neighbour, and -# one fonts/ does not ship is drawn by the browser smearing the nearest. +# heading - and for what a person reads first in a row, a card or a control: a name, a label, a +# button's word, the navigation's current item. Medium for what a machine says beside them, in the +# mono - a time, a workspace, a count, a key hint - and for a state's word on its chip. Regular for +# the rest. A weight between two of them is a rank nobody tells from its neighbour, and one fonts/ +# does not ship is drawn by the browser smearing the nearest. weight_strong = 600 weight_medium = 500 weight_regular = 400 @@ -332,10 +369,11 @@ display = "mono" display_tracking = -0.05 # Headings from a phone's width (layout.phone) to a desktop's (layout.desktop), [px there, px here]: # a clamp() in between, so a title neither shouts on a phone nor whispers on a monitor. -# The display is the landing's headline alone: a page's title is h1, a step under it, so that a +# The display is the landing's headline alone: a doc's title is h1, a step under it, so that a # doc's title keeps its proportion to its sections (Starlight's h1 was the display, and a title -# towered over its h2s). -fluid = { display = [32, 52], h1 = [28, 40], h2 = [22, 30], h3 = [18, 22], h4 = [16, 18] } +# towered over its h2s). A dashboard page's title is title: the prototype's of 2026-12-04, a page +# with no sections set in its rank to keep in proportion. +fluid = { display = [32, 52], title = [32, 44], h1 = [28, 40], h2 = [22, 30], h3 = [18, 22], h4 = [16, 18] } # Figures in tables and meters line up: every digit the same width. numeric = "tabular-nums" # The name beside the mark, and in every header: the word the prose uses, since a lowercase mark @@ -353,8 +391,26 @@ sidebar = 17 # rem: the docs' sidebar (Starlight's --sl-sidebar-width # at the dense size, each with its icon and its key, which fit in 240 px. In px, as everything the # app sets is: the dashboard's text does not grow with the reader's, and a column that did would. sidebar_app = 240 # px -radius_sm = 6 # px: inputs, chips, code; every corner of the dashboard, dialogs included -radius = 8 # px: the site's cards, buttons, panels +bar = 56 # px: the bar over a dashboard page - where the person is, and its action +spot_grid = 24 # px: the spot's grid, between two of its lines (tint.spot_grid) +# The spot's signal: one segment per thing the page counts, in that thing's state, [width, height] +# in px, rounded at half its height; and the least width of each figure beside it. +signal = [36, 5] +width_figure = 118 # px +# A state's mark: the shape beside its word - a filled circle fine, a ring at rest, a diamond wanting +# a look, a square failed - this many px across (the diamond a px less, so its points do not reach +# past the circle's edge). +mark = 8 # px +# What a fact's label takes, a column of its own so the values start at one x (the inspector's +# facts); and a list's search field in its panel's toolbar. +width_key = 96 # px +width_search = 240 # px +# Corners by what they hold (the prototype of 2026-12-04): what holds things is rounder than what is +# pressed or typed into, and what sits inside a control is squarer than the control. +radius_xs = 4 # px: what sits in a control - a key hint, a filter's option in its group +radius_sm = 6 # px: what is pressed or typed into - a button, an input, a chip, a state's + # tile, a navigation item, code +radius = 8 # px: what holds things - a card, a panel, the spot, a menu, a dialog radius_lg = 12 # px: the site's dialogs and hero figures target = 24 # px: the least a pointer target is (WCAG 2.2, 2.5.8) target_touch = 44 # px: a target on a coarse pointer (WCAG 2.5.5, Apple's HIG) @@ -371,8 +427,8 @@ width_page = 1600 # px # workspace, a team, the installation - has one row of tabs, never a second under it: twelve tabs # in five groups were two levels of navigation inside one thing. Its settings are one page that # scrolls, not tabs. Each section of that page is split: its title and a line of what it governs -# in an aside on the left, its rows on the right in a card - a hairline edge at the dashboard's one -# corner (`radius_sm`), on the page's plane, no shadow. A row is a label, its value and one verb +# in an aside on the left, its rows on the right in a card - a hairline edge at `radius`, on the +# page's plane, no shadow. A row is a label, its value and one verb # (Rename, Change, Manage); its detail, and its editing with Save and Cancel, open inside the row, # never in a dialog or on another tab. A page shows one banner at most, the one that matters most, # with its cause and its actions. A section's rows - settings, facts read for a diagnosis, a table - @@ -391,24 +447,70 @@ width_aside = 280 # px: a split section's aside # fixed tracks, so a column is at one x in every row and every panel, and a label and its value # sit together, never split across the width. width_panel_min = 560 # px -# A list of many - workspaces, runners, snapshots - is rows of this height on the page: a list is -# read by scanning down it, and a row that is one line of text needs a control's height and no -# more. No rule between rows: at this height the rows' own text is the ruling, and a line under -# each is more ink than the names. The one line a list has is under its column heads, a hairline. +# What needs the person is a card, and only that (the prototype of 2026-12-04): its state, its +# reason, its context and its next step, in a grid of cards each at least this wide - four across a +# desktop's column, three where three need the person, one on a phone. Everything else is a row. +width_card_min = 240 # px +# The Inbox's inspector: the selected task, what it asks and its facts, beside the list. +width_inspector = 400 # px +# A list of many - tasks, workspaces, runners, snapshots - is rows in one panel: a list is read by +# scanning down it. A row is as high as what it holds (layout.density): one line, a log's line or a +# fact; two lines, a setting or a detail, a name over what it governs; or a row with its tile or its +# last hour, a task or a workspace, its name over what it is doing. A hairline between rows, which +# at two lines is what tells one from the next, and one under the column heads. # The row under the pointer, or holding the keyboard's focus, is a plane - `raised` in either # theme, the step past the panel a section's rows sit on (the checker holds it from the page and -# from the surface at the hover tier) - and never an outline. A selected row is the accent at -# tint.selected with a 2 px edge in the accent at its leading edge ([tint]), held from its panel at -# the state tier. A row's state is its chip ([tint].badge). +# from the surface at the hover tier) - and never an outline. A selected row is --spin-selected +# with a 3 px edge in the accent at its leading edge ([tint]). A task's state is its tile, a +# workspace's its chip ([tint].badge). +# +# A row carries its next step at rest, at the end of the row: at most one outlined button, a verb +# written as words in accent_text, and its menu - Stop, Open in VS Code and the menu on a running +# workspace, Start and the menu on a stopped one. Each is `controls.sm` high and reachable by +# keyboard in the row's order, and the rest of the row opens the thing. An action under the pointer +# is lifted off its row (`surface` in light, `overlay` in dark), so it is told from it. On a touch +# screen the row grows to `target_touch`. # -# A row's actions appear when the row is under the pointer or holds the focus, and are absent -# otherwise: two or three bordered buttons on every row were what a person saw before any name. At -# rest a row is its state, its name and its facts on one line, and the whole row opens the thing. -# The actions are reachable by keyboard in the row's order, each `controls.sm` high. An action -# under the pointer is lifted off its row (`surface` in light, `overlay` in dark), so it is told -# from it. Where nothing -# hovers - a touch screen - the actions are drawn, and the row grows to `target_touch`. -row = 36 # px +# A density is the room a page gives: comfortable for a person who visits it, compact for one who +# lives in it all day. Each is the same set of sizes, in px, written as --spin-, with "_" as +# "-": comfortable on the root, compact under [data-density='compact']. Type does not change with +# density: each rank is one size on every page. +[layout.density.comfortable] +inset_page = 32 # the page's inset, from the navigation and under the bar +gap_head = 24 # under the page's head, over its spot +gap_section = 32 # over a section's heading +gap = 12 # between two cards or two panels, and under a section's heading +inset_card = 16 # inside a card, and a panel's toolbar +inset_spot = 24 # inside the spot +inset_cell = 16 # a row's and a cell's inset at either end +row = 36 # a row of one line +row_two = 52 # a row of two lines: two 20 px lines and 6 px over and under +row_item = 64 # a row with its tile or its last hour +tile = 32 # a state's tile, its icon controls.icon +[layout.density.compact] +inset_page = 24 +gap_head = 16 +gap_section = 20 +gap = 8 +inset_card = 12 +inset_spot = 16 +inset_cell = 12 +row = 32 +row_two = 44 +row_item = 52 +tile = 24 +# The steps a component's own parts are spaced by - an icon from its word, a title from its line, a +# card's head from its name - in px, written as --spin-space-. A space no step names is a +# number a page wrote for itself. +[layout.space] +"3xs" = 2 +"2xs" = 4 +xs = 6 +sm = 8 +md = 12 +lg = 16 +xl = 24 +"2xl" = 32 # Controls: a button's or an input's height, small (a row's action, a toolbar), medium (a form, a # page's header) and large (a dialog's footer, the site); the icon in it and the gap to its word. @@ -437,12 +539,19 @@ row = 36 # px # icon and a word on every row. A third party's logo as an # icon - an editor's, a forge's - is drawn as that party's brand terms say (its colours, its clear # space, unaltered), or a generic glyph is used in its place. +# +# A key hint: the key that does what its control does, on a cap beside the control's word - New task +# c, Approve a, the search's ⌘K - where the key works on that page. The key's name as the key shows +# it, in the mono at 2xs and medium, no capitals added (a is not Shift+A), on a cap `kbd` high at +# `radius_xs` with `border` for its edge and muted for its label; on a filled button the fill's +# label for both, its edge at tint.kbd. [controls] sm = 28 md = 32 lg = 36 icon = 16 gap = 6 +kbd = 18 # Motion. A movement says what something does - a layer sealed on the one under it, a diff drawn # between two - or that it answered a hand; one that only decorates is left out. Each runs once: @@ -454,3 +563,12 @@ base = 200 # ms: a card, a tab, a menu opening slow = 400 # ms: a section coming into view draw = 700 # ms: a line of a drawing being drawn ease = "cubic-bezier(0.2, 0.7, 0.2, 1)" # out, quick then settling: it arrives rather than bounces +# What moves on its own, and nothing else does (the prototype of 2026-12-04): each a period in ms +# and how many times it runs, stopping within 5 s (the generator refuses one that does not), +# written as --spin- and +# --spin--times. The title's cursor blinks on load, so a page says it has just arrived; and the +# mark of a working task breathes each time its step changes, which is the agent saying it did +# something - the prototype's breathed for as long as the task worked, which WCAG 2.2.2 asks a way to +# stop. Under reduced motion neither moves: the cursor stays, the mark is still. +blink = { period = 1100, times = 3 } +breathe = { period = 2000, times = 2 } diff --git a/target.html b/target.html index 3e9b460..23d96ad 100644 --- a/target.html +++ b/target.html @@ -116,10 +116,9 @@ .r { display: grid; align-items: center; column-gap: var(--s4); height: var(--spin-row); padding: 0 var(--s3); white-space: nowrap; } .r > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; } .r:hover { background: var(--spin-row-hover); } -/* A selected row: the accent at tint.selected over its panel and an edge in the accent; every word - on it in the text's colour, which is what reads on the tint. */ -.r.sel { background: var(--spin-row-selected); box-shadow: inset 2px 0 0 var(--spin-accent); } -.r.sel :is(.muted, .t, .err-t, .link) { color: var(--spin-text); } +/* A selected row: the selected tint with a 3 px edge in the accent; every word on it keeps its + colour, which holds on the tint. */ +.r.sel { background: var(--spin-selected); box-shadow: inset 3px 0 0 var(--spin-accent); } .r.head { height: var(--spin-control-md); border-bottom: 1px solid var(--spin-hairline); font-size: 12px; font-weight: 500; color: var(--spin-muted); } .r.head:hover { background: none; } /* How long, in the sans's tabular figures; a clock's time, in the mono. */ diff --git a/target/README.md b/target/README.md index 933079c..9e9ca61 100644 --- a/target/README.md +++ b/target/README.md @@ -27,7 +27,7 @@ The Inbox and Workspaces are redrawn so that each page has a focal point and a r 1. A page's type is palette.toml's six ranks and its figure (`[type].rank`, `--spin-rank-*`), each set whole from its six variables: the title in the mono at 40 px over an eyebrow in the label rank that counts what the page lists ("14 tasks", "7 workspaces in 4 projects"); the verdict at 20/600; a section's heading at 16/600; a row's name at 14/500; the body at 13/400; a figure in the mono at 24/600; the label, the mono at 11 px and 500, uppercase and tracked, for column heads, the sidebar's group and the figures' captions. 2. The verdict is on the spot (`--spin-spot-*`): one plane a page has that is not its own, dark in either theme. It holds the verdict and what explains it, then the counts the page computes, one figure for each group or filter the page already has (the Inbox's Needs you, Working and Asleep; Workspaces' Running, Stopped and Failed). It holds no control, and a state on it is dark's colour. Workspaces' filters keep their marks and words and lose their counts, which the spot now says. 3. A row's state is a chip: its mark on its tint (`--spin-*-badge`) with its word beside it in the text's colour. The inspector's state is the same chip. -4. A selected row is `--spin-row-selected` with an edge in the accent, and every word on it is in the text's colour. +4. A selected row is `--spin-selected` with a 3 px edge in the accent, and every word on it keeps its colour. 5. The Inbox's folded groups, Snoozed and Done, share one line, and its inspector is 368 px, so that the list keeps to the fold under the taller head. ## Rerun the shooter diff --git a/target/inbox.dark.png b/target/inbox.dark.png index 684a452..14eaba4 100644 Binary files a/target/inbox.dark.png and b/target/inbox.dark.png differ diff --git a/target/inbox.light.png b/target/inbox.light.png index fcb05b0..02810ed 100644 Binary files a/target/inbox.light.png and b/target/inbox.light.png differ diff --git a/target/workspaces.dark.png b/target/workspaces.dark.png index 6cf94e3..f2fe0b2 100644 Binary files a/target/workspaces.dark.png and b/target/workspaces.dark.png differ diff --git a/target/workspaces.light.png b/target/workspaces.light.png index bf5d3a9..3841488 100644 Binary files a/target/workspaces.light.png and b/target/workspaces.light.png differ