@@ -102,8 +102,8 @@ export class ColorManager implements IColorManager {
102102 background : DEFAULT_BACKGROUND ,
103103 cursor : DEFAULT_CURSOR ,
104104 cursorAccent : DEFAULT_CURSOR_ACCENT ,
105- selectionTransparent : DEFAULT_SELECTION ,
106- selectionOpaque : color . blend ( DEFAULT_BACKGROUND , DEFAULT_SELECTION ) ,
105+ selectionBackgroundTransparent : DEFAULT_SELECTION ,
106+ selectionBackgroundOpaque : color . blend ( DEFAULT_BACKGROUND , DEFAULT_SELECTION ) ,
107107 selectionForeground : undefined ,
108108 ansi : DEFAULT_ANSI_COLORS . slice ( ) ,
109109 contrastCache : this . _contrastCache
@@ -132,8 +132,8 @@ export class ColorManager implements IColorManager {
132132 this . colors . background = this . _parseColor ( theme . background , DEFAULT_BACKGROUND ) ;
133133 this . colors . cursor = this . _parseColor ( theme . cursor , DEFAULT_CURSOR , true ) ;
134134 this . colors . cursorAccent = this . _parseColor ( theme . cursorAccent , DEFAULT_CURSOR_ACCENT , true ) ;
135- this . colors . selectionTransparent = this . _parseColor ( theme . selection , DEFAULT_SELECTION , true ) ;
136- this . colors . selectionOpaque = color . blend ( this . colors . background , this . colors . selectionTransparent ) ;
135+ this . colors . selectionBackgroundTransparent = this . _parseColor ( theme . selectionBackground , DEFAULT_SELECTION , true ) ;
136+ this . colors . selectionBackgroundOpaque = color . blend ( this . colors . background , this . colors . selectionBackgroundTransparent ) ;
137137 const nullColor : IColor = {
138138 css : '' ,
139139 rgba : 0
@@ -147,9 +147,9 @@ export class ColorManager implements IColorManager {
147147 * If selection color is opaque, blend it with background with 0.3 opacity
148148 * Issue #2737
149149 */
150- if ( color . isOpaque ( this . colors . selectionTransparent ) ) {
150+ if ( color . isOpaque ( this . colors . selectionBackgroundTransparent ) ) {
151151 const opacity = 0.3 ;
152- this . colors . selectionTransparent = color . opacity ( this . colors . selectionTransparent , opacity ) ;
152+ this . colors . selectionBackgroundTransparent = color . opacity ( this . colors . selectionBackgroundTransparent , opacity ) ;
153153 }
154154 this . colors . ansi = DEFAULT_ANSI_COLORS . slice ( ) ;
155155 this . colors . ansi [ 0 ] = this . _parseColor ( theme . black , DEFAULT_ANSI_COLORS [ 0 ] ) ;
0 commit comments