-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
[themes] autoDetectColorScheme not working on Linux #102795
Comments
Do you get the same result if you launch without |
This actually makes sense if your default theme is configured to be a dark theme. i.e. if the OS is configured to light mode and a dark theme is active in vscode, |
Instead of using the media event, I'll switch to use the new electron API. I'll give this a try in September |
We still don't get an an event from Electron |
@aeschli should we perhaps create an issue on the Electron issue tracker for this? I couldn't find an existing issue. |
The Electron issue is electron/electron#25925. |
Seeing that this was fixed for electron 13 and the vscode main branch uses electron 13, will this work in the next vscode version? |
waiting for an update on this one |
I just tested that automatic theme switching based on the OS scheme works in VS Code 1.59 on Ubuntu 21.04.
|
When switching dark/light color themes in the OS, the opposite theme is being set in vscode. It even mixes it up right at the start. Watch the screencast:
Steps to Reproduce:
Set prefered dark and light color themes in
settings.json
, e.g.:"workbench.colorTheme": "Atom One Light",
"workbench.preferredDarkColorTheme": "Atom One Dark",
"workbench.preferredLightColorTheme": "Atom One Light",
"window.autoDetectColorScheme": true
switch to the other theme in OS
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: