sidebar panels shouldn't unconditionally use system colors.
Categories
(Firefox :: Sidebar, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
On the system theme on Windows (or on macOS without the native theme), sidebar panels use -moz-sidebar/-moz-sidebartext, rather than the browser-custom-clolors.css overrides...
Assignee | ||
Updated•29 days ago
|
Assignee | ||
Comment 1•29 days ago
|
||
Remove the sidebar-border variable because it's unused (and it's not one
of the properties that get plumbed down anyways).
Rely on browser.xhtml's background to avoid having to plumb down the
system theme colors. Alternatively we could try to plumb these down, or
add a media query like:
@media not ((prefers-contrast) or (-moz-platform: linux) or ((-moz-platform: macos) and (-moz-bool-pref: "browser.theme.macos.native-theme"))) {
/* Duplicate browser-custom-colors.css */
}
But that's kind of unwieldy, to the point that we should move
browser-custom-colors.css import to browser-shared and use the same if
we do it, probably, so it's easy to keep them in sync...
Assignee | ||
Comment 2•29 days ago
|
||
Not sure if this is better but this solves the issue of having to
duplicate the custom colors stuff to keep them in sync... Thoughts?
Comment 4•28 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fd7ccc8b9088
https://hg.mozilla.org/mozilla-central/rev/39715622ba64
Description
•