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.line-number

D-041 owner correction: rose is the default UI and reading foreground; near-white is reserved for document headings, highlights and contrast-critical fills.

Source revision 9afef8564142e41458748895d16b4df161a67d66

color.code.line-number--color-code-line-number

default · approved

Resolved value
#bd787d
Status
approved
Consumption
use — Use within the role's documented scope and restrictions.
Decisions
None pending.
Source
tokens/semantic.tokens.json:1002 /color/code/line-number
Used by aliases
No declared aliases depend on this role.

Provenance and restrictions

{
  "status": "approved",
  "approval": {
    "decision": "D-041"
  }
}

Declared component and port usage

Consumer / kindPart / variantState / surfaceSource declaration
code-editor · contrast—— · color.code.gutter-bgspec/components/code-editor.md:80 /contrast/3
Shared rule · contrast—— · color.code.bgspec/contrast.json:49 /pairs/45
code-editor · partline-number.text—spec/components/code-editor.md:40 /tokens/line-number.text
diagnostics · partcode.line-number—spec/components/diagnostics.md:36 /tokens/code.line-number
diff-view · prose——spec/components/diff-view.md:131 body
code-editor · statefgread-only · color.surface.sunkenspec/components/code-editor.md:75 /stateTokens/read-only/fg

Declared unmapped ports

  • chatgpt: Code colours come from the chosen code theme, not from separate settings. · ports/chatgpt/mapping.json:94 /unmapped/color.code.line-number
  • claude-code: Claude Code draws code in fixed ANSI slots on the terminal background; its theme has no key for this role. · ports/claude-code/mapping.json:202 /unmapped/color.code.line-number
  • codex: The file carries it as globals.gutterForeground; Codex paints no line numbers from a tmTheme and keeps the terminal background. · ports/codex/mapping.json:121 /unmapped/color.code.line-number
  • ghostty: Interface colour role; a terminal theme file carries terminal colours only. · ports/ghostty/mapping.json:129 /unmapped/color.code.line-number
  • obsidian: Native CM6 line numbers inherit text variables; their source selector is not replaced with an independent line-number role. · ports/obsidian/mapping.json:570 /unmapped/color.code.line-number
  • 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:347 /unmapped/color.code.line-number
  • telegram: color.code.line-number has no separate native hook in this projection; related controls share the declared canonical role instead. · ports/telegram/mapping.json:1442 /unmapped/color.code.line-number
  • warp: Interface colour role; a terminal theme file carries terminal colours only. · ports/warp/mapping.json:123 /unmapped/color.code.line-number
  • windows: Outside Windows visual adapter scope; preserve host semantics. · ports/windows/mapping.json:2397 /unmapped/color.code.line-number

Relevant contrast declarations

heritage-ansi · heritage

Resolved value
#7d1310
Status
heritage · deprecated: fails 4.5:1 (1.86); historical fidelity only
Consumption
historical-only — Historical fidelity only; preserve all documented limitations and deprecations.
Decisions
None pending.
Source
tokens/profiles/heritage-ansi.tokens.json:38 /color/code/line-number
Used by aliases
No declared aliases depend on this role.

Provenance and restrictions

{
  "status": "heritage"
}

Declared component and port usage

Consumer / kindPart / variantState / surfaceSource declaration
code-editor · contrast—— · color.code.gutter-bgspec/components/code-editor.md:80 /contrast/3
Shared rule · contrast—— · color.code.bgspec/contrast.json:49 /pairs/45
code-editor · partline-number.text—spec/components/code-editor.md:40 /tokens/line-number.text
diagnostics · partcode.line-number—spec/components/diagnostics.md:36 /tokens/code.line-number
diff-view · prose——spec/components/diff-view.md:131 body
code-editor · statefgread-only · color.surface.sunkenspec/components/code-editor.md:75 /stateTokens/read-only/fg

Relevant contrast declarations

extended · proposed

Resolved value
#bd787d
Status
approved
Consumption
blocked — Proposed profile: preview only, not downstream delivery.
Decisions
None pending.
Source
tokens/semantic.tokens.json:1002 /color/code/line-number
Used by aliases
No declared aliases depend on this role.

Provenance and restrictions

{
  "status": "approved",
  "approval": {
    "decision": "D-041"
  }
}

Declared component and port usage

Consumer / kindPart / variantState / surfaceSource declaration
code-editor · contrast—— · color.code.gutter-bgspec/components/code-editor.md:80 /contrast/3
Shared rule · contrast—— · color.code.bgspec/contrast.json:49 /pairs/45
code-editor · partline-number.text—spec/components/code-editor.md:40 /tokens/line-number.text
diagnostics · partcode.line-number—spec/components/diagnostics.md:36 /tokens/code.line-number
diff-view · prose——spec/components/diff-view.md:131 body
code-editor · statefgread-only · color.surface.sunkenspec/components/code-editor.md:75 /stateTokens/read-only/fg

Relevant contrast declarations