[Win][HCM] Declaration checkbox toggle not visible with Windows Desert contrast theme and Firefox Dark theme
Categories
(DevTools :: Inspector: Rules, defect, P3)
Tracking
(Not tracked)
People
(Reporter: calixte, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
60.54 KB,
image/png
|
Details |
It's a really annoying bug.
| Reporter | ||
Comment 1•9 months ago
•
|
||
The root cause of the problem is having enabled the Dark theme from the Themes setting in about:addons.
If I disable it then everything is fine.
Comment 2•9 months ago
|
||
Setting the Dark theme in about:addon makes the panel get the theme-dark class, which is used in different place in the codebase (here, for setting the stroke color of the checkbox, and since it's set to a light color because of theme-dark, it's not visible against the light background we get from the Desert theme)
Comment 3•9 months ago
|
||
We get the "dark" theme from https://searchfox.org/mozilla-release/rev/201ece97e589a880d0b3f000affc9bf459e90cee/devtools/client/shared/theme.js#15
return Services.appinfo.chromeColorSchemeIsDark ? "dark" : "light";
Here, in Desert HCM with Firefox dark theme selected, Services.appinfo.chromeColorSchemeIsDark is true
Updated•8 months ago
|
Comment 4•19 days ago
|
||
It looks like this was fixed by Bug 1988635
Calixte, could you check on latest central if that works for you to?
| Reporter | ||
Comment 5•17 days ago
|
||
Yep it wfm.
Description
•