Repository navigation
Adopt design tokens for font sizes and weights - #321124
Merged
Lee Murray (mrleemurray) merged 5 commits intoJun 12, 2026
Merged
Conversation
…s various CSS files
…ck and host picker styles
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: Benjamin Christopher Simmonds (@benibenj)Matched files:
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Agents window (sessions layer) UI styling to align with the design-system font ramp (size/weight tokens) and related sizing tokens, improving consistency across widgets, lists, and mobile chrome.
Changes:
- Replaces hard-coded
font-size/font-weightvalues with--vscode-agents-fontSize-*and--vscode-agents-fontWeight-*tokens across multiple components. - Aligns several small UI measurements to the design-system scales (e.g. 3→4px, 5→6px), and adopts tokens like
--vscode-strokeThickness,--vscode-cornerRadius-*, and--vscode-codiconFontSize*in a few places. - Normalizes compact icon sizing in several badges/action areas.
Reviewed changes
Copilot reviewed 28 out of 28 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/vs/sessions/contrib/tunnelHost/electron-browser/media/tunnelHost.css | Uses agents font token for compact label sizing in tunnel host UI. |
| src/vs/sessions/contrib/sessions/browser/media/sessionsViewPane.css | Updates session list header/keybinding pill styling to font/stroke tokens and on-scale spacing. |
| src/vs/sessions/contrib/sessions/browser/media/sessionsTitleBarWidget.css | Adjusts badge padding to an on-scale value. |
| src/vs/sessions/contrib/sessions/browser/media/customizationsToolbar.css | Applies agents font size/weight tokens to customizations toolbar counts/labels. |
| src/vs/sessions/contrib/providers/remoteAgentHost/browser/media/hostPickerSheet.css | Replaces 500 weights with agents semibold token in host picker sheet UI. |
| src/vs/sessions/contrib/providers/remoteAgentHost/browser/media/hostFilter.css | Adopts codicon and agents font tokens for host filter button icon/text sizing. |
| src/vs/sessions/contrib/policyBlocked/browser/media/sessionsPolicyBlocked.css | Moves policy-blocked card text to agents font size/weight tokens. |
| src/vs/sessions/contrib/files/browser/media/filesView.css | Uses agents label font token for empty-state text. |
| src/vs/sessions/contrib/chat/browser/media/runScriptAction.css | Adopts font/stroke/radius tokens and on-scale spacing for run-script modal UI. |
| src/vs/sessions/contrib/chat/browser/media/noAgentHostEmptyState.css | Updates empty-state title/description/code font sizing to agents tokens. |
| src/vs/sessions/contrib/changes/browser/media/checksWidget.css | Snaps padding and header font size to agents tokens. |
| src/vs/sessions/contrib/changes/browser/media/changesViewActions.css | Snaps layout gap to an on-scale spacing value. |
| src/vs/sessions/contrib/changes/browser/media/changesView.css | Converts multiple list/badge/action UI font sizes/weights and codicon sizing to tokens and scales. |
| src/vs/sessions/contrib/aquarium/browser/media/aquarium.css | Uses stroke thickness and codicon sizing tokens for the aquarium toggle. |
| src/vs/sessions/contrib/aiCustomizationTreeView/browser/media/aiCustomizationTreeView.css | Updates section headers to agents font size/weight tokens. |
| src/vs/sessions/contrib/agentFeedback/browser/media/agentFeedbackEditorWidget.css | Adopts agents font tokens (and some radius/spacing tweaks) for the feedback widget. |
| src/vs/sessions/contrib/agentFeedback/browser/media/agentFeedbackEditorOverlay.css | Uses agents font token for overlay action labels. |
| src/vs/sessions/contrib/agentFeedback/browser/media/agentFeedbackEditorInput.css | Uses agents body font token for feedback input sizing. |
| src/vs/sessions/contrib/agentFeedback/browser/media/agentFeedbackAttachment.css | Uses agents label font token for attachment hover text. |
| src/vs/sessions/contrib/accountMenu/browser/media/accountWidget.css | Converts tooltip/title text sizing/weights to agents tokens. |
| src/vs/sessions/contrib/accountMenu/browser/media/accountTitleBarWidget.css | Uses codicon size token and snaps various paddings/gaps to scale. |
| src/vs/sessions/browser/parts/mobile/mobileChatShell.css | Updates mobile shell icon/pill/title weights/sizes to agents tokens. |
| src/vs/sessions/browser/parts/media/projectBarPart.css | Adopts stroke thickness and agents font tokens for workspace/profile UI. |
| src/vs/sessions/browser/parts/media/panelPart.css | Converts panel tab label font size/weight to agents tokens. |
| src/vs/sessions/browser/parts/media/chatCompositeBar.css | Snaps radii/padding/gaps to design tokens/on-scale values in the chat composite bar. |
| src/vs/sessions/browser/parts/media/auxiliaryBarPart.css | Converts auxiliary bar tab label font size/weight to agents tokens. |
| src/vs/sessions/browser/media/style.css | Adopts agents font tokens and stroke thickness for key workbench shell styles. |
| src/vs/sessions/browser/media/sidebarActionButton.css | Uses agents font token for sidebar action button sizing. |
Comment on lines
173
to
176
| .ai-customization-toolbar .source-count-icon { | ||
| font-size: 12px; | ||
| font-size: var(--vscode-agents-fontSize-label2, 12px); | ||
| opacity: 0.6; | ||
| } |
| @@ -12,7 +12,7 @@ | |||
| border: 1px solid var(--vscode-editorWidget-border, var(--vscode-contrastBorder)); | |||
| @@ -63,7 +63,7 @@ | |||
| background: color-mix(in srgb, var(--vscode-foreground) 10%, transparent); | |||
| border: 1px solid color-mix(in srgb, var(--vscode-foreground) 12%, transparent); | |||
Contributor
Screenshot ChangesBase: Changed (88) |
Benjamin Christopher Simmonds (benibenj)
approved these changes
Jun 12, 2026
Lee Murray (mrleemurray)
deleted the
mrleemurray/adopt-design-tokens-part-1
branch
June 12, 2026 13:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement design tokens for font sizes and weights across various styles, enhancing consistency in the UI. Update styles in agent feedback and host picker components to utilize these tokens.