Skip to content

feat(design): track the project design spec #4735

Open
9 of 14 issues completed
Open

Description

@dan-petty

Update 2026-11-26 (infra move): the dashboards are now in two places. Product dashboards are in k8s/devops/dashboards/; environment dashboards, Grafana values (default theme) and environment alert rules are in k8s/monitoring/ of dan-petty/homelab. sre-service.json is the generated devops-sre-service.json there. A child that changes them needs an issue in that repository.


Problem or Motivation

The project artifacts have no shared design. Each artifact sets its colors, fonts and sizes by hand. An inventory of main at 818ac6f on 2026-11-11 found:

  • 0 design token files. No file holds the design values.
  • 8 different "success" greens: the docs site (light and dark), Grafana (light and dark), an agent HTML artifact (light and dark), a GitHub label and the ANSI green of the terminal.
  • 4 font stacks: the docs site (Inter and JetBrains Mono), Grafana (Inter and Roboto Mono), an agent HTML artifact (Archivo, Source Sans 3 and JetBrains Mono) and the GitHub system stack.
  • 4 severity maps in the terminal output that do not agree. INFO shows in the success green.
  • WCAG failures: the light theme of the docs site has text at 1.44:1, 1.83:1, 2.85:1 and 3.04:1. WCAG 2.2 AA needs 4.5:1. The docs site ignores the system theme and has no focus style.
  • Colorblind failures: the Grafana green and red are 5.0 (light) and 6.8 (dark) apart in CIEDE2000 under simulated deuteranopia. A reader with deuteranopia cannot tell "ok" from "error".
  • 34 hex values in the docs site CSS, 21 hex or rgb literals in the own Grafana dashboards, 27 colors on 83 labels, and 0 SLO, error-budget or burn-rate panels.

On 2026-11-11 the owner asked for one design spec that all project artifacts follow: the docs site, the README and generated docs, Grafana dashboards, the start page, the Service dashboard, project review reports, HTML artifacts, charts, Mermaid diagrams, the terminal output of devops (Rich) and the Markdown of issues and pull requests. The spec takes the editorial look and the practice of Google SRE. It does not take Google's brand colors, logos or the Google Sans and Product Sans fonts.

Goal

One set of design tokens is the only source of design values. An open tool builds the format of each target from it. Every artifact follows one spec, docs/DESIGN.md: WCAG 2.2 AA text contrast, colorblind-safe chart colors, light and dark themes, and a layout that is readable on a phone and on a wide screen. Dashboards and reports use the SRE patterns: an SLO panel, the error budget, multiwindow burn rates, the four golden signals, toil, capacity and the postmortem outline.

Decisions

