Rename ITheme.selection to selectionBackground

This makes it consistent with selectionForeground and other theme keys and
as a result will make the API easier to work with, especially when inactive
selection is done (#3803)
This commit is contained in:
Daniel Imms
2022-07-29 10:34:27 -07:00
parent df14ce49d7
commit 9cb25fbf06
12 changed files with 20 additions and 20 deletions
+3 -3
View File
@@ -115,9 +115,9 @@ export interface IColorSet {
background: IColor;
cursor: IColor;
cursorAccent: IColor;
selectionTransparent: IColor;
selectionBackgroundTransparent: IColor;
/** The selection blended on top of background. */
selectionOpaque: IColor;
selectionBackgroundOpaque: IColor;
selectionForeground: IColor | undefined;
ansi: IColor[];
contrastCache: IColorContrastCache;
@@ -136,7 +136,7 @@ export interface IPartialColorSet {
background: IColor;
cursor?: IColor;
cursorAccent?: IColor;
selection?: IColor;
selectionBackground?: IColor;
ansi: IColor[];
}