fix the contrast rate issue of couple view icons in activity bar (#21003)

* fix connections and notebooks view icon issue

* update name

* remove css reference
This commit is contained in:
Alan Ren
2022-10-26 19:27:42 -07:00
committed by GitHub
parent 4b4c5d8ffe
commit e691263956
8 changed files with 13 additions and 47 deletions

View File

@@ -22,8 +22,8 @@ import { StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent';
import { Button } from 'sql/base/browser/ui/button/button';
import { extensionsViewIcon } from 'vs/workbench/contrib/extensions/browser/extensionsIcons';
import { settingsViewBarIcon } from 'vs/workbench/browser/parts/activitybar/activitybarPart';
import { notebookIconId } from 'sql/workbench/contrib/notebook/browser/notebookExplorer/notebookExplorerViewlet';
import { SqlIconId } from 'sql/base/common/codicons';
import { NotebooksViewIcon } from 'sql/workbench/contrib/notebook/browser/notebookExplorer/notebookExplorerViewlet';
import { ConnectionsViewIcon } from 'sql/workbench/contrib/dataExplorer/browser/dataExplorerViewlet';
const $ = dom.$;
interface TourData {
@@ -44,8 +44,8 @@ interface TourData {
popupImage: string;
}
const dataExplorerIconCssSelector = `.action-label.${SqlIconId.dataExplorer}`;
const notebookIconCssSelector = `.action-label.${notebookIconId}`;
const dataExplorerIconCssSelector = ThemeIcon.asCSSSelector(ConnectionsViewIcon);
const notebookIconCssSelector = ThemeIcon.asCSSSelector(NotebooksViewIcon);
const extensionsIconCssSelector = ThemeIcon.asCSSSelector(extensionsViewIcon);
const settingsGearIconCssSelector = ThemeIcon.asCSSSelector(settingsViewBarIcon);