Skip to content

Update font size and weight variables for agents UI components#319935

Merged
mrleemurray merged 1 commit into
mainfrom
mrleemurray/urban-blush-lion
Jun 4, 2026
Merged

Update font size and weight variables for agents UI components#319935
mrleemurray merged 1 commit into
mainfrom
mrleemurray/urban-blush-lion

Conversation

@mrleemurray
Copy link
Copy Markdown
Contributor

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.

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings June 4, 2026 14:41
@mrleemurray mrleemurray enabled auto-merge (squash) June 4, 2026 14:41
@mrleemurray mrleemurray self-assigned this Jun 4, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.label4 and agents.fontWeight.medium tokens, consolidating “badge” sizing into label3 and weights into regular/semiBold.
  • Updates AI Customization and Sessions UI CSS to use --vscode-agents-fontWeight-semiBold and 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.

@mrleemurray mrleemurray merged commit 4d9b774 into main Jun 4, 2026
26 checks passed
@mrleemurray mrleemurray deleted the mrleemurray/urban-blush-lion branch June 4, 2026 16:24
@vs-code-engineering vs-code-engineering Bot added this to the 1.124.0 milestone Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants