Dark theme not working
See original GitHub issueEnvironment (please complete the following information):
- OS: Windows 10, Version 21H1
- Extension version: v1.3.1
Describe the bug:
Changing the vscode-edge-devtools.themes
setting to dark
doesn’t change the theme of the developer tools, even after a restart. Changing the theme using Ctrl+Shit+P also doesn’t work.
Note: The addition of new Themes in Microsoft Edge version 93 may has caused this bug (https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/customize/theme).
Repro steps:
- Change
vscode-edge-devtools.themes
todark
- Open a new Microsoft Edge Instance, or attach an existing instance to target
Expected behavior: The dev tools inside VSCode should be displayed in a dark theme.
Additional context:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Dark Mode Not Working in Windows 10—What to Do
Enable Dark Mode Again · Right-click an empty space on your desktop. · Select the 'Personalize' option. · Click the 'Colors' menu on...
Read more >How to fix Dark Mode not working problem - Nerds Chalk
If you can't find the Dark Mode or Theme option in the app's settings, then it basically means that the Dark Mode is...
Read more >Fix: File Explorer Dark Theme Not Working on Windows 10
Method 4: Re-applying the Dark Mode · Press Windows key + R to open up a Run dialog box. · Inside the Colors...
Read more >7 Best Ways to Fix Dark Mode Not Working in Gmail and Other ...
7 Best Ways to Fix Dark Mode Not Working in Gmail and Other Google Apps · 1. Check Software Compatibility · 2. Update...
Read more >Windows 10 file explorer dark mode not working
Right-click a vacant area on the desktop, and then click Personalize. · Click the side-tab labeled Colors. · Under Choose Your Default App...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same issue here.
same issue here, but I think I found a “solution”: in one of the last updates EdgeDevTool started getting the theme directly from the vsCode-theme; so, if you have on of the available themes, the EdgeDevTool will “follow” that theme. if you don’t use one of the supported ones, EdgeDevTool will follow the default theme (light).
So if you wanna change the theme you have to change the vsCode theme in one of the supported, 'till they fix this issue ( get default from settings “vscode-edge-devtools.themes” instead of automatically switch to light)
i think the error is probably here, line 47-51: getThemeFromUserSetting(): string { const themeSetting = vscode.workspace.getConfiguration().get(‘workbench.colorTheme’); const legacySetting = vscode.workspace.getConfiguration(SETTINGS_STORE_NAME).get(‘themes’); return SUPPORTED_THEMES.get((themeSetting || legacySetting) as string) || ‘systemPreference’; } everyone has a vscode theme so themeSetting || legacySetting will always be themeSetting. the second problem is probably || ‘systemPreference’, in the legacy version was || ‘System preference’.
so probably the last line should be: return SUPPORTED_THEMES.get((themeSetting) as string) || SUPPORTED_THEMES.get((legacySetting) as string) || ‘System preference’
I’m guessing, hope it helped.