6
6
import { Color } from 'vs/base/common/color' ;
7
7
import { IDisposable } from 'vs/base/common/lifecycle' ;
8
8
import { IThemable , styleFn } from 'vs/base/common/styler' ;
9
- import { activeContrastBorder , badgeBackground , badgeForeground , breadcrumbsActiveSelectionForeground , breadcrumbsBackground , breadcrumbsFocusForeground , breadcrumbsForeground , buttonBackground , buttonBorder , buttonForeground , buttonHoverBackground , buttonSecondaryBackground , buttonSecondaryForeground , buttonSecondaryHoverBackground , ColorIdentifier , ColorTransform , ColorValue , contrastBorder , editorWidgetBackground , editorWidgetBorder , editorWidgetForeground , focusBorder , inputActiveOptionBackground , inputActiveOptionBorder , inputActiveOptionForeground , inputBackground , inputBorder , inputForeground , inputValidationErrorBackground , inputValidationErrorBorder , inputValidationErrorForeground , inputValidationInfoBackground , inputValidationInfoBorder , inputValidationInfoForeground , inputValidationWarningBackground , inputValidationWarningBorder , inputValidationWarningForeground , keybindingLabelBackground , keybindingLabelBorder , keybindingLabelBottomBorder , keybindingLabelForeground , listActiveSelectionBackground , listActiveSelectionForeground , listActiveSelectionIconForeground , listDropBackground , listFilterWidgetBackground , listFilterWidgetNoMatchesOutline , listFilterWidgetOutline , listFocusBackground , listFocusForeground , listFocusOutline , listHoverBackground , listHoverForeground , listInactiveFocusBackground , listInactiveFocusOutline , listInactiveSelectionBackground , listInactiveSelectionForeground , listInactiveSelectionIconForeground , menuBackground , menuBorder , menuForeground , menuSelectionBackground , menuSelectionBorder , menuSelectionForeground , menuSeparatorBackground , pickerGroupForeground , problemsErrorIconForeground , problemsInfoIconForeground , problemsWarningIconForeground , progressBarBackground , quickInputListFocusBackground , quickInputListFocusForeground , quickInputListFocusIconForeground , resolveColorValue , scrollbarShadow , scrollbarSliderActiveBackground , scrollbarSliderBackground , scrollbarSliderHoverBackground , selectBackground , selectBorder , selectForeground , selectListBackground , checkboxBackground , checkboxBorder , checkboxForeground , tableColumnsBorder , tableOddRowsBackgroundColor , textLinkForeground , treeIndentGuidesStroke , widgetShadow , listFocusAndSelectionOutline } from 'vs/platform/theme/common/colorRegistry' ;
9
+ import { activeContrastBorder , badgeBackground , badgeForeground , breadcrumbsActiveSelectionForeground , breadcrumbsBackground , breadcrumbsFocusForeground , breadcrumbsForeground , buttonBackground , buttonBorder , buttonForeground , buttonHoverBackground , buttonSecondaryBackground , buttonSecondaryForeground , buttonSecondaryHoverBackground , ColorIdentifier , ColorTransform , ColorValue , contrastBorder , editorWidgetBackground , editorWidgetBorder , editorWidgetForeground , focusBorder , inputActiveOptionBackground , inputActiveOptionBorder , inputActiveOptionForeground , inputBackground , inputBorder , inputForeground , inputValidationErrorBackground , inputValidationErrorBorder , inputValidationErrorForeground , inputValidationInfoBackground , inputValidationInfoBorder , inputValidationInfoForeground , inputValidationWarningBackground , inputValidationWarningBorder , inputValidationWarningForeground , keybindingLabelBackground , keybindingLabelBorder , keybindingLabelBottomBorder , keybindingLabelForeground , listActiveSelectionBackground , listActiveSelectionForeground , listActiveSelectionIconForeground , listDropBackground , listFilterWidgetBackground , listFilterWidgetNoMatchesOutline , listFilterWidgetOutline , listFocusBackground , listFocusForeground , listFocusOutline , listHoverBackground , listHoverForeground , listInactiveFocusBackground , listInactiveFocusOutline , listInactiveSelectionBackground , listInactiveSelectionForeground , listInactiveSelectionIconForeground , menuBackground , menuBorder , menuForeground , menuSelectionBackground , menuSelectionBorder , menuSelectionForeground , menuSeparatorBackground , pickerGroupForeground , problemsErrorIconForeground , problemsInfoIconForeground , problemsWarningIconForeground , progressBarBackground , quickInputListFocusBackground , quickInputListFocusForeground , quickInputListFocusIconForeground , resolveColorValue , scrollbarShadow , scrollbarSliderActiveBackground , scrollbarSliderBackground , scrollbarSliderHoverBackground , selectBackground , selectBorder , selectForeground , selectListBackground , checkboxBackground , checkboxBorder , checkboxForeground , tableColumnsBorder , tableOddRowsBackgroundColor , textLinkForeground , treeIndentGuidesStroke , widgetShadow , listFocusAndSelectionOutline , buttonSeparator } from 'vs/platform/theme/common/colorRegistry' ;
10
10
import { isHighContrast } from 'vs/platform/theme/common/theme' ;
11
11
import { IColorTheme , IThemeService } from 'vs/platform/theme/common/themeService' ;
12
12
@@ -225,6 +225,7 @@ export const defaultListStyles: IColorMapping = {
225
225
226
226
export interface IButtonStyleOverrides extends IStyleOverrides {
227
227
buttonForeground ?: ColorIdentifier ;
228
+ buttonSeparator ?: ColorIdentifier ;
228
229
buttonBackground ?: ColorIdentifier ;
229
230
buttonHoverBackground ?: ColorIdentifier ;
230
231
buttonSecondaryForeground ?: ColorIdentifier ;
@@ -236,6 +237,7 @@ export interface IButtonStyleOverrides extends IStyleOverrides {
236
237
export function attachButtonStyler ( widget : IThemable , themeService : IThemeService , style ?: IButtonStyleOverrides ) : IDisposable {
237
238
return attachStyler ( themeService , {
238
239
buttonForeground : style ?. buttonForeground || buttonForeground ,
240
+ buttonSeparator : style ?. buttonSeparator || buttonSeparator ,
239
241
buttonBackground : style ?. buttonBackground || buttonBackground ,
240
242
buttonHoverBackground : style ?. buttonHoverBackground || buttonHoverBackground ,
241
243
buttonSecondaryForeground : style ?. buttonSecondaryForeground || buttonSecondaryForeground ,
@@ -349,6 +351,7 @@ export const defaultDialogStyles = <IDialogStyleOverrides>{
349
351
dialogShadow : widgetShadow ,
350
352
dialogBorder : contrastBorder ,
351
353
buttonForeground : buttonForeground ,
354
+ buttonSeparator : buttonSeparator ,
352
355
buttonBackground : buttonBackground ,
353
356
buttonSecondaryBackground : buttonSecondaryBackground ,
354
357
buttonSecondaryForeground : buttonSecondaryForeground ,
0 commit comments