Base: scientific-minimal. Two judges ranked three candidate bases (consistency 30, 29 and 27 of 40; look and accessibility 47, 43 and 38 of 60). No open design system is the base. The spec puts together published open parts and a small set of owned tokens:

  • Layout model of Tufte CSS 1.9.0 (MIT): a 40rem reading column, a 15rem margin-note column at 75rem and wider, full-width figures. The spec takes the model, not the file (the file has fixed colors and no custom properties).
  • Traits of the SRE books and sre.google: regular-weight headings, an 18 px reading body, rule-only tables of measured numbers, "Figure N-M." captions below figures and "Table N-M." captions above tables, diagrams with few colors.
  • Type: Adobe Source Serif 4, Source Sans 3 and Source Code Pro (OFL-1.1).
  • Color: warm-neutral grays, one petrol accent (#0b6e8a light, #78c5da dark), three status colors that always come with a shape and a word, three categorical colors plus a gray "Other", cividis for magnitude, and red-to-blue diverging ramps with the same meaning in both themes. No Google brand color is in the palette.

Pipeline. Three token files in the W3C DTCG format 2025.10 in design/tokens/ (base, light, dark). Style Dictionary 5.7.1 (Apache-2.0) builds them with four JSON configs and built-in formats only (css/variables, json/flat), with warnings set to "error". make design-tokens writes the CSS and JSON outputs, and the outputs are committed. A CI job builds again, runs git diff --exit-code and runs tests/design (coloraide, MIT): 74 contrast rules, colorblind gates and name parity between the themes.

Grafts that passed the fatal-flaw checks: colors set for each theme with margin on every surface; status hues kept out of the categorical slots; one diverging meaning in both themes; a burn-rate chart with one page line for each window; a fixed dash pattern for each series; threshold labels at the left end; status marks as inline SVG shapes; contrast rules in $extensions next to the tokens; Mermaid on the docs site themed from the tokens; one chart path (Altair and vl-convert); one role map for Rich and Grafana; every fixed Grafana hex checked on all four Grafana backgrounds; low-sample rules; an ast-grep rule against color literals in hand-written CSS.

Owner decisions (2026-11-11). The owner said "proceed as recommended", so each decision takes its recommended answer:

  1. Base of the spec: scientific-minimal with the grafts. Not IBM Carbon (the artifacts look like IBM products, and its DTCG export drops 24 and 29 tokens in Style Dictionary 5.7.1). Not GitHub Primer (the artifacts look like GitHub pages, and a seed copy needs 98 hand edits for each upgrade).
  2. Categorical colors: 3 colors plus a gray "Other". No 4-color set passes all gates in light mode with the same hue family in both themes.
  3. Face for long reading text: Source Serif 4.
  4. Font loading: the Google Fonts css2 API for every web target (one path, no new dependency). Trade-off: the IP address of each reader goes to Google.
  5. Grafana default theme: system.
  6. Grafana color for the ok state: the neutral text color, not green.
  7. Upstream-derived Grafana dashboards (5 gnetId copies and Node Exporter Full): keep them as published. The rules apply to the 10 own dashboards.
  8. Report charts: Altair 6.3.0 and vl-convert-python in an optional extra report.
  9. Updates of the Style Dictionary lock: Renovate npm updates for that lock only.
  10. SLO rule tool: Sloth (Apache-2.0), which writes standard Prometheus rules into git. The objectives are the ones that feat(monitoring): define the Service SLOs in a Sloth spec #4709 records from the owner decision of the project review study.
  11. Homepage theme setting: leave it unset, so the theme switcher stays.

Ordered child list

Each line gives the issue, its title and the issues to merge first. "Start now" marks an item with no unmet dependency. A line with "scope added" is an existing issue that has a scope comment from this plan.

Related open items

#4517 (Service plan) is the parent of #4598 and #3655. #4679 (project review) is the parent of #4720, #4709 and #4714. #4627 (project profile) is the parent of #4652. #4656 moves the docs site to a Pages workflow. #4675 owns dashboard queries, units and legends and keeps the default Grafana colors until its panel children merge.

Measure of the whole

Measure Today Target
Design token files 0 3 source files and 1 build
"Success" greens 8 1 token for each theme
Font stacks in web targets that the project styles 4 1 type family (Grafana keeps its own)
Severity maps in the terminal output 4 1
Text pairs under 4.5:1 in the docs site light theme 4 0
Contrast rules checked in CI 0 74
Hex literals in the 10 own dashboards 21 0 outside the token allowlist
Smallest distance between Grafana status colors under deuteranopia (CIEDE2000) 5.0 12.9 or more
SLO, error-budget and burn-rate panels 0 1 SLO row on the Service dashboard

Target Subsystem

Documentation, terminal output, monitoring and Kubernetes manifests, with a new design/ source folder and a src/devops_cli/design/ package.

Existing Tool Considered

The W3C DTCG format 2025.10 and Style Dictionary 5.7.1 (Apache-2.0) build every target format with built-in formats only. coloraide 8.13.1 (MIT) checks contrast, colorblind simulation and CIEDE2000. ast-grep (in use) rejects color literals. rumdl 0.3.2 (MIT) lints Markdown. Altair 6.3.0 and vl-convert-python (BSD-3-Clause) render charts. Mermaid (MIT) draws diagrams. Rich Theme, Textual themes, Grafana color names, Sloth v0.16.0 (Apache-2.0) and Homepage custom.css are the standard interfaces of the other targets. All licenses are permissive.

The only custom code is a design module of about 50 lines, two Grafana linter rules of about 60 lines, CSS that reads only tokens, and about 35 lines of docs-site JavaScript. Written cost: the token item about 150,000 tokens and 1 day; the chart and report items about 120,000 tokens and 0.5 day each; the Grafana rules about 60,000 tokens and 3 hours.

Acceptance Criteria

  • Each child is merged, or closed with evidence.
  • The measures of the whole meet their targets.
  • No artifact uses Google's brand colors, logos, or the Google Sans or Product Sans fonts.

Dependencies

None for the tracker. The children carry their own.

Proposed design

Problem statement

The project artifacts have no shared design. Each artifact sets its colors, fonts and sizes by hand: the docs site holds a hand-written dark and light palette (docs/assets/css/style.css:5), pins data-theme="dark" (docs/_layouts/default.html:2), and loads two font families (docs/assets/css/style.css:63, docs/assets/css/style.css:294); every own Grafana dashboard pins "style": "dark" (k8s/monitoring/dashboards/sre-service.json:1191) and uses Grafana's named status colors (k8s/monitoring/dashboards/devops-cli.json:927); the terminal hard-codes Rich colors in place of a theme (src/devops_cli/output/console.py:432, src/devops_cli/commands/scan.py:726). This causes eight success greens, four font stacks, four severity maps, WCAG failures and colorblind failures. The issue tracks one design spec, docs/DESIGN.md, and a set of child issues that apply its tokens to every artifact.

Acceptance criteria

Requirement: Design spec document

The repository SHALL hold one design spec at docs/DESIGN.md that defines the base, type, color, layout, accessibility and SRE patterns.

Scenario: Spec sections

  • WHEN The design test reads docs/DESIGN.md.
  • THEN It finds a section for the base, type, color, layout, accessibility and SRE patterns.

Requirement: Design token source

The repository SHALL hold the base, light and dark design tokens in design/tokens/ in W3C DTCG format, and make design-tokens SHALL write the committed CSS and JSON outputs.

Scenario: Clean token build

  • WHEN CI runs make design-tokens and then git diff --exit-code.
  • THEN The build exits 0 and changes no committed file.

Requirement: Theme name parity

The light and dark token files SHALL define the same token names.

Scenario: Theme name parity

  • WHEN tests/design compares the token names of the light and dark themes.
  • THEN No name is missing from either theme and the test passes.

Requirement: Text contrast

Every text and background pair in every theme SHALL meet WCAG 2.2 AA contrast: 4.5:1 for normal text and 3:1 for large text.

Scenario: Contrast gate

  • WHEN tests/design runs the 74 contrast rules.
  • THEN Each pair meets its threshold or the test fails.

Requirement: Colorblind status colors

The status colors in each theme MUST stay at least 12.9 CIEDE2000 apart under simulated deuteranopia.

Scenario: Deuteranopia gate

  • WHEN The colorblind test simulates deuteranopia on the Grafana light and dark status colors.
  • THEN The distance is 12.9 or more.

Requirement: Own dashboard theme and colors

Every own Grafana dashboard SHALL take its theme from Grafana's default_theme setting and SHALL use only token colors for status.

Scenario: Own dashboard scan

  • WHEN The dashboard test reads the 10 own dashboards.
  • THEN None sets a style field and none holds a color literal outside the token allowlist.

Requirement: No Google brand

No artifact SHALL use a Google brand color, logo, Google Sans or Product Sans.

Scenario: Brand scan

  • WHEN The design test scans tracked files for Google brand hex values, logo assets and font names.
  • THEN It reports no match.

Requirement: Child completion

The tracker audit SHALL report every unchecked child line and every measure row below its target.

Scenario: Tracker audit on a fixture

  • WHEN The tracker audit runs on a fixture issue body with one unchecked child and one measure row below target.
  • THEN It reports both the unchecked child and the measure row.

Existing Tool Considered

No alternatives check has run. No single tool covers the whole need. Style Dictionary 5.7.1 (Apache-2.0) reads the W3C DTCG 2025.10 files and builds the CSS and JSON with its built-in css/variables and json/flat formats; it lacks color checks. coloraide 8.13.1 (MIT) checks contrast, deuteranopia simulation and CIEDE2000. ast-grep is already a dev dependency (pyproject.toml:113, sgconfig.yml:1) and rejects color literals. rumdl 0.3.2 (MIT) lints Markdown. Altair 6.3.0 and vl-convert-python (BSD-3-Clause) render report charts in a new optional extra report, since the base dependency list holds no chart renderer (pyproject.toml:11). Mermaid (MIT) draws diagrams. Rich 15.0.0 (pyproject.toml:14) Theme, Grafana color names, Sloth v0.16.0 (Apache-2.0) and Homepage custom.css are the standard interfaces of the other targets. All licenses are permissive. The project still owns the spec and the small design module. The written cost is about 150,000 tokens and 1 day for the token item, about 120,000 tokens and 0.5 day each for the chart and report items, and about 60,000 tokens and 3 hours for the Grafana rules.

Key questions

  • Which base does the owner choose for the design spec?: Scientific-minimal with the grafts. The spec takes the Tufte CSS 1.9.0 layout model, the SRE editorial traits, Adobe Source Serif 4, Source Sans 3 and Source Code Pro, and a warm-neutral palette with one petrol accent. It does not use IBM Carbon or GitHub Primer. The current docs theme is the hand-written palette and fixed dark theme that this replaces. (best practice) [sources: docs/assets/css/style.css:5, docs/_layouts/default.html:2]
    • Chosen: Scientific-minimal with grafts. Two judges ranked it first for consistency and for look and accessibility. The spec takes the Tufte CSS layout model and the SRE editorial traits.
    • Rejected: IBM Carbon. The artifacts would look like IBM products, and its DTCG export drops 24 and 29 tokens in Style Dictionary 5.7.1.
    • Rejected: GitHub Primer. The artifacts would look like GitHub pages, and a seed copy needs 98 hand edits for each upgrade.
  • Which pipeline builds the token outputs and checks them in CI?: Three token files in the W3C DTCG format 2025.10 in design/tokens/ (base, light, dark). Style Dictionary 5.7.1 builds them with four JSON configs and the built-in css/variables and json/flat formats, with warnings set to error. make design-tokens writes the CSS and JSON outputs, and the outputs are committed. CI builds again, runs git diff --exit-code and runs tests/design with coloraide (74 contrast rules, colorblind gates, theme name parity). The repository has no token build today: the docs CSS holds hand-set values, and ast-grep is already available for the literal rule. (best practice) [sources: docs/assets/css/style.css:5, pyproject.toml:113, sgconfig.yml:1, .github/workflows/ci.yml]
    • Chosen: Style Dictionary 5.7.1 and coloraide. Both are open and maintained. The built-in formats cover CSS and JSON, and coloraide covers contrast, colorblind simulation and CIEDE2000.
    • Rejected: A custom build script. It costs about 150,000 tokens and 1 day for the token item, and it lacks the maintained formats.
    • Rejected: Hand-edited outputs. The tokens would not be the only source of design values.
  • Which grafts does the design spec adopt?: The grafts that passed the fatal-flaw checks: theme-set colors with margin on every surface, status hues out of categorical slots, one diverging meaning in both themes, burn-rate charts with one page line per window, fixed dash patterns, left threshold labels, inline SVG status shapes, contrast rules in $extensions, Mermaid themed from tokens, one chart path (Altair and vl-convert), one role map for Rich and Grafana, checked Grafana hex values on all four backgrounds, low-sample rules, and an ast-grep rule against color literals in hand-written CSS. Each graft closes a failure that the current artifacts show: the fixed dark theme, the pinned dashboard style, and the hard-coded terminal colors. (best practice) [sources: docs/_layouts/default.html:2, k8s/monitoring/dashboards/sre-service.json:1191, src/devops_cli/output/console.py:432, src/devops_cli/commands/scan.py:726]
    • Chosen: Adopt the checked grafts. Each graft passed its fatal-flaw check and closes a named failure.
    • Rejected: Use the base without grafts. The contrast, colorblind and Grafana background failures stay open.
  • How many categorical colors does the spec use?: Three categorical colors plus a gray "Other". The current CSS carries five accent colors per theme, which is the larger set this replaces. (best practice) [sources: docs/assets/css/style.css:16, docs/assets/css/style.css:41]
    • Chosen: 3 colors plus gray Other. No 4-color set passes all gates in light mode with the same hue family in both themes.
    • Rejected: 4 colors. No 4-color set passes all gates in light mode with the same hue family in both themes.
  • Which face does the spec use for long reading text?: Source Serif 4 for long reading text, Source Sans 3 for UI and short text, and Source Code Pro for code, all OFL-1.1. The docs site uses Inter and JetBrains Mono today. (best practice) [sources: docs/assets/css/style.css:63, docs/assets/css/style.css:294]
    • Chosen: Source Serif 4. It is the serif face in the OFL-1.1 type family and suits long reading.
    • Rejected: Source Sans 3. It is the sans face for UI and short text.
    • Rejected: Source Code Pro. It is the monospace face for code.
  • How do web targets load the fonts?: The Google Fonts css2 API for every web target. The docs layout already loads its two families this way, so the change keeps one path and adds no new dependency. The trade-off is that the IP address of each reader goes to Google. (best practice) [sources: docs/_layouts/default.html:10, docs/_layouts/default.html:12]
    • Chosen: Google Fonts css2 API. It is one path with no new dependency, it is already used by the docs layout, and the owner accepts the IP-address trade-off.
    • Rejected: Self-host the font files. It adds a font asset pipeline and a new dependency.
  • Which default theme do the Grafana dashboards use?: system, set as [users] default_theme = system in k8s/monitoring/grafana-values.yaml. grafana.ini sets no default_theme today, and every dashboard pins "style": "dark", which overrides the reader's system setting. The 10 own dashboards drop the pinned style so system applies; the 6 upstream dashboards stay as published. (best practice) [sources: k8s/monitoring/grafana-values.yaml:48, k8s/monitoring/dashboards/sre-service.json:1191]
    • Chosen: system. It follows the reader's system setting, once the own dashboards stop pinning "style": "dark".
    • Rejected: dark. It ignores the reader's system setting.
    • Rejected: light. It ignores the reader's system setting.
  • Which Grafana color marks the ok state?: The neutral text color, not green, with a shape and a word. The own dashboards use Grafana's named green, yellow and red thresholds today. The Grafana green and red are only 5.0 (light) and 6.8 (dark) CIEDE2000 apart under simulated deuteranopia, so green cannot mark ok safely. (best practice) [sources: k8s/monitoring/dashboards/devops-cli.json:927, k8s/monitoring/dashboards/ingress-tunnel.json:41]
    • Chosen: Neutral text. The Grafana green and red are only 5.0 (light) and 6.8 (dark) apart under deuteranopia, so green cannot mark ok safely.
    • Rejected: green. A reader with deuteranopia cannot tell the green ok state from the red error state.
  • Do the upstream-derived Grafana dashboards follow the design rules?: No. Keep the 5 gnetId copies (15757, 15758, 15759, 15760 and 12239) and Node Exporter Full (gnetId 1860) as published. The rules apply to the 10 own dashboards. (best practice) [sources: k8s/monitoring/dashboards/k8s-views-global.json:3006, k8s/monitoring/dashboards/k8s-views-pods.json:2898, k8s/monitoring/dashboards/nvidia-dcgm.json:44, k8s/monitoring/grafana-values.yaml:166]
    • Chosen: Keep upstream dashboards as published. They are upstream-derived, and the rules apply to the 10 own dashboards.
    • Rejected: Restyle upstream dashboards. It would diverge from the published upstream source and add maintenance.
  • Which tools render report charts?: Altair 6.3.0 and vl-convert-python in an optional extra report. The base dependency list holds no chart renderer today, so the extra keeps the base install small. (best practice) [sources: pyproject.toml:11]
    • Chosen: Altair and vl-convert-python. They are open and maintained, and the optional extra keeps the base install small.
    • Rejected: Hand-written SVG. It costs more custom code for each chart.
  • How does the project update the Style Dictionary lock?: Renovate npm updates for that lock only. The npm manager is disabled for every package today, so the change adds a package rule that enables it only for design/package-lock.json. (best practice) [sources: .github/renovate.json:40, .github/renovate.json:34]
    • Chosen: Renovate npm updates for the Style Dictionary lock only. It keeps the lock current without updating unrelated npm packages, and the npm manager stays off for the rest.
    • Rejected: Manual updates. They are easy to miss.
    • Rejected: Broad Renovate npm updates. They would update unrelated npm packages.
  • Which tool writes the SLO rules?: Sloth (Apache-2.0). It writes standard Prometheus rules into git. The alert rules are hand-written in k8s/monitoring/prometheus-values.yaml today. The objectives are the ones that feat(monitoring): define the Service SLOs in a Sloth spec #4709 records from the owner decision of the project review study. (best practice) [sources: k8s/monitoring/prometheus-values.yaml:186]
    • Chosen: Sloth. It is open and maintained, and it writes standard Prometheus rules into git.
    • Rejected: Hand-written Prometheus rules. They cost custom code and are harder to keep standard.
  • Which theme setting does the Homepage start page use?: Leave the theme unset, so the theme switcher stays. Homepage is not in git yet (feat(k8s): deploy Homepage as the cluster start page #4598); its upstream settings are recorded in the archived start-page proposal. (best practice) [sources: openspec/changes/archive/2026-11-11-4542-set-the-homelab-domain-in-container/proposal.md:23]
    • Chosen: Leave the theme unset. It keeps the theme switcher.
    • Rejected: Set a fixed theme. It removes the theme switcher.
  • What does the spec not take from Google SRE?: The spec takes the editorial look and the practice of Google SRE. It does not take Google's brand colors, logos, Google Sans or Product Sans. The web targets keep Adobe's OFL-1.1 faces, as the docs layout does today. (best practice) [sources: docs/_layouts/default.html:12]
    • Chosen: Take the practice, not the brand. The owner asked for the SRE practice, and the brand assets are not permissively licensed for this use.
    • Rejected: Take the Google brand. The owner excluded it.

Fit

Needs splitting into 14 items:

  1. feat(design): add the design tokens and their build #4738 feat(design): add the design tokens and their build (child 1, start now). Depends on: none.
  2. fix(docs): a check finds a code span that nested backticks break #4605 fix(docs): a check finds a code span that nested backticks break (child 2, start now; scope added: rumdl as the one Markdown linter, one table and heading style). Depends on: none; follows docs/DESIGN.md of feat(design): add the design tokens and their build #4738 when it exists.
  3. feat(docs): build the docs site theme from the design tokens #4745 feat(docs): build the docs site theme from the design tokens (child 3). Depends on: feat(design): add the design tokens and their build #4738.
  4. feat(output): add one Rich theme of status roles and marks #4748 feat(output): add one Rich theme of status roles and marks (child 4). Depends on: feat(design): add the design tokens and their build #4738.
  5. feat(design): add the shared report stylesheet and layout #4754 feat(design): add the shared report stylesheet and layout (child 5). Depends on: feat(design): add the design tokens and their build #4738.
  6. fix(monitoring): track readable project dashboards #4675 fix(monitoring): track readable project dashboards (child 6; scope added: the unit table and a unit rule in its lint child). Depends on: feat(design): add the design tokens and their build #4738.
  7. refactor(roadmap): the package declares the workflow labels #4652 refactor(roadmap): the package declares the workflow labels (child 7, parent feat(roadmap): track one project profile for all repositories #4627; scope added: label colors from the tokens). Depends on: feat(design): add the design tokens and their build #4738.
  8. feat(k8s): deploy Homepage as the cluster start page #4598 feat(k8s): deploy Homepage as the cluster start page (child 8, parent feat(roadmap): move Service work to Workflows and Valkey #4517; scope added: color: stone and the token custom.css). Depends on: feat(design): add the design tokens and their build #4738.
  9. feat(docs): draw Mermaid diagrams on the docs site #4755 feat(docs): draw Mermaid diagrams on the docs site (child 9). Depends on: feat(docs): build the docs site theme from the design tokens #4745.
  10. feat(design): render report charts from the design tokens #4758 feat(design): render report charts from the design tokens (child 10). Depends on: feat(design): add the design tokens and their build #4738.
  11. refactor(output): move inline Rich markup to theme roles #4760 refactor(output): move inline Rich markup to theme roles (child 11). Depends on: feat(output): add one Rich theme of status roles and marks #4748.
  12. feat(grafana): apply the design colors to the dashboards #4762 feat(grafana): apply the design colors to the dashboards (child 12; scope added: remove the pinned "style" from the 10 own dashboards so default_theme = system applies). Depends on: feat(design): add the design tokens and their build #4738, feat(output): add one Rich theme of status roles and marks #4748 + the panel children of fix(monitoring): track readable project dashboards #4675.
  13. feat(roadmap): a dashboard and alerts for the pipeline #3655 feat(roadmap): a dashboard and alerts for the pipeline (child 13, parent feat(roadmap): move Service work to Workflows and Valkey #4517; scope added: the SLO, error-budget and burn-rate panels). Depends on: feat(grafana): apply the design colors to the dashboards #4762, feat(design): render report charts from the design tokens #4758 + feat(monitoring): define the Service SLOs in a Sloth spec #4709.
  14. feat(roadmap): track the project review analysis #4679 feat(roadmap): track the project review analysis (child 14; scope added: the review page uses the design items). Depends on: feat(design): add the shared report stylesheet and layout #4754, feat(design): render report charts from the design tokens #4758.

Suspected block

None.

Dependencies

None.

Alternatives check of 2026-12-01: in-use.
The repository already uses this tool.
Tool: Style Dictionary (https://github.com/style-dictionary/style-dictionary), Apache-2.0, last activity 2026-11-03, maintained.
Reason: Searches found no one tool for a shared design spec across every artifact. Style Dictionary builds the DTCG tokens into CSS and JSON, which is part of the need, but it does not check contrast or theme each target.

Covers:

  • Reads W3C DTCG token files as the only source
  • Builds CSS variables and flat JSON outputs
  • Uses built-in formats with no custom code

Lacks:

  • No WCAG contrast or colorblind checks
  • Does not define the design spec or layout
  • Does not theme Grafana, Rich, charts or docs

Sub-issues

Sub-issues

9 of 14 Issues completed
Loading 14 sub-issues

Activity

  1. added
    source/agent
    type/feature
    status/new
    value/high
    effort/high
    on Nov 11, 2026
  2. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: none. The title has the scope design, and .github/labels.yml declares no scope/design label. Add the label to the file to give the scope to this item.
    • Priority: P1-High. It fixes verified WCAG and colorblind failures and is a prerequisite for all artifact rendering.
    • Value: High. It removes 8 conflicting greens, 4 font stacks, and WCAG 1.44:1 contrast from every artifact at once.
    • Effort: High. It needs token files, a Style Dictionary build, CI with 74 contrast rules, colorblind gates, and application across many artifacts.
    • Related: feat(roadmap): render the project review as an HTML page #4720, which asks for a different change. Both concern the project design spec, but the candidate creates it and #4720 consumes it to render one HTML page.
  3. added
    priority/p1-high
    on Nov 11, 2026
  4. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    Standards documents for the children

    Each child pull request changes these documents together with its feature (AGENTS.md rule 8). This list names only the documents that the child issue does not name.

    • feat(design): add the design tokens and their build #4738 (the design tokens and their build):
      • CONTRIBUTING.md section 1, the Artifacts and Charts rules (new): move them into docs/DESIGN.md and keep one link in CONTRIBUTING.md (one rule, one owning document).
    • The children that are not filed yet:
      • The child that applies the spec to the Grafana dashboards: k8s/README.md Grafana Dashboards.
      • The child that applies the spec to the docs site: docs/_config.yml and docs/assets.

    A section marked (new) comes from a standards update that is not on main yet. If that section is not on main when the child pull request opens, change the text that holds the same rule.

  5. devops-cli-service commented on Nov 11, 2026

    @devops-cli-service
    Contributor

    The proposal at fbe8984 needs splitting into 14 items. A person splits the item into the items below, or replies in a comment or edits the body to keep one item, and the next refine round looks at the item again.

    1. feat(design): add the design tokens and their build #4738 feat(design): add the design tokens and their build (child 1, start now). Depends on: none.
    2. fix(docs): a check finds a code span that nested backticks break #4605 fix(docs): a check finds a code span that nested backticks break (child 2, start now; scope added: rumdl as the one Markdown linter, one table and heading style). Depends on: none; follows docs/DESIGN.md of feat(design): add the design tokens and their build #4738 when it exists.
    3. feat(docs): build the docs site theme from the design tokens #4745 feat(docs): build the docs site theme from the design tokens (child 3). Depends on: feat(design): add the design tokens and their build #4738.
    4. feat(output): add one Rich theme of status roles and marks #4748 feat(output): add one Rich theme of status roles and marks (child 4). Depends on: feat(design): add the design tokens and their build #4738.
    5. feat(design): add the shared report stylesheet and layout #4754 feat(design): add the shared report stylesheet and layout (child 5). Depends on: feat(design): add the design tokens and their build #4738.
    6. fix(monitoring): track readable project dashboards #4675 fix(monitoring): track readable project dashboards (child 6; scope added: the unit table and a unit rule in its lint child). Depends on: feat(design): add the design tokens and their build #4738.
    7. refactor(roadmap): the package declares the workflow labels #4652 refactor(roadmap): the package declares the workflow labels (child 7, parent feat(roadmap): track one project profile for all repositories #4627; scope added: label colors from the tokens). Depends on: feat(design): add the design tokens and their build #4738.
    8. feat(k8s): deploy Homepage as the cluster start page #4598 feat(k8s): deploy Homepage as the cluster start page (child 8, parent feat(roadmap): move Service work to Workflows and Valkey #4517; scope added: color: stone and the token custom.css). Depends on: feat(design): add the design tokens and their build #4738.
    9. feat(docs): draw Mermaid diagrams on the docs site #4755 feat(docs): draw Mermaid diagrams on the docs site (child 9). Depends on: feat(docs): build the docs site theme from the design tokens #4745.
    10. feat(design): render report charts from the design tokens #4758 feat(design): render report charts from the design tokens (child 10). Depends on: feat(design): add the design tokens and their build #4738.
    11. refactor(output): move inline Rich markup to theme roles #4760 refactor(output): move inline Rich markup to theme roles (child 11). Depends on: feat(output): add one Rich theme of status roles and marks #4748.
    12. feat(grafana): apply the design colors to the dashboards #4762 feat(grafana): apply the design colors to the dashboards (child 12; scope added: remove the pinned "style" from the 10 own dashboards so default_theme = system applies). Depends on: feat(design): add the design tokens and their build #4738, feat(output): add one Rich theme of status roles and marks #4748 + the panel children of fix(monitoring): track readable project dashboards #4675.
    13. feat(roadmap): a dashboard and alerts for the pipeline #3655 feat(roadmap): a dashboard and alerts for the pipeline (child 13, parent feat(roadmap): move Service work to Workflows and Valkey #4517; scope added: the SLO, error-budget and burn-rate panels). Depends on: feat(grafana): apply the design colors to the dashboards #4762, feat(design): render report charts from the design tokens #4758 + feat(monitoring): define the Service SLOs in a Sloth spec #4709.
    14. feat(roadmap): track the project review analysis #4679 feat(roadmap): track the project review analysis (child 14; scope added: the review page uses the design items). Depends on: feat(design): add the shared report stylesheet and layout #4754, feat(design): render report charts from the design tokens #4758.
  6. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    Alternatives check: partly

    Reason: Searches found IBM Carbon, an open design system that covers tokens, theming and accessibility guidance in part, but not the project's SRE dashboard, Rich terminal, Mermaid or project-specific spec. ADR 0024 rejects it because its DTCG export loses tokens in Style Dictionary 5.7.1 and the artifacts would look like IBM products.

    Tool: carbon-design-system/carbon (https://github.com/carbon-design-system/carbon)

    • License: Apache-2.0
    • Last activity: 2026-11-14
    • Maintained: yes

    Covers:

    • Design tokens and theme values
    • Light and dark theming
    • Accessibility guidance and accessible components

    Lacks:

    • The project's scientific-minimal editorial and SRE patterns
    • SLO, error-budget and burn-rate dashboards
    • Rich terminal, Grafana, Mermaid and Homepage application
    • A DTCG export that Style Dictionary 5.7.1 can build without dropping tokens

    Tools considered:

    Searches run:

    • open source design token build tool W3C DTCG CSS JSON Style Dictionary, results: 5
    • design tokens accessibility contrast colorblind simulation open source tool, results: 5
    • open design system tokens WCAG 2.2 light dark themes SRE dashboards, results: 5
    • IBM Carbon design system open source tokens accessibility, results: 5
    • GitHub Primer design system open source tokens accessibility, results: 5
    • Style Dictionary Amazon design tokens GitHub, results: 5
    • site:github.com style-dictionary style-dictionary, results: 5
    • style-dictionary documentation css variables json flat format, results: 5
    • "Style Dictionary" npm design tokens, results: 5
    • "Style Dictionary" "json/flat", results: 5

    Sources:

    Checked on 2026-11-14. A person decides what this means for the item. The check changes no label and closes no issue.

  7. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: partly, tool https://github.com/carbon-design-system/carbon. A person decides what the new result means for the item.

    Searches (10)

    Tools considered:

    Searches run:

    • Style Dictionary W3C DTCG design tokens css/variables json/flat built-in formats, results: 5
    • Style Dictionary build design tokens CSS JSON documentation, results: 5
    • site:styledictionary.com css/variables json/flat, results: 5
    • styledictionary.com Style Dictionary, results: 5
    • "Style Dictionary" "design tokens" build CSS, results: 5
    • Style Dictionary npm package design tokens, results: 5
    • github.com amzn style-dictionary design tokens, results: 5
    • style-dictionary GitHub Apache-2.0 CSS variables JSON, results: 5
    • "style-dictionary/style-dictionary", results: 5
    • Style Dictionary, results: 5

    Sources:

  8. devops-cli-service commented on Nov 26, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: in-use, tool https://github.com/style-dictionary/style-dictionary. A person decides what the new result means for the item.

    Searches (9)

    Tools considered:

    Searches run:

    • Style Dictionary design tokens build CSS JSON W3C DTCG, results: 5
    • open source design system design tokens accessible light dark themes IBM Carbon GitHub Primer, results: 5
    • carbon-design-system carbon github design tokens, results: 5
    • style-dictionary github amzn design tokens, results: 5
    • "design tokens" tool build CSS variables from tokens, results: 5
    • design system tokens WCAG contrast checker colorblind simulation library, results: 5
    • Primer design system primitives color tokens GitHub, results: 5
    • IBM Carbon design system themes tokens color accessibility, results: 5
    • design tokens format specification community group designtokens.org, results: 5

    Sources:

  9. added 2 commits that reference this issue on Nov 26, 2026
  10. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: rejected, tool https://github.com/carbon-design-system/carbon. A person decides what the new result means for the item.

    Searches (4)

    Tools considered:

    Searches run:

    • design token contrast and colorblind check CI tool coloraide, results: 5
    • build design tokens W3C DTCG format to CSS JSON open tool, results: 5
    • Style Dictionary design tokens build platform, results: 5
    • open source design system tokens across docs terminal grafana charts, results: 5

    Sources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/highpriority/p1-highsource/agentstatus/newtype/featurevalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions