How to have a different compact theme in Developer Tools and in browser
If I switch to the Compact Light Theme for my browser in about:addons, the developer tools also adopts that theme, and vice versa. I want my browser to have a Compact Light theme and my developer tools to have the dark theme. How do I do this?
วิธีแก้ปัญหาที่เลือก
I hadn't tested it with a lightweight theme, but I can confirm that what I posted only works when the default theme is selected. Once you select compact light or compact dark then this applies to the Firefox user interface and to the Developer Tools. You would have to use code in userChrome.css to style the user interface and use devtools.theme = dark for the developer tools.
- chrome://browser/skin/compacttheme.css
- https://dxr.mozilla.org/mozilla-release/search?q=regexp:compacttheme.css
การตอบกลับทั้งหมด (3)
Did you change the theme setting in the Web Developer toolbox settings (cogwheel on the Web Developer toolbar) once you have chosen the light theme in about:addons appearance?
That should work for the developer tools only.
cor-el said
Did you change the theme setting in the Web Developer toolbox settings (cogwheel on the Web Developer toolbar) once you have chosen the light theme in about:addons appearance? That should work for the developer tools only.
I already tried that. However, I tried it again, but it didn't work. :( I have also gone to about:config and set lightweightThemes.selectedThemeID from [email protected] to [email protected] but when I restart Firefox, it resets to whatever the developer tools theme was.
วิธีแก้ปัญหาที่เลือก
I hadn't tested it with a lightweight theme, but I can confirm that what I posted only works when the default theme is selected. Once you select compact light or compact dark then this applies to the Firefox user interface and to the Developer Tools. You would have to use code in userChrome.css to style the user interface and use devtools.theme = dark for the developer tools.
- chrome://browser/skin/compacttheme.css
- https://dxr.mozilla.org/mozilla-release/search?q=regexp:compacttheme.css