Skip to content

feat(visualization,adhd): take rendered-page tokens and branding from the shared layer #19172

Backlog

Description

@kyle-sexton

Problem

ADR 0133 (docs/adr/0133-let-a-consumer-brand-rendered-pages-through-one-shared-token-layer.md,
Decision 8) migrates the plugins that carry the chrome first. visualization carries
reference/html-chrome.html and reference/html-loop-closure.html (9 --clay lines), and
/visualization:visualize builds pages on the chrome. adhd carries the chrome for the page
/adhd:clarify builds and has no page source of its own. Neither applies a consumer's branding.

Done when

  • visualization and adhd each register reference/html-tokens.css in scripts/shared-copies.txt, and the copies are generated.
  • reference/html-loop-closure.html takes its palette from the token layer and defines no literal palette value.
  • The pages /visualization:visualize and /adhd:clarify build inline the token layer and the resolved branding overrides into the page's one <style>, and show the logo in the chrome bar's fixed slot when one is set.
  • With no branding set, a built page looks as it does today.
  • Each plugin's tests build one page with a branding override and check that the override appears and that the toggle, comment box and floor are unchanged.
  • Both 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