-
Notifications
You must be signed in to change notification settings - Fork 36.9k
Add text preformat border high contrast color #283784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @rzhao271Matched files:
@alexr00Matched files:
@joaomorenoMatched files:
|
There was a problem hiding this 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 introduces a new theme color textPreformat.border to enhance the visibility of inline code elements (preformatted text) in high contrast themes. The border is applied consistently across various UI components including chat interfaces, settings editor, release notes, notebook chat, webviews, and walkthrough pages.
Key Changes:
- Adds new
textPreformat.bordercolor definition with high contrast theme support - Applies the border styling consistently across 7 CSS/HTML files
- Updates color values for existing preformat colors in high contrast modes
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/vs/platform/theme/common/colors/baseColors.ts |
Defines new textPreformat.border color and updates high contrast color values for preformat text |
build/lib/stylelint/vscode-known-variables.json |
Registers the new CSS variable for stylelint validation |
src/vs/workbench/contrib/chat/browser/media/chat.css |
Adds border to inline code elements in chat interface |
src/vs/workbench/contrib/chat/browser/chatContentParts/media/chatThinkingContent.css |
Adds border to code elements in chat thinking/reasoning display |
src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css |
Adds border to code elements in notebook chat interface |
src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css |
Adds border to code elements in settings descriptions |
src/vs/workbench/contrib/update/browser/releaseNotesEditor.ts |
Adds border to code elements and removes obsolete padding properties (with syntax error) |
src/vs/workbench/contrib/webview/browser/pre/index.html |
Adds border to code elements in webview content |
src/vs/workbench/contrib/welcomeWalkthrough/browser/media/walkThroughPart.css |
Adds border to code elements in walkthrough pages |
|
@mrleemurray red CI |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@bpasero they are timing out during |
Introduce a new border color for preformatted text segments (i.e.
codeelements) and apply it across various components to enhance visibility in high contrast themes. Adjustments made to ensure consistent styling and improved accessibility.Addresses: #204405