J3W1 / DESIGN SYSTEM
color.code.line-number
Line numbers (5.10:1; replaces the site's #7d1310).
Source revision 1faefcf014c8bf01a6b27308ea796da968773a81
Find related usage · Specification anchor · Measured contrast report (default profile)
Report an issue with this token
color.code.line-number--color-code-line-numberdefault · approved
Provenance and restrictions
{
"status": "approved",
"approval": {
"decision": "D-003"
}
}Declared component and port usage
| Consumer / kind | Part / variant | State / surface | Source declaration |
|---|---|---|---|
| code-editor · contrast | — | — · color.code.gutter-bg | spec/components/code-editor.md:80 /contrast/3 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:49 /pairs/45 |
| code-editor · part | line-number.text | — | spec/components/code-editor.md:40 /tokens/line-number.text |
| diagnostics · part | code.line-number | — | spec/components/diagnostics.md:36 /tokens/code.line-number |
| diff-view · prose | — | — | spec/components/diff-view.md:131 body |
| code-editor · state | fg | read-only · color.surface.sunken | spec/components/code-editor.md:75 /stateTokens/read-only/fg |
Relevant contrast declarations
- line numbers on code background: color.code.line-number on color.code.bg · spec/contrast.json:49
/pairs/45 - line numbers in the gutter: color.code.line-number on color.code.gutter-bg · spec/components/code-editor.md:80
/contrast/3 - code-editor read-only fg: color.code.line-number on color.surface.sunken · spec/components/code-editor.md:75
/stateTokens/read-only
heritage-ansi · heritage
Provenance and restrictions
{
"status": "heritage"
}Declared component and port usage
| Consumer / kind | Part / variant | State / surface | Source declaration |
|---|---|---|---|
| code-editor · contrast | — | — · color.code.gutter-bg | spec/components/code-editor.md:80 /contrast/3 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:49 /pairs/45 |
| code-editor · part | line-number.text | — | spec/components/code-editor.md:40 /tokens/line-number.text |
| diagnostics · part | code.line-number | — | spec/components/diagnostics.md:36 /tokens/code.line-number |
| diff-view · prose | — | — | spec/components/diff-view.md:131 body |
| code-editor · state | fg | read-only · color.surface.sunken | spec/components/code-editor.md:75 /stateTokens/read-only/fg |
Relevant contrast declarations
- line numbers on code background: color.code.line-number on color.code.bg · spec/contrast.json:49
/pairs/45 - line numbers in the gutter: color.code.line-number on color.code.gutter-bg · spec/components/code-editor.md:80
/contrast/3 - code-editor read-only fg: color.code.line-number on color.surface.sunken · spec/components/code-editor.md:75
/stateTokens/read-only
extended · proposed
Provenance and restrictions
{
"status": "approved",
"approval": {
"decision": "D-003"
}
}Declared component and port usage
| Consumer / kind | Part / variant | State / surface | Source declaration |
|---|---|---|---|
| code-editor · contrast | — | — · color.code.gutter-bg | spec/components/code-editor.md:80 /contrast/3 |
| Shared rule · contrast | — | — · color.code.bg | spec/contrast.json:49 /pairs/45 |
| code-editor · part | line-number.text | — | spec/components/code-editor.md:40 /tokens/line-number.text |
| diagnostics · part | code.line-number | — | spec/components/diagnostics.md:36 /tokens/code.line-number |
| diff-view · prose | — | — | spec/components/diff-view.md:131 body |
| code-editor · state | fg | read-only · color.surface.sunken | spec/components/code-editor.md:75 /stateTokens/read-only/fg |
Relevant contrast declarations
- line numbers on code background: color.code.line-number on color.code.bg · spec/contrast.json:49
/pairs/45 - line numbers in the gutter: color.code.line-number on color.code.gutter-bg · spec/components/code-editor.md:80
/contrast/3 - code-editor read-only fg: color.code.line-number on color.surface.sunken · spec/components/code-editor.md:75
/stateTokens/read-only