Skip to content

feat(rendered-views): migrate the pages that use the chrome's --clay to the shared token layer #19175

Open

Description

@kyle-sexton

Problem

ADR 0133 (docs/adr/0133-let-a-consumer-brand-rendered-pages-through-one-shared-token-layer.md,
Decision 8 and "The inventory") orders the second wave as the page sources that already use the
chrome's --clay, each defining its own copy of the palette:

  • education: skills/quiz-me/scripts/build-report.mjs, lib/page-kit.mjs, skills/illustrate/templates/explainer.html
  • event-storming: skills/simulation/scripts/build-bc-view.mjs
  • harness-ops: skills/observability/scripts/build-dashboard.mjs
  • knowledge: skills/video-digest/scripts/build-menu-view.mjs
  • review: skills/explain-change/templates/digest.html

None applies a consumer's branding.

Done when

  • Each of the five plugins registers reference/html-tokens.css in scripts/shared-copies.txt, and event-storming and knowledge also register lib/view-settings.mjs.
  • Each listed page source takes palette and stacks from the token layer, defines no literal palette value, and applies the resolved branding overrides with the logo in the chrome bar's fixed slot when one is set.
  • /review:explain-change reads branding from the team file at its --team-ref commit, never the working tree.
  • With no branding set, each page looks as it does today.
  • Each plugin's tests build one page with a branding override and check the override, the toggle, the comment box and the floor.
  • The five plugins are removed from the token drift check's allowlist.

Related

Activity

  1. added
    session-owned
    on Nov 25, 2026
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

    session-owned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions