@@ -96,7 +96,7 @@ namespace ts {
96
96
bold : ( str : string ) => str ,
97
97
blue : ( str : string ) => str ,
98
98
blueBackground : ( str : string ) => str ,
99
- white : ( str : string ) => str
99
+ brightWhite : ( str : string ) => str
100
100
} ;
101
101
}
102
102
@@ -112,7 +112,7 @@ namespace ts {
112
112
// Effectively Powershell and Command prompt users use cyan instead
113
113
// of blue because the default theme doesn't show blue with enough contrast.
114
114
if ( isWindows && ! isWindowsTerminal && ! isVSCode ) {
115
- return `\x1b[96m ${ str } \x1b[39m` ;
115
+ return brightWhite ( str ) ;
116
116
}
117
117
118
118
return `\x1b[94m${ str } \x1b[39m` ;
@@ -130,13 +130,13 @@ namespace ts {
130
130
return `\x1b[44m${ str } \x1B[39;49m` ;
131
131
}
132
132
}
133
- function white ( str : string ) {
133
+ function brightWhite ( str : string ) {
134
134
return `\x1b[97m${ str } \x1b[39m` ;
135
135
}
136
136
return {
137
137
bold,
138
138
blue,
139
- white ,
139
+ brightWhite ,
140
140
blueBackground
141
141
} ;
142
142
}
@@ -413,7 +413,7 @@ namespace ts {
413
413
const tsIconLength = 5 ;
414
414
415
415
const tsIconFirstLine = colors . blueBackground ( padLeft ( "" , tsIconLength ) ) ;
416
- const tsIconSecondLine = colors . blueBackground ( colors . white ( padLeft ( "TS " , tsIconLength ) ) ) ;
416
+ const tsIconSecondLine = colors . blueBackground ( colors . brightWhite ( padLeft ( "TS " , tsIconLength ) ) ) ;
417
417
// If we have enough space, print TS icon.
418
418
if ( terminalWidth >= tscExplanation . length + tsIconLength ) {
419
419
// right align of the icon is 120 at most.
0 commit comments