Closed Bug 1692046 Opened 3 years ago Closed 3 years ago

Add Proton address bar dark mode colours

Categories

(Firefox :: Address Bar, enhancement, P2)

enhancement
Points:
2

Tracking

()

VERIFIED FIXED
88 Branch
Iteration:
88.1 - Feb 22 - Mar 7
Tracking Status
firefox88 --- verified

People

(Reporter: bugzilla, Assigned: bugzilla)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-address-bar] [priority:2a])

Attachments

(1 file)

No description provided.
Depends on: 1695710
Assignee: nobody → htwyford
Status: NEW → ASSIGNED
Iteration: --- → 88.1 - Feb 22 - Mar 7

There are a few things happening in this patch:

  1. New colours are defined in proton-dark/manifest.json. This will be merged with dark/manifest.json when Proton is ready.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
Summary: Add dark mode colours → Add Proton address bar dark mode colours
Blocks: 1696479
Pushed by htwyford@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d54f1666473a
Add dark mode address bar and arrowpanel-border colors (Proton). r=mak,dao
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Regressions: 1699821

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 ?

Flags: needinfo?(mak)
Flags: needinfo?(htwyford)

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.

Flags: needinfo?(mak)

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.

Flags: needinfo?(htwyford)
Whiteboard: [proton-address-bar] → [proton-address-bar] [priority:2a]
Keywords: blocked-ux
Blocks: 1696500

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.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: