color.code.syntax.string
D-041 code.syntax.string: color.primitive.modern.green.
Source revision 9afef8564142e41458748895d16b4df161a67d66
Find related usageSpecification anchorMeasured contrast report (default profile)Report an issue with this token
color.code.syntax.string--color-code-syntax-stringdefault · approved
- Resolved value
#82d9a0- Status
- approved
- Consumption
- use — Use within the role's documented scope and restrictions.
- Decisions
- None pending.
- Source
- tokens/semantic.tokens.json:1115
/color/code/syntax/string - Alias chain
color.primitive.modern.green- Used by aliases
color.code.hued.string
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:94 /contrast/17 |
| code-editor · contrast | — | — · color.code.bg | spec/components/code-editor.md:83 /contrast/6 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:52 /pairs/48 |
| code-editor · part | syntax.string | — | spec/components/code-editor.md:53 /tokens/syntax.string |
obsidian · port--code-string | — | — | ports/obsidian/mapping.json:264 /mappings/color.code.syntax.string/0 |
telegram · portandroid:code_string | — | — | ports/telegram/mapping.json:1272 /mappings/color.code.syntax.string/0 |
orca · portapp.tokenColors.string.foreground | — | — | ports/orca/mapping.json:213 /mappings/color.code.syntax.string/0 |
Declared unmapped ports
- chatgpt: Code colours come from the chosen code theme, not from separate settings. · ports/chatgpt/mapping.json:113
/unmapped/color.code.syntax.string - 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:220
/unmapped/color.code.syntax.string - codex: The Codex theme opts in to the hued roles (D-030): color.code.hued.string carries this scope. · ports/codex/mapping.json:134
/unmapped/color.code.syntax.string - ghostty: Interface colour role; a terminal theme file carries terminal colours only. · ports/ghostty/mapping.json:148
/unmapped/color.code.syntax.string - warp: Interface colour role; a terminal theme file carries terminal colours only. · ports/warp/mapping.json:142
/unmapped/color.code.syntax.string - windows: Outside Windows visual adapter scope; preserve host semantics. · ports/windows/mapping.json:2408
/unmapped/color.code.syntax.string
Relevant contrast declarations
- string on code background: color.code.syntax.string on color.code.bg · spec/contrast.json:52
/pairs/48 - string: color.code.syntax.string on color.code.bg · spec/components/code-editor.md:83
/contrast/6 - muted string text inside the selection: color.code.syntax.string on color.code.selection-bg · spec/components/code-editor.md:94
/contrast/17
heritage-ansi · heritage
- Resolved value
#82d9a0- Status
- approved
- Consumption
- historical-only — Historical fidelity only; preserve all documented limitations and deprecations.
- Decisions
- None pending.
- Source
- tokens/semantic.tokens.json:1115
/color/code/syntax/string - Alias chain
color.primitive.modern.green- Used by aliases
color.code.hued.string
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:94 /contrast/17 |
| code-editor · contrast | — | — · color.code.bg | spec/components/code-editor.md:83 /contrast/6 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:52 /pairs/48 |
| code-editor · part | syntax.string | — | spec/components/code-editor.md:53 /tokens/syntax.string |
Relevant contrast declarations
- string on code background: color.code.syntax.string on color.code.bg · spec/contrast.json:52
/pairs/48 - string: color.code.syntax.string on color.code.bg · spec/components/code-editor.md:83
/contrast/6 - muted string text inside the selection: color.code.syntax.string on color.code.selection-bg · spec/components/code-editor.md:94
/contrast/17
extended · proposed
- Resolved value
#86a46f- Status
- proposed
- Consumption
- blocked — Proposed profile: preview only, not downstream delivery.
- Decisions
- D-001
- Source
- tokens/profiles/extended.tokens.json:13
/color/code/syntax/string - Alias chain
color.primitive.green.500- Used by aliases
color.code.hued.string
Provenance and restrictions
{
"status": "proposed",
"approval": {
"decision": "D-001"
}
}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:94 /contrast/17 |
| code-editor · contrast | — | — · color.code.bg | spec/components/code-editor.md:83 /contrast/6 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:52 /pairs/48 |
| code-editor · part | syntax.string | — | spec/components/code-editor.md:53 /tokens/syntax.string |
Relevant contrast declarations
- string on code background: color.code.syntax.string on color.code.bg · spec/contrast.json:52
/pairs/48 - string: color.code.syntax.string on color.code.bg · spec/components/code-editor.md:83
/contrast/6 - muted string text inside the selection: color.code.syntax.string on color.code.selection-bg · spec/components/code-editor.md:94
/contrast/17