Add Proton address bar dark mode colours
Categories
(Firefox :: Address Bar, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | verified |
People
(Reporter: bugzilla, Assigned: bugzilla)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-address-bar] [priority:2a])
Attachments
(1 file)
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
There are a few things happening in this patch:
- New colours are defined in proton-dark/manifest.json. This will be merged with dark/manifest.json when Proton is ready.
- I removed specific rules for [lwt-default-theme-in-dark-mode]. The current plan is to merge proton-dark/manifest.json with default-theme/manifest.json when Proton is ready.
- Two different borders can now be set on the Urlbar: toolbar_field_focus_border when the panel is closed, and popup_border when it is open. This is a behaviour change, but it's actually consistent with the documentation.
- popup_border/arrowpanel-border-color is now transparent on non-LWT non-Linux non-HCM. This affects other panels, but I verified with UX on Slack that all light mode Proton panels are losing their border in favour of drop-shadows. These colours are set in browser-custom-colors which is a new sheet that will set Proton's saturated colours. I also moved some rules to that sheet from urlbarView.inc.css that were serving the same purpose.
- A border is now shown around the searchbar popup. We never set a border-width on it! We were setting border-color so I don't know if this was intentional or just a bug.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d54f1666473a
https://hg.mozilla.org/mozilla-central/rev/b92cf73f3416
Comment 5•4 years ago
|
||
To confirm I understand correctly comment1 points 4 and 5:
in high contrast modes(w10 + ubuntu) combined with the default themes(default, dark, alpenglow), there should be a border for the expanded address bar, excluding light theme, for which there shouldn't be a border, just a drop-shadow ?
Comment 6•4 years ago
|
||
That sounds a lot like bug 1701200, it doesn't have an answer yet. Based on what landed here, the answer is yes, whether that is what we want is unclear, bur I'd assume high contrast wants a border.
Assignee | ||
Comment 7•4 years ago
|
||
I agree with Marco. We want a border in HCM on the default theme. It's expected that Light mode doesn't have a border, because in that case the user opted in to Light mode styling/colours.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 8•4 years ago
|
||
This has been extensively covered for the pre-release sign off.
Marking the issue as verified fixed on Firefox 89.0b15 using Windows 10, Ubuntu and macOS 10.15.
Description
•