-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse color mode doesn't work when using a light theme #759
Comments
Currently the default background/foreground is specified in the following CSS: #terminal-container .terminal {
background-color: #111;
color: #fafafa;
} |
Yep, that's the same root cause. reverse on defaults is always assumed it was default black bg and default white fg.. |
Cool, just figured I'd add that since I wasn't 100% sure if it would affect the issue or not. |
Imho this could be solved by enforcing a default class settings identifiable by the emulator so the emulator can reverse those settings when needed, e.g. For all other non default color settings reversed should simply swap fg and bg settings, e.g. Btw as far as I know xterm simply reverses colors when higlighting with the mouse. |
Yes we used to reverse color as well in vscode and I really liked it. Unfortunately it's not the easiest thing to support using the new |
This was fixed with the renderer update. |
@Tyriar would you be able to elaborate on what commit/change was the fix? I'm still experiencing a similar issue that is outlined in jestjs/jest#6494. |
I commented on the issue |
Downstream issue: microsoft/vscode#30024
JS has no knowledge of the background/foreground colors so it just uses
.xterm-bg-color-15
and.xterm-color-0
for reversed unstyled text which should be the opposite on light themes.The text was updated successfully, but these errors were encountered: