Remove the blue color workaround for Windows

The illegible blue color has been fixed in Windows 10 build 16257: https://blogs.msdn.microsoft.com/commandline/2017/08/02/updating-the-windows-console-colors/

The workaround causes all kinds of problems, so better to remove it than adding conditionals for older Windows versions.
This commit is contained in:
Sindre Sorhus 2019-03-12 19:07:20 +07:00
parent 60959e05cf
commit b5cd8bae3c
2 changed files with 1 additions and 18 deletions

View file

@ -45,11 +45,6 @@ function Chalk(options) {
applyOptions(this, options);
}
// Use bright blue on Windows as the normal blue color is illegible
if (isSimpleWindowsTerm) {
ansiStyles.blue.open = '\u001B[94m';
}
for (const key of Object.keys(ansiStyles)) {
ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g');