Skip to content

feat(standard): §11.3.5 Tokyo Night, §11.5 fidelity palettes, §11.4.1 reference names — v1.39 - #18

Merged
UnbreakableMJ merged 1 commit into
mainfrom
standard/tokyonight-solarized-v1.39
Jul 26, 2026
Merged

feat(standard): §11.3.5 Tokyo Night, §11.5 fidelity palettes, §11.4.1 reference names — v1.39#18
UnbreakableMJ merged 1 commit into
mainfrom
standard/tokyonight-solarized-v1.39

Conversation

@UnbreakableMJ

Copy link
Copy Markdown
Contributor

Registers Tokyo Night, Solarized Dark, and Solarized Light — and adds the class the last two belong in.

§11.3.5 — Tokyo Night (conforming alternate)

Verbatim from enkia/tokyo-night-vscode-theme. Canvas Night #1A1B26, surface the documented Storm background #24283B, surface-alt the Night bg_dark #16161E — darker than the canvas, which §11.0.1 already permits (MatrixGreen does the same).

It needed no concessions. Every role token clears 4.5:1 on all three backgrounds:

token hex vs canvas
foreground #C0CAF5 10.59:1
accent #7AA2F7 6.79:1
structure #BB9AF7 7.39:1
success #9ECE6A 9.35:1
error #F7768E 6.46:1
warning #E0AF68 8.55:1
focus #7DCFFF 9.96:1

