question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dark theme not working

See original GitHub issue

Environment (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:

  1. Change vscode-edge-devtools.themes to dark
  2. 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: Code_B0kWjfkyYw

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
Enteleformcommented, Sep 30, 2021

Same issue here.

3reactions
NeriDarkiracommented, Oct 2, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found