color.code.syntax.constant
D-041 code.syntax.constant: color.primitive.modern.amber.
Source revision 9afef8564142e41458748895d16b4df161a67d66
Find related usageSpecification anchorMeasured contrast report (default profile)Report an issue with this token
color.code.syntax.constant--color-code-syntax-constantdefault · approved
- Resolved value
#e5c07b- Status
- approved
- Consumption
- use — Use within the role's documented scope and restrictions.
- Decisions
- None pending.
- Source
- tokens/semantic.tokens.json:1151
/color/code/syntax/constant - Alias chain
color.primitive.modern.amber- Used by aliases
color.code.hued.constant
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.constant | — | spec/components/code-editor.md:56 /tokens/syntax.constant |
telegram · portandroid:code_constant | — | — | ports/telegram/mapping.json:1278 /mappings/color.code.syntax.constant/0 |
orca · portapp.tokenColors.constant.foreground | — | — | ports/orca/mapping.json:219 /mappings/color.code.syntax.constant/0 |
Declared unmapped ports
- chatgpt: Code colours come from the chosen code theme, not from separate settings. · ports/chatgpt/mapping.json:102
/unmapped/color.code.syntax.constant - 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:209
/unmapped/color.code.syntax.constant - codex: The Codex theme opts in to the hued roles (D-030): color.code.hued.constant carries this scope. · ports/codex/mapping.json:128
/unmapped/color.code.syntax.constant - ghostty: Interface colour role; a terminal theme file carries terminal colours only. · ports/ghostty/mapping.json:137
/unmapped/color.code.syntax.constant - obsidian: Native --code-tag/--code-value conflate constants with tags/values; tag and number own those keys. · ports/obsidian/mapping.json:577
/unmapped/color.code.syntax.constant - warp: Interface colour role; a terminal theme file carries terminal colours only. · ports/warp/mapping.json:131
/unmapped/color.code.syntax.constant - windows: Outside Windows visual adapter scope; preserve host semantics. · ports/windows/mapping.json:2411
/unmapped/color.code.syntax.constant
Relevant contrast declarations
No contrast pair is declared for this role.
heritage-ansi · heritage
- Resolved value
#e5c07b- Status
- approved
- Consumption
- historical-only — Historical fidelity only; preserve all documented limitations and deprecations.
- Decisions
- None pending.
- Source
- tokens/semantic.tokens.json:1151
/color/code/syntax/constant - Alias chain
color.primitive.modern.amber- Used by aliases
color.code.hued.constant
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.constant | — | spec/components/code-editor.md:56 /tokens/syntax.constant |
Relevant contrast declarations
No contrast pair is declared for this role.
extended · proposed
- Resolved value
#c9973f- Status
- proposed
- Consumption
- blocked — Proposed profile: preview only, not downstream delivery.
- Decisions
- D-001
- Source
- tokens/profiles/extended.tokens.json:37
/color/code/syntax/constant - Alias chain
color.primitive.amber.500- Used by aliases
color.code.hued.constant
Provenance and restrictions
{
"status": "proposed",
"approval": {
"decision": "D-001"
}
}Declared component and port usage
| Consumer / kind | Part / variant | State / surface | Source declaration |
|---|---|---|---|
| code-editor · part | syntax.constant | — | spec/components/code-editor.md:56 /tokens/syntax.constant |
Relevant contrast declarations
No contrast pair is declared for this role.