Skip to content

Commit

Permalink
Chat: remove unused variables for Visual Studio (#5275)
Browse files Browse the repository at this point in the history
This commit updates the Visual Studio theme for webviews:

- Removes custom scrollbar styles for `.model-selector-popover`
elements, aligning with the default Visual Studio experience.
- Defines missing color variables for input validation and active
options, enhancing consistency with the Visual Studio theme.
- Commented out variables that are currently not used.

These changes improve the overall visual fidelity and consistency of the
webview themes.


## Test plan

<!-- Required. See
https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles.
-->

Green UI - simple UI change. 

## Changelog

<!-- OPTIONAL; info at
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
-->
  • Loading branch information
abeatrix authored Aug 21, 2024
1 parent e4661c5 commit 1a8c78c
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions vscode/webviews/themes/visual-studio.css
Original file line number Diff line number Diff line change
Expand Up @@ -631,22 +631,3 @@ html[data-ide='VisualStudio'] blockquote {
background: var(--vscode-textBlockQuote-background);
border-color: var(--vscode-textBlockQuote-border);
}


html[data-ide='VisualStudio'] .model-selector-popover::-webkit-scrollbar {
width: 10px;
height: 8px;
background-color: transparent;
}

/* color-mix is not supported on VisualStudio webview */
html[data-ide='VisualStudio'] .context-item-mention-node {
color: var(--vscode-inputOption-activeForeground);
background-color: var(--vscode-badge-background);
gap: 0.2rem;

.icon {
width: 1rem;
height: 1rem;
}
}

0 comments on commit 1a8c78c

Please sign in to comment.