j3w1 / theme

j3w1 / theme4.0.0

j3w1 / command

  • SPEC Overview
  • SPEC Foundations
  • SPEC Components
  • SPEC Patterns
  • SPEC Tokens
  • SPEC Tools
  • SPEC Workbench
  • SPEC Form builder
  • SPEC Task kit
  • SPEC Recipes
  • SPEC Figma bridge
  • SPEC Report an issue
  • SPEC Implement
  • SPEC For agents
  • SPEC Ports
  • SPEC Releases
  • SPEC Specification
  • DEMO Vue application demo

color.code.selection-bg

Editor selection background (muted text stays 4.71:1).

Source revision 9afef8564142e41458748895d16b4df161a67d66

color.code.selection-bg--color-code-selection-bg

default · approved

Resolved value
#420f0c
Status
observed
Consumption
use — Use within the role's documented scope and restrictions.
Decisions
None pending.
Source
tokens/semantic.tokens.json:1050 /color/code/selection-bg
Used by aliases
No declared aliases depend on this role.

Provenance and restrictions

null

Declared component and port usage

Consumer / kindPart / variantState / surfaceSource declaration
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:92 /contrast/15
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:93 /contrast/16
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:94 /contrast/17
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:95 /contrast/18
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:96 /contrast/19
diagnostics · contrast—selected · color.code.selection-bgspec/components/diagnostics.md:78 /contrast/5
Shared rule · contrast—— · color.code.selection-bgspec/contrast.json:55 /pairs/51
code-editor · partselection.bg—spec/components/code-editor.md:44 /tokens/selection.bg
diagnostics · partcode.selection-bg—spec/components/diagnostics.md:38 /tokens/code.selection-bg
obsidian · port.theme-dark .markdown-source-view.mod-cm6 .cm-scroller | --text-selection——ports/obsidian/mapping.json:335 /mappings/color.code.selection-bg/0
claude-code · portselectionBg——ports/claude-code/mapping.json:15 /mappings/color.code.selection-bg/0
windows · portterminal.selection——ports/windows/mapping.json:295 /mappings/color.code.selection-bg/0
code-editor · statebgselected · color.code.selection-bgspec/components/code-editor.md:72 /stateTokens/selected/bg

Declared unmapped ports

  • chatgpt: Code colours come from the chosen code theme, not from separate settings. · ports/chatgpt/mapping.json:99 /unmapped/color.code.selection-bg
  • codex: The file carries it as globals.selection; Codex paints no selection from a tmTheme and keeps the terminal background. · ports/codex/mapping.json:126 /unmapped/color.code.selection-bg
  • ghostty: Interface colour role; a terminal theme file carries terminal colours only. · ports/ghostty/mapping.json:134 /unmapped/color.code.selection-bg
  • orca: No separately mapped public Orca theme key for this role; the host derives or retains this state. The app plugin maps supported chrome and editor keys independently of terminal colours. · ports/orca/mapping.json:352 /unmapped/color.code.selection-bg
  • telegram: color.code.selection-bg has no separate native hook in this projection; related controls share the declared canonical role instead. · ports/telegram/mapping.json:1446 /unmapped/color.code.selection-bg
  • warp: Interface colour role; a terminal theme file carries terminal colours only. · ports/warp/mapping.json:128 /unmapped/color.code.selection-bg

Relevant contrast declarations

heritage-ansi · heritage

Resolved value
#420f0c
Status
observed
Consumption
historical-only — Historical fidelity only; preserve all documented limitations and deprecations.
Decisions
None pending.
Source
tokens/semantic.tokens.json:1050 /color/code/selection-bg
Used by aliases
No declared aliases depend on this role.

Provenance and restrictions

null

Declared component and port usage

Consumer / kindPart / variantState / surfaceSource declaration
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:92 /contrast/15
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:93 /contrast/16
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:94 /contrast/17
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:95 /contrast/18
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:96 /contrast/19
diagnostics · contrast—selected · color.code.selection-bgspec/components/diagnostics.md:78 /contrast/5
Shared rule · contrast—— · color.code.selection-bgspec/contrast.json:55 /pairs/51
code-editor · partselection.bg—spec/components/code-editor.md:44 /tokens/selection.bg
diagnostics · partcode.selection-bg—spec/components/diagnostics.md:38 /tokens/code.selection-bg
code-editor · statebgselected · color.code.selection-bgspec/components/code-editor.md:72 /stateTokens/selected/bg

Relevant contrast declarations

extended · proposed

Resolved value
#420f0c
Status
observed
Consumption
blocked — Proposed profile: preview only, not downstream delivery.
Decisions
None pending.
Source
tokens/semantic.tokens.json:1050 /color/code/selection-bg
Used by aliases
No declared aliases depend on this role.

Provenance and restrictions

null

Declared component and port usage

Consumer / kindPart / variantState / surfaceSource declaration
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:92 /contrast/15
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:93 /contrast/16
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:94 /contrast/17
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:95 /contrast/18
code-editor · contrast—selected · color.code.selection-bgspec/components/code-editor.md:96 /contrast/19
diagnostics · contrast—selected · color.code.selection-bgspec/components/diagnostics.md:78 /contrast/5
Shared rule · contrast—— · color.code.selection-bgspec/contrast.json:55 /pairs/51
code-editor · partselection.bg—spec/components/code-editor.md:44 /tokens/selection.bg
diagnostics · partcode.selection-bg—spec/components/diagnostics.md:38 /tokens/code.selection-bg
code-editor · statebgselected · color.code.selection-bgspec/components/code-editor.md:72 /stateTokens/selected/bg

Relevant contrast declarations