Update font size and weight variables for agents UI components#319935
Merged
Conversation
Co-authored-by: Copilot <copilot@github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors the Agents UI typography tokens to improve consistency by removing unused size/weight variables and updating CSS references to the remaining, clearer set of tokens.
Changes:
- Removes the
agents.fontSize.label4andagents.fontWeight.mediumtokens, consolidating “badge” sizing intolabel3and weights intoregular/semiBold. - Updates AI Customization and Sessions UI CSS to use
--vscode-agents-fontWeight-semiBoldand the updated label size tokens. - Updates the stylelint known-variable allowlist to match the new token set.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationWelcomePromptLaunchers.css | Switches welcome prompt section label weight token from medium → semibold. |
| src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css | Updates various labels/counts to semibold and replaces label4 usages with label3 (badge sizing). |
| src/vs/sessions/contrib/sessions/browser/media/sessionsList.css | Adjusts label sizing and weight tokens to align with the updated font ramp (avoids now-smaller label3 where 11px is desired). |
| src/vs/sessions/common/sizes.ts | Removes label4 and fontWeight.medium, clarifies “strong” variants as size+semibold, and updates token docs/localization strings accordingly. |
| build/lib/stylelint/vscode-known-variables.json | Removes the deleted CSS variables from the stylelint known-variable list. |
benvillalobos
approved these changes
Jun 4, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Refactor font size and weight variables for agents UI components to improve consistency and clarity in the design. Adjustments include removing unused variables and updating references in CSS files.