color.code.syntax.keyword
D-041 code.syntax.keyword: color.primitive.modern.violet.
Source revision 9afef8564142e41458748895d16b4df161a67d66
Find related usageSpecification anchorMeasured contrast report (default profile)Report an issue with this token
color.code.syntax.keyword--color-code-syntax-keyworddefault · approved
- Resolved value
#c7a0e8- Status
- approved
- Consumption
- use — Use within the role's documented scope and restrictions.
- Decisions
- None pending.
- Source
- tokens/semantic.tokens.json:1103
/color/code/syntax/keyword - Alias chain
color.primitive.modern.violet- 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 · contrast | — | selected · color.code.selection-bg | spec/components/code-editor.md:95 /contrast/18 |
| code-editor · contrast | — | — · color.code.bg | spec/components/code-editor.md:82 /contrast/5 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:53 /pairs/49 |
| code-editor · part | syntax.keyword | — | spec/components/code-editor.md:52 /tokens/syntax.keyword |
obsidian · port--code-keyword | — | — | ports/obsidian/mapping.json:252 /mappings/color.code.syntax.keyword/0 |
telegram · portandroid:code_keyword | — | — | ports/telegram/mapping.json:1269 /mappings/color.code.syntax.keyword/0 |
orca · portapp.tokenColors.keyword.foreground | — | — | ports/orca/mapping.json:171 /mappings/color.code.syntax.keyword/0 |
codex · portKeyword.foreground | — | — | ports/codex/mapping.json:44 /mappings/color.code.syntax.keyword/0 |
Declared unmapped ports
- chatgpt: Code colours come from the chosen code theme, not from separate settings. · ports/chatgpt/mapping.json:108
/unmapped/color.code.syntax.keyword - 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:215
/unmapped/color.code.syntax.keyword - ghostty: Interface colour role; a terminal theme file carries terminal colours only. · ports/ghostty/mapping.json:143
/unmapped/color.code.syntax.keyword - warp: Interface colour role; a terminal theme file carries terminal colours only. · ports/warp/mapping.json:137
/unmapped/color.code.syntax.keyword - windows: Outside Windows visual adapter scope; preserve host semantics. · ports/windows/mapping.json:2407
/unmapped/color.code.syntax.keyword
Relevant contrast declarations
- keyword on code background: color.code.syntax.keyword on color.code.bg · spec/contrast.json:53
/pairs/49 - keyword: color.code.syntax.keyword on color.code.bg · spec/components/code-editor.md:82
/contrast/5 - keyword and tag text inside the selection (D-029): color.code.syntax.keyword on color.code.selection-bg · spec/components/code-editor.md:95
/contrast/18
heritage-ansi · heritage
- Resolved value
#f73f35- Status
- heritage
- Consumption
- historical-only — Historical fidelity only; preserve all documented limitations and deprecations.
- Decisions
- None pending.
- Source
- tokens/profiles/heritage-ansi.tokens.json:96
/color/code/syntax/keyword - Alias chain
color.primitive.red.850- 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 · contrast | — | selected · color.code.selection-bg | spec/components/code-editor.md:95 /contrast/18 |
| code-editor · contrast | — | — · color.code.bg | spec/components/code-editor.md:82 /contrast/5 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:53 /pairs/49 |
| code-editor · part | syntax.keyword | — | spec/components/code-editor.md:52 /tokens/syntax.keyword |
Relevant contrast declarations
- keyword on code background: color.code.syntax.keyword on color.code.bg · spec/contrast.json:53
/pairs/49 - keyword: color.code.syntax.keyword on color.code.bg · spec/components/code-editor.md:82
/contrast/5 - keyword and tag text inside the selection (D-029): color.code.syntax.keyword on color.code.selection-bg · spec/components/code-editor.md:95
/contrast/18
extended · proposed
- Resolved value
#c7a0e8- Status
- approved
- Consumption
- blocked — Proposed profile: preview only, not downstream delivery.
- Decisions
- None pending.
- Source
- tokens/semantic.tokens.json:1103
/color/code/syntax/keyword - Alias chain
color.primitive.modern.violet- 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 · contrast | — | selected · color.code.selection-bg | spec/components/code-editor.md:95 /contrast/18 |
| code-editor · contrast | — | — · color.code.bg | spec/components/code-editor.md:82 /contrast/5 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:53 /pairs/49 |
| code-editor · part | syntax.keyword | — | spec/components/code-editor.md:52 /tokens/syntax.keyword |
Relevant contrast declarations
- keyword on code background: color.code.syntax.keyword on color.code.bg · spec/contrast.json:53
/pairs/49 - keyword: color.code.syntax.keyword on color.code.bg · spec/components/code-editor.md:82
/contrast/5 - keyword and tag text inside the selection (D-029): color.code.syntax.keyword on color.code.selection-bg · spec/components/code-editor.md:95
/contrast/18