add designer property grouping support (#17485)

* add properties grouping support

* revert unexpected changes

* use common color
This commit is contained in:
Alan Ren
2021-10-25 11:25:19 -07:00
committed by GitHub
parent 7b9caffcc2
commit 8230d39120
6 changed files with 104 additions and 49 deletions

View File

@@ -7,6 +7,9 @@ import { contrastBorder, registerColor } from 'vs/platform/theme/common/colorReg
import { Color, RGBA } from 'vs/base/common/color';
import * as nls from 'vs/nls';
// Common
export const GroupHeaderBackground = registerColor('groupHeaderBackground', { dark: '#252526', light: '#F3F3F3', hc: '#000000' }, nls.localize('groupHeaderBackground', "Background color of the group header."));
// -- Welcome Page Colors
export const tileBoxShadowColor = new Color(new RGBA(0, 1, 4, 0.13));
export const textShadow = new Color(new RGBA(0, 0, 0, 0.25));

View File

@@ -385,7 +385,8 @@ export function attachDesignerStyler(widget: any, themeService: IThemeService):
tableStyles: tableStyles,
checkboxStyles: checkboxStyles,
buttonStyles: buttonStyles,
paneSeparator: cr.resolveColorValue(sqlcr.DesignerPaneSeparator, colorTheme)
paneSeparator: cr.resolveColorValue(sqlcr.DesignerPaneSeparator, colorTheme),
groupHeaderBackground: cr.resolveColorValue(sqlcr.GroupHeaderBackground, colorTheme)
});
}