tokyonight-high-contrast lifts the two under 7:1 (accent#97B6F9 8.44:1, error#F998AA 8.22:1). The upstream comment tone #565F89 (2.76:1) is recorded as not bindable to a role token.

§11.5 — Fidelity Palettes (registered, non-conforming)

A new class for palettes reproduced exactly from a widely used external theme, so tooling can meet a user already working in it. Registered per your call to keep them verbatim and flag them honestly.

Solarized Dark — body text base0 4.75:1 on the canvas; twelve pairings below 4.5:1; structure/border (2.97:1) and error (2.81:1) below 3:1 on base02.

Solarized Light — body text base00 measures 4.13:1, under the AA floor, and success (2.97:1), warning (2.98:1), focus (2.93:1) fall below 3:1. An interface built on it cannot signal status by color at all.

§11.5 therefore: bars adopting a fidelity palette as a project's §11.4 palette, keeps steelbore-mono as the accessible-mode path, ships no -high-contrast sibling (lifting would change the values they exist to reproduce), and marks the two failure bands † (3:1–4.5:1) and ‡ (below 3:1). Solarized defines one elevated tone per mode, so surface-alt shares surface.

§11.4.1 — Reference Names

Additive, non-breaking: slugs stay the machine identifier, reference names are for prose.

steelbore-color-palette · steelboreclassic-color-palette · blue-color-palette · blackpinkpanther-color-palette · matrixgreen-color-palette · navywhite-color-palette · tokyonight-color-palette · solarizeddark-color-palette · solarizedlight-color-palette

Verification

  • Every ratio in the new sections and the changelog was computed from the canonical steelbore.toml, not transcribed — then re-verified against it (234 published ratios across 17 themes, zero mismatches)
  • makeinfo --no-split → zero errors, zero warnings
  • reuse lint → compliant, 8/8

Construct sync (steelbore.toml, SKILL.md, references/CHANGELOG.md, bundles) lands as its own PR at the same version.

🤖 Generated with Claude Code

… reference names — v1.39

Registers three external palettes and adds the class the two of them
that cannot conform belong in.

§11.3.5 — Tokyo Night, verbatim from enkia/tokyo-night-vscode-theme:
canvas Night #1A1B26, surface the documented Storm background #24283B,
surface-alt the Night bg_dark #16161E (darker than the canvas, which
§11.0.1 permits). No Spacecraft-derived substitutes were needed — every
role token clears 4.5:1 on all three backgrounds — so it is registered
as a conforming alternate. tokyonight-high-contrast lifts the two
tokens under 7:1 on the canvas (accent #97B6F9, error #F998AA). The
upstream comment tone #565F89 (2.76:1) is recorded as unbindable.

§11.5 — Fidelity Palettes (registered, non-conforming). Solarized Dark
and Solarized Light are reproduced exactly from ethanschoonover.com
with no token substituted, deepened, or lifted, and they do not satisfy
§11's contrast guarantee: Solarized Light's body text is 4.13:1, under
the AA floor, and its success/warning/focus tokens fall below 3:1. The
printed ratios are the measurement, not a target. §11.5 bars adopting a
fidelity palette as a project palette, keeps steelbore-mono as the
accessible path, and ships no high-contrast sibling for them.

§11.4.1 — Reference Names. Every palette gains an additive reference
name for prose (steelbore-color-palette, steelboreclassic-color-palette,
blue-, blackpinkpanther-, matrixgreen-, navywhite-, tokyonight-,
solarizeddark-, solarizedlight-color-palette). Slugs are unchanged and
remain the machine identifier, so no consumer breaks.

Every ratio in §11.3.5, §11.5, and the changelog was computed from the
canonical steelbore.toml rather than transcribed, then re-verified
against it.

Verified: makeinfo --no-split → zero errors/warnings; reuse lint →
compliant 8/8; .md companion regenerated.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5d071e2386

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +2020 to +2023
Anchored on @strong{Night} and @strong{Tokyo Blue}, registered verbatim
from the upstream editor theme (@uref{https://github.com/enkia/tokyo-night-vscode-theme,enkia/tokyo-night-vscode-theme}).
@code{surface} is that project's documented @emph{Storm} background and
@code{surface-alt} its @emph{Night} @code{bg_dark} --- like MatrixGreen's

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Attribute Tokyo Night to the source of these values

The cited Enkia VS Code theme does not define the palette described here: its documented Night palette uses #A9B1D6 for foreground, #AD8EE6 for magenta, and #444B6A for comments, whereas fg = #C0CAF5, magenta = #BB9AF7, comment = #565F89, and the bg_dark identifier come from folke/tokyonight.nvim. Consequently, the new palette is not reproduced verbatim from the linked upstream, which gives consumers incorrect provenance; either cite the Neovim theme or change the values to Enkia's palette.

Useful? React with 👍 / 👎.

Comment on lines +2216 to +2218
Where an application offers one as a @emph{user-selectable} theme, a
conforming palette remains the default, and @code{steelbore-mono} (§11.1.1,
palette-independent) remains the accessible-mode path.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reconcile selectable fidelity themes with the WCAG rule

When a user selects either fidelity theme, the application immediately violates the supposedly unaffected §13 requirement that every color pairing meet WCAG AA—for example, Solarized Light body text is only 4.13:1 on the canvas and 3.64:1 on its surface. Keeping a conforming default or offering steelbore-mono does not make the currently selected UI compliant, so the standard simultaneously permits and forbids the same application behavior; define an explicit opt-in §13 exception or limit fidelity palettes to exported configurations rather than application themes.

Useful? React with 👍 / 👎.

@UnbreakableMJ
UnbreakableMJ merged commit f7a4e12 into main Jul 26, 2026
1 check passed
@UnbreakableMJ
UnbreakableMJ deleted the standard/tokyonight-solarized-v1.39 branch July 26, 2026 09:49
UnbreakableMJ added a commit to Spacecraft-Software/Construct that referenced this pull request Jul 26, 2026
…ames — v1.39 (#19)

Back-sync of Spacecraft-Software/Standard#18, plus the canonical data.

assets/steelbore.toml -> v3.1.0: 9 palettes, 17 themes.
  - tokyonight + tokyonight-high-contrast (§11.3.5), verbatim from the
    upstream editor theme; every role token clears 4.5:1 on all three
    backgrounds, so no Spacecraft-derived substitutes were needed.
  - solarized-dark + solarized-light (§11.5 fidelity palettes),
    reproduced exactly from ethanschoonover.com and carrying
    conformance = "non-conforming" plus an explicit below-3-to-1 list.
    Solarized defines one elevated tone per mode, so surface-alt shares
    surface. No high-contrast siblings: lifting would change the values
    they exist to reproduce.
  - reference = "<name>-color-palette" added to all nine palettes
    (§11.4.1). Slugs are unchanged, so no consumer breaks.
  - meta.fidelity-palettes added.

spacecraft-standard-constitution/SKILL.md: §11.3 table + §11.3.5,
§11.4 bullets, §11.4.1 reference-name table, §11.5 fidelity palettes;
masthead and frontmatter to v1.39 (description 955 chars).

steelbore-color-palette/SKILL.md: family table extended to nine, the
fidelity carve-out and reference names documented, TOML row updated to
17 themes; frontmatter description rewritten to 966 chars — the edit
had pushed it to 1059, over the 1024-character load limit.

Every contrast value was computed from the palette hexes, not
transcribed: 234 published ratios across 17 themes re-derived, zero
mismatches. Both skills' bundles rebuilt in the same commit.

reuse lint: compliant.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant