You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 586fa90
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: services/site/src/docs/content/cli/theme.mdx
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,8 +175,8 @@ Semantic tokens assign colors to UI roles. Components use these roles instead of
175
175
176
176
| Group | Purpose |
177
177
| --- | --- |
178
-
|`text`| Base, muted, faint, action, form-field, and feedback text. `faint` defaults to `muted`. |
179
-
|`background`| Base, raised surfaces, actions, form fields, and feedback fills. |
178
+
|`text`| Base, muted, faint, selection, action, form-field, and feedback text. `faint` defaults to `muted`. |
179
+
|`background`| Base, selection, raised surfaces, actions, form fields, and feedback fills. |
180
180
|`border`, `scrollbar`| Border and scrollbar colors. |
181
181
|`diff`| Added, removed, context, highlight, and line-number colors. |
182
182
|`syntax`| Source-code highlighting. |
@@ -201,6 +201,8 @@ For example, `text.muted` controls secondary text while `background.raised` defi
201
201
}
202
202
```
203
203
204
+
`text.selection` and `background.selection` color text you select with the mouse or keyboard. They default to the focused primary action, `text.action.primary.$focused` on `background.action.primary.$focused`.
205
+
204
206
Syntax keys are `comment`, `keyword`, `function`, `variable`, `string`, `number`, `type`, `operator`, and `punctuation`.
205
207
206
208
Markdown keys are `text`, `heading`, `link`, `linkText`, `code`, `blockQuote`, `emphasis`, `strong`, `horizontalRule`, `listItem`, `listEnumeration`, `image`, `imageText`, and `codeBlock`.
0 commit comments