Add color item for sidebar title background (#209528)

fixes #209164
This commit is contained in:
Benjamin Christopher Simmonds 2024-04-04 12:28:52 +02:00 committed by GitHub
parent c91cf1b5e6
commit 8012a40059
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 0 deletions

View file

@ -565,6 +565,7 @@
"--vscode-sideBarSectionHeader-background",
"--vscode-sideBarSectionHeader-border",
"--vscode-sideBarSectionHeader-foreground",
"--vscode-sideBarTitle-background",
"--vscode-sideBarTitle-foreground",
"--vscode-sideBySideEditor-horizontalBorder",
"--vscode-sideBySideEditor-verticalBorder",

View file

@ -22,6 +22,10 @@
margin-right: 4px;
}
.monaco-workbench .part.auxiliarybar > .title {
background-color: var(--vscode-sideBarTitle-background);
}
.monaco-workbench .part.auxiliarybar > .title > .title-label {
flex: 1;
}

View file

@ -16,6 +16,10 @@
margin-right: 4px;
}
.monaco-workbench .part.sidebar > .title {
background-color: var(--vscode-sideBarTitle-background);
}
.monaco-workbench .part.sidebar > .title > .title-label h2 {
text-transform: uppercase;
}

View file

@ -850,6 +850,13 @@ export const SIDE_BAR_BORDER = registerColor('sideBar.border', {
hcLight: contrastBorder
}, localize('sideBarBorder', "Side bar border color on the side separating to the editor. The side bar is the container for views like explorer and search."));
export const SIDE_BAR_TITLE_BACKGROUND = registerColor('sideBarTitle.background', {
dark: SIDE_BAR_BACKGROUND,
light: SIDE_BAR_BACKGROUND,
hcDark: SIDE_BAR_BACKGROUND,
hcLight: SIDE_BAR_BACKGROUND
}, localize('sideBarTitleBackground', "Side bar title background color. The side bar is the container for views like explorer and search."));
export const SIDE_BAR_TITLE_FOREGROUND = registerColor('sideBarTitle.foreground', {
dark: SIDE_BAR_FOREGROUND,
light: SIDE_BAR_FOREGROUND,