Support guide

Note that invisibles is broken until Microsoft/vscode#19647 is resolved
This commit is contained in:
Daniel Imms
2017-01-31 14:50:30 -08:00
parent 9d20bcf78d
commit a183826558
3 changed files with 6 additions and 2 deletions

View File

@@ -78,6 +78,7 @@ const sapphireColorSet: IColorSet = {
background: '#151B24',
foreground: '#efefef',
cursor: '#ffffff',
guide: '#263040',
invisibles: '#263040',
rangeHighlight: '#263040',
findMatchHighlight: '#4e2e62',

View File

@@ -29,8 +29,10 @@ export interface IColorSet {
foreground?: string;
/** The color of the editor cursor/caret */
cursor?: string;
/** Indent guide */
/** Visible whitespace (editor.renderWhitespace) */
invisibles?: string;
/** Indent guide */
guide?: string;
/** Line highlight, this will remove the line borders in favor of a solid highlight */
lineHighlight?: string;

View File

@@ -99,7 +99,8 @@ const vscodeJsonGlobalThemeRules: IRuleGenerator[] = [
// Global settings
{ source: set => set.ui.background, generate: getGlobalSettingGenerator('background') },
{ source: set => set.ui.foreground, generate: getGlobalSettingGenerator('foreground') },
{ source: set => set.ui.cursor, generate: getGlobalSettingGenerator('caret') },
{ source: set => set.ui.cursor, generate: getGlobalSettingGenerator('caret') },
{ source: set => set.ui.guide, generate: getGlobalSettingGenerator('guide') },
{ source: set => set.ui.invisibles, generate: getGlobalSettingGenerator('invisibles') },
{ source: set => set.ui.findMatchHighlight, generate: getGlobalSettingGenerator('findMatchHighlight') },
{ source: set => set.ui.currentFindMatchHighlight, generate: getGlobalSettingGenerator('currentFindMatchHighlight') },