Skip to content

Assess J5's UI colors against upstream's theme tokens #499

Closed

Description

@Jacksondr5

Context

Upstream now ships a theme library and a lint rule, shadcn/no-raw-colors, enforced as an error across apps/web/src: colors must come from theme tokens (warning, success, destructive, info, and so on) so status tones follow a person's installed theme. Upstream exempts only files holding third-party brand marks.

In the 2026-10-08 upstream advance, J5's web code had to move off raw Tailwind colors to pass that rule. It was done mechanically, to the nearest token, without a design pass:

Where Before After
Agent-to-agent cards, Crew notices, playbook board and runs, spawned-children rows amber warning
Crew notices (success) emerald success
Crew notices (failure) red destructive
Artifact links in messages (ChatMarkdown.tsx) violet info (blue)

In the default theme the first three resolve to the same hues (dark-mode text is one shade deeper). Artifact links are the real change: violet was how an artifact link stood apart from a file link, and the theme has no violet token. Inbox, Fleet and Artifacts also moved onto upstream's shared WorkspacePageHeader.

What to assess

  • Which J5 surfaces carry a meaning that upstream's status tokens do not express (artifact links, agent-to-agent cards, Crew and Captain marks, persona chips, automation tags), and whether each needs its own look or should read as an upstream status tone.
  • Whether J5 should add its own theme tokens (for example one for artifacts) to the stylesheet, what that costs at each upstream advance, and how custom themes would treat a token they do not define.
  • How J5's surfaces look under upstream's built-in themes and in light and dark mode, not only the default.
  • Whether J5's pages should keep following upstream's shared page header and other shared components as they evolve.

Decided so far

  • Artifact links stay on info until this assessment is done (Jackson, 2026-10-09).
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions