Poor contrast on hover/active with proton appmenu with dark system theme.
Categories
(Firefox :: Menus, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox86 | --- | unaffected |
firefox87 | --- | disabled |
firefox88 | --- | verified |
People
(Reporter: emilio, Assigned: mconley)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [proton-hamburger-menu])
Attachments
(2 files, 1 obsolete file)
https://searchfox.org/mozilla-central/rev/f47a4b67643b3048ef9a2e2ac0c34edf6d1ebff3/browser/themes/shared/customizableui/panelUI.inc.css#64-67 is specifying a hardcoded background but inheriting a system color. That's not great if the system color is light :)
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
Not sure if you want to take something like this or do something else,
really your call, but I did this so I may as well post it.
The opacity change helps with the regular dark theme as well.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Set release status flags based on info from the regressing bug 1691152
Updated•4 years ago
|
Comment 3•4 years ago
|
||
This is assigned, but it looks like a straight dupe of bug 1693010?
Reporter | ||
Comment 4•4 years ago
|
||
Yeah, I had a patch but quoting Mike:
The Proton dark theme is still being defined, and we should have a clearer path forward for how to apply it later this week. I'm going to resign from this review until then.
So I decided to abandon the revision from now, we can revive it later if needed.
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
This should, I think, offer some relief to folks using the current built-in
dark theme.
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Hey ntim, is this the right idea? What I've got here is roughly:
:root {
(proven colors that we've shipped before for things)
}
@supports -moz-bool-pref("browser.proton.enabled") {
:root {
(non color things)
}
:root:not(:-moz-lwtheme) {
(Proton default theme color values)
}
}
This seems to improve the AppMenu for the built-in themes. Am I on the right track here?
Assignee | ||
Comment 7•4 years ago
|
||
Speaking with ntim, I believe he's recommending that I do the following:
- In browser/themes/linux/customizableui/panelUI.css, make sure that the colors set on the :root are from the "known proven set" of colours that work on Linux.
- Inside of panelUI.inc.css, wrap the
:root:not(:-moz-lwtheme)
collection of colours with a@media not (prefers-contrast)
query
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/172ab28afcf1 Separate Proton AppMenu colors into a separate rule block in an include file. r=harry
Comment 9•4 years ago
|
||
bugherder |
Comment 13•3 years ago
|
||
Verified - Fixed in release 88, beta 89.0b5 and latest Nightly 90.0a1 (04-28-2021) using Ubuntu 20.04 and Windows 10 with dark system theme.
Updated•3 years ago
|
Description
•