color.code.syntax.comment
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
Find related usageSpecification anchorMeasured contrast report (default profile)Report an issue with this token
color.code.syntax.comment--color-code-syntax-commentdefault · 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:1127
/color/code/syntax/comment - Alias chain
color.text.subtlecolor.primitive.rose.600- 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:92 /contrast/15 |
| code-editor · contrast | — | — · color.code.bg | spec/components/code-editor.md:84 /contrast/7 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:51 /pairs/47 |
| code-editor · part | syntax.comment | — | spec/components/code-editor.md:54 /tokens/syntax.comment |
obsidian · port--code-comment | — | — | ports/obsidian/mapping.json:243 /mappings/color.code.syntax.comment/0 |
telegram · portandroid:code_comment | — | — | ports/telegram/mapping.json:1287 /mappings/color.code.syntax.comment/0 |
orca · portapp.tokenColors.comment.foreground | — | — | ports/orca/mapping.json:168 /mappings/color.code.syntax.comment/0 |
codex · portComment.foreground | — | — | ports/codex/mapping.json:32 /mappings/color.code.syntax.comment/0 |
Declared unmapped ports
- chatgpt: Code colours come from the chosen code theme, not from separate settings. · ports/chatgpt/mapping.json:101
/unmapped/color.code.syntax.comment - 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:208
/unmapped/color.code.syntax.comment - ghostty: Interface colour role; a terminal theme file carries terminal colours only. · ports/ghostty/mapping.json:136
/unmapped/color.code.syntax.comment - warp: Interface colour role; a terminal theme file carries terminal colours only. · ports/warp/mapping.json:130
/unmapped/color.code.syntax.comment - windows: Outside Windows visual adapter scope; preserve host semantics. · ports/windows/mapping.json:2409
/unmapped/color.code.syntax.comment
Relevant contrast declarations
- comment on code background: color.code.syntax.comment on color.code.bg · spec/contrast.json:51
/pairs/47 - comment: color.code.syntax.comment on color.code.bg · spec/components/code-editor.md:84
/contrast/7 - comment syntax inside the selection: color.code.syntax.comment on color.code.selection-bg · spec/components/code-editor.md:92
/contrast/15
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:49
/color/code/syntax/comment - Alias chain
color.primitive.red.200- 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:92 /contrast/15 |
| code-editor · contrast | — | — · color.code.bg | spec/components/code-editor.md:84 /contrast/7 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:51 /pairs/47 |
| code-editor · part | syntax.comment | — | spec/components/code-editor.md:54 /tokens/syntax.comment |
Relevant contrast declarations
- comment on code background: color.code.syntax.comment on color.code.bg · spec/contrast.json:51
/pairs/47 - comment: color.code.syntax.comment on color.code.bg · spec/components/code-editor.md:84
/contrast/7 - comment syntax inside the selection: color.code.syntax.comment on color.code.selection-bg · spec/components/code-editor.md:92
/contrast/15
extended · proposed
- Resolved value
#bd787d- Status
- approved
- Consumption
- blocked — Proposed profile: preview only, not downstream delivery.
- Decisions
- None pending.
- Source
- tokens/semantic.tokens.json:1127
/color/code/syntax/comment - Alias chain
color.text.subtlecolor.primitive.rose.600- 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:92 /contrast/15 |
| code-editor · contrast | — | — · color.code.bg | spec/components/code-editor.md:84 /contrast/7 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:51 /pairs/47 |
| code-editor · part | syntax.comment | — | spec/components/code-editor.md:54 /tokens/syntax.comment |
Relevant contrast declarations
- comment on code background: color.code.syntax.comment on color.code.bg · spec/contrast.json:51
/pairs/47 - comment: color.code.syntax.comment on color.code.bg · spec/components/code-editor.md:84
/contrast/7 - comment syntax inside the selection: color.code.syntax.comment on color.code.selection-bg · spec/components/code-editor.md:92
/contrast/15