From 1a8c78c794921759be36dfdb8f265e839f535d97 Mon Sep 17 00:00:00 2001 From: Beatrix <68532117+abeatrix@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:32:55 -0700 Subject: [PATCH] Chat: remove unused variables for Visual Studio (#5275) 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 Green UI - simple UI change. ## Changelog --- vscode/webviews/themes/visual-studio.css | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/vscode/webviews/themes/visual-studio.css b/vscode/webviews/themes/visual-studio.css index d75a1490fa95..1ba7c3e6f199 100644 --- a/vscode/webviews/themes/visual-studio.css +++ b/vscode/webviews/themes/visual-studio.css @@ -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; - } -}