Umatched selectors, overridden/inactive declarations don't have distinct color in High Contrast Mode
Categories
(DevTools :: Inspector: Rules, defect, P3)
Tracking
(firefox134 fixed)
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
We can use GrayText
for those
Assignee | ||
Comment 1•28 days ago
|
||
The variable was used in a few places for elements that are not inactive.
It was probably picked because of its lighter color, but we do have
specific variable for that (for text and icons), that are better suited
and already adapt to High Contrast Mode.
In one case, the rule using it wasn't even used, so I removed it completely.
Updated•28 days ago
|
Assignee | ||
Comment 2•28 days ago
|
||
We're setting --theme-text-color-inactive to GrayText in HCM,
and we use this variable for styling unused/inactive items in
the Rules view, as we still want --theme-text-color-alt to have
the default canvas text in HCM.
In non-HCM, --theme-text-color-inactive was lacking contrast
against the usual background, so it's updated to have
sufficient contrast.
Comment 3•28 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Inspector: Rules' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•28 days ago
|
https://hg.mozilla.org/mozilla-central/rev/7e3b74a648bb
https://hg.mozilla.org/mozilla-central/rev/1e442fe98563
Description
•