color.code.syntax.variable
D-041 rose coding text reduces glare while syntax hues distinguish meaning.
Source revision 9afef8564142e41458748895d16b4df161a67d66
Find related usageSpecification anchorMeasured contrast report (default profile)Report an issue with this token
color.code.syntax.variable--color-code-syntax-variabledefault · approved
- Resolved value
#e99499- Status
- approved
- Consumption
- use — Use within the role's documented scope and restrictions.
- Decisions
- None pending.
- Source
- tokens/semantic.tokens.json:1175
/color/code/syntax/variable - Alias chain
color.primitive.rose.700- 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 / kind | Part / variant | State / surface | Source declaration |
|---|---|---|---|
| code-editor · part | syntax.variable | — | spec/components/code-editor.md:58 /tokens/syntax.variable |
obsidian · port--code-normal | — | — | ports/obsidian/mapping.json:240 /mappings/color.code.syntax.variable/0 |
orca · portapp.tokenColors.variable.foreground | — | — | ports/orca/mapping.json:174 /mappings/color.code.syntax.variable/0 |
codex · portglobals.foreground | — | — | ports/codex/mapping.json:54 /mappings/color.code.syntax.variable/1 |
codex · portVariable.foreground | — | — | ports/codex/mapping.json:53 /mappings/color.code.syntax.variable/0 |
| code-editor · state | fg | current · color.code.bg | spec/components/code-editor.md:74 /stateTokens/current/fg |
| code-editor · state | fg | default · color.code.bg | spec/components/code-editor.md:70 /stateTokens/default/fg |
| code-editor · state | fg | focus-visible · color.code.current-line | spec/components/code-editor.md:71 /stateTokens/focus-visible/fg |
| code-editor · state | fg | selected · color.code.selection-bg | spec/components/code-editor.md:72 /stateTokens/selected/fg |
Declared unmapped ports
- chatgpt: Code colours come from the chosen code theme, not from separate settings. · ports/chatgpt/mapping.json:116
/unmapped/color.code.syntax.variable - 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:223
/unmapped/color.code.syntax.variable - ghostty: Interface colour role; a terminal theme file carries terminal colours only. · ports/ghostty/mapping.json:151
/unmapped/color.code.syntax.variable - telegram: color.code.syntax.variable has no separate native hook in this projection; related controls share the declared canonical role instead. · ports/telegram/mapping.json:1453
/unmapped/color.code.syntax.variable - warp: Interface colour role; a terminal theme file carries terminal colours only. · ports/warp/mapping.json:145
/unmapped/color.code.syntax.variable - windows: Outside Windows visual adapter scope; preserve host semantics. · ports/windows/mapping.json:2413
/unmapped/color.code.syntax.variable
Relevant contrast declarations
- code-editor current fg: color.code.syntax.variable on color.code.bg · spec/components/code-editor.md:74
/stateTokens/current - code-editor default fg: color.code.syntax.variable on color.code.bg · spec/components/code-editor.md:70
/stateTokens/default - code-editor focus-visible fg: color.code.syntax.variable on color.code.current-line · spec/components/code-editor.md:71
/stateTokens/focus-visible - code-editor selected fg: color.code.syntax.variable on color.code.selection-bg · spec/components/code-editor.md:72
/stateTokens/selected
heritage-ansi · heritage
- Resolved value
#ab1612- Status
- heritage · deprecated: fails 4.5:1 (2.70); 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:59
/color/code/syntax/variable - Alias chain
color.primitive.red.450- Used by aliases
- No declared aliases depend on this role.
Provenance and restrictions
{
"status": "heritage"
}Declared component and port usage
| Consumer / kind | Part / variant | State / surface | Source declaration |
|---|---|---|---|
| code-editor · part | syntax.variable | — | spec/components/code-editor.md:58 /tokens/syntax.variable |
| code-editor · state | fg | current · color.code.bg | spec/components/code-editor.md:74 /stateTokens/current/fg |
| code-editor · state | fg | default · color.code.bg | spec/components/code-editor.md:70 /stateTokens/default/fg |
| code-editor · state | fg | focus-visible · color.code.current-line | spec/components/code-editor.md:71 /stateTokens/focus-visible/fg |
| code-editor · state | fg | selected · color.code.selection-bg | spec/components/code-editor.md:72 /stateTokens/selected/fg |
Relevant contrast declarations
- code-editor current fg: color.code.syntax.variable on color.code.bg · spec/components/code-editor.md:74
/stateTokens/current - code-editor default fg: color.code.syntax.variable on color.code.bg · spec/components/code-editor.md:70
/stateTokens/default - code-editor focus-visible fg: color.code.syntax.variable on color.code.current-line · spec/components/code-editor.md:71
/stateTokens/focus-visible - code-editor selected fg: color.code.syntax.variable on color.code.selection-bg · spec/components/code-editor.md:72
/stateTokens/selected
extended · proposed
- Resolved value
#e99499- Status
- approved
- Consumption
- blocked — Proposed profile: preview only, not downstream delivery.
- Decisions
- None pending.
- Source
- tokens/semantic.tokens.json:1175
/color/code/syntax/variable - Alias chain
color.primitive.rose.700- 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 / kind | Part / variant | State / surface | Source declaration |
|---|---|---|---|
| code-editor · part | syntax.variable | — | spec/components/code-editor.md:58 /tokens/syntax.variable |
| code-editor · state | fg | current · color.code.bg | spec/components/code-editor.md:74 /stateTokens/current/fg |
| code-editor · state | fg | default · color.code.bg | spec/components/code-editor.md:70 /stateTokens/default/fg |
| code-editor · state | fg | focus-visible · color.code.current-line | spec/components/code-editor.md:71 /stateTokens/focus-visible/fg |
| code-editor · state | fg | selected · color.code.selection-bg | spec/components/code-editor.md:72 /stateTokens/selected/fg |
Relevant contrast declarations
- code-editor current fg: color.code.syntax.variable on color.code.bg · spec/components/code-editor.md:74
/stateTokens/current - code-editor default fg: color.code.syntax.variable on color.code.bg · spec/components/code-editor.md:70
/stateTokens/default - code-editor focus-visible fg: color.code.syntax.variable on color.code.current-line · spec/components/code-editor.md:71
/stateTokens/focus-visible - code-editor selected fg: color.code.syntax.variable on color.code.selection-bg · spec/components/code-editor.md:72
/stateTokens/selected