Any way to fix Solarized color schemes such that arguments are legible? #14553
-
When using the Solarized Dark color scheme in PowerShell, arguments are assigned a color that's illegible. Is there a way to modify the out-of-the-box color scheme such that this doesn't happen? I'm unsure which terminal color is getting applied. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
To be totally honest - Solarized is a bad color scheme for terminals.
If it were me, I'd just patch all the gray "bright" colors ( |
Beta Was this translation helpful? Give feedback.
-
Hey @USMA56795, I setup my own color settings in my powershell profile: https://github.com/totkeks/dotfiles/blob/main/dotfiles/Documents/PowerShell/Profile/SolarizedDarkColorTheme.ps1 Basically it's all about setting proper colors for PSReadLine and then everything is fine. The defaults just don't work with the mapping solarized uses for their colors. And here is my windows terminal color theme just for reference (in case I changed a color, but I think I didn't) {
"background": "#002B36",
"black": "#073642",
"blue": "#268BD2",
"brightBlack": "#002B36",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#FFFFFF",
"cyan": "#2AA198",
"foreground": "#839496",
"green": "#859900",
"name": "Solarized Dark",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
}, |
Beta Was this translation helpful? Give feedback.
-
In addition to all the other answers here, I'd love to see you kick the tires on our new feature that automatically bumps up the contrast ratio when we detect that it would be unreadable otherwise. It's available in Preview 1.16, and looks like this (Profile > Appearance) |
Beta Was this translation helpful? Give feedback.
To be totally honest - Solarized is a bad color scheme for terminals.
If it were me, I'd just patch all the gray "bright" colors (
brightGreen
,brightYellow
,brightBlue
,brightCyan
) to all be equal to their dark equivalents. Sure some colors would be exactly the same, but it would be better than the terrible grays that Solarized ships by default.