J3W1 / DESIGN SYSTEM
color.code.current-line
Current line background.
Source revision 1faefcf014c8bf01a6b27308ea796da968773a81
Find related usage · Specification anchor · Measured contrast report (default profile)
Report an issue with this token
color.code.current-line--color-code-current-linedefault · approved
Provenance and restrictions
nullDeclared component and port usage
| Consumer / kind | Part / variant | State / surface | Source declaration |
|---|---|---|---|
| code-editor · contrast | — | current · color.code.current-line | spec/components/code-editor.md:79 /contrast/2 |
| code-editor · contrast | — | focus-visible · color.code.current-line | spec/components/code-editor.md:77 /contrast/0 |
| code-editor · contrast | — | — · color.code.current-line | spec/components/code-editor.md:81 /contrast/4 |
| terminal · contrast | — | current · color.code.current-line | spec/components/terminal.md:74 /contrast/1 |
| Shared rule · contrast | — | — · color.code.current-line | spec/contrast.json:50 /pairs/46 |
| code-editor · part | line.bg-current | — | spec/components/code-editor.md:42 /tokens/line.bg-current |
| terminal · part | current.bg | — | spec/components/terminal.md:40 /tokens/current.bg |
| code-editor · state | bg | focus-visible · color.code.current-line | spec/components/code-editor.md:71 /stateTokens/focus-visible/bg |
| terminal · state | bg | current · color.code.current-line | spec/components/terminal.md:71 /stateTokens/current/bg |
Relevant contrast declarations
- bracket-match outline on the current line: color.code.bracket-match on color.code.current-line · spec/components/code-editor.md:79
/contrast/2 - caret on current line: color.code.caret on color.code.current-line · spec/contrast.json:50
/pairs/46 - caret on the current line: color.code.caret on color.code.current-line · spec/components/code-editor.md:77
/contrast/0 - active line number: color.code.line-number-active on color.code.current-line · spec/components/code-editor.md:81
/contrast/4 - code-editor focus-visible fg: color.code.syntax.variable on color.code.current-line · spec/components/code-editor.md:71
/stateTokens/focus-visible - code-editor focus-visible outline: color.interaction.focus.ring-container on color.code.current-line · spec/components/code-editor.md:71
/stateTokens/focus-visible - cursor on the cursor line: color.terminal.cursor on color.code.current-line · spec/components/terminal.md:74
/contrast/1 - terminal current fg: color.terminal.fg on color.code.current-line · spec/components/terminal.md:71
/stateTokens/current
heritage-ansi · heritage
Provenance and restrictions
nullDeclared component and port usage
| Consumer / kind | Part / variant | State / surface | Source declaration |
|---|---|---|---|
| code-editor · contrast | — | current · color.code.current-line | spec/components/code-editor.md:79 /contrast/2 |
| code-editor · contrast | — | focus-visible · color.code.current-line | spec/components/code-editor.md:77 /contrast/0 |
| code-editor · contrast | — | — · color.code.current-line | spec/components/code-editor.md:81 /contrast/4 |
| terminal · contrast | — | current · color.code.current-line | spec/components/terminal.md:74 /contrast/1 |
| Shared rule · contrast | — | — · color.code.current-line | spec/contrast.json:50 /pairs/46 |
| code-editor · part | line.bg-current | — | spec/components/code-editor.md:42 /tokens/line.bg-current |
| terminal · part | current.bg | — | spec/components/terminal.md:40 /tokens/current.bg |
| code-editor · state | bg | focus-visible · color.code.current-line | spec/components/code-editor.md:71 /stateTokens/focus-visible/bg |
| terminal · state | bg | current · color.code.current-line | spec/components/terminal.md:71 /stateTokens/current/bg |
Relevant contrast declarations
- bracket-match outline on the current line: color.code.bracket-match on color.code.current-line · spec/components/code-editor.md:79
/contrast/2 - caret on current line: color.code.caret on color.code.current-line · spec/contrast.json:50
/pairs/46 - caret on the current line: color.code.caret on color.code.current-line · spec/components/code-editor.md:77
/contrast/0 - active line number: color.code.line-number-active on color.code.current-line · spec/components/code-editor.md:81
/contrast/4 - code-editor focus-visible fg: color.code.syntax.variable on color.code.current-line · spec/components/code-editor.md:71
/stateTokens/focus-visible - code-editor focus-visible outline: color.interaction.focus.ring-container on color.code.current-line · spec/components/code-editor.md:71
/stateTokens/focus-visible - cursor on the cursor line: color.terminal.cursor on color.code.current-line · spec/components/terminal.md:74
/contrast/1 - terminal current fg: color.terminal.fg on color.code.current-line · spec/components/terminal.md:71
/stateTokens/current
extended · proposed
Provenance and restrictions
nullDeclared component and port usage
| Consumer / kind | Part / variant | State / surface | Source declaration |
|---|---|---|---|
| code-editor · contrast | — | current · color.code.current-line | spec/components/code-editor.md:79 /contrast/2 |
| code-editor · contrast | — | focus-visible · color.code.current-line | spec/components/code-editor.md:77 /contrast/0 |
| code-editor · contrast | — | — · color.code.current-line | spec/components/code-editor.md:81 /contrast/4 |
| terminal · contrast | — | current · color.code.current-line | spec/components/terminal.md:74 /contrast/1 |
| Shared rule · contrast | — | — · color.code.current-line | spec/contrast.json:50 /pairs/46 |
| code-editor · part | line.bg-current | — | spec/components/code-editor.md:42 /tokens/line.bg-current |
| terminal · part | current.bg | — | spec/components/terminal.md:40 /tokens/current.bg |
| code-editor · state | bg | focus-visible · color.code.current-line | spec/components/code-editor.md:71 /stateTokens/focus-visible/bg |
| terminal · state | bg | current · color.code.current-line | spec/components/terminal.md:71 /stateTokens/current/bg |
Relevant contrast declarations
- bracket-match outline on the current line: color.code.bracket-match on color.code.current-line · spec/components/code-editor.md:79
/contrast/2 - caret on current line: color.code.caret on color.code.current-line · spec/contrast.json:50
/pairs/46 - caret on the current line: color.code.caret on color.code.current-line · spec/components/code-editor.md:77
/contrast/0 - active line number: color.code.line-number-active on color.code.current-line · spec/components/code-editor.md:81
/contrast/4 - code-editor focus-visible fg: color.code.syntax.variable on color.code.current-line · spec/components/code-editor.md:71
/stateTokens/focus-visible - code-editor focus-visible outline: color.interaction.focus.ring-container on color.code.current-line · spec/components/code-editor.md:71
/stateTokens/focus-visible - cursor on the cursor line: color.terminal.cursor on color.code.current-line · spec/components/terminal.md:74
/contrast/1 - terminal current fg: color.terminal.fg on color.code.current-line · spec/components/terminal.md:71
/stateTokens/current