Make urlbar/searchbar placeholder text a bit more contrasted (And closer to spec)
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox89 | --- | verified |
People
(Reporter: bugzilla, Assigned: daisuke)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-address-bar] [priority:2a])
Attachments
(5 files)
When focusing the address bar in Dark mode, the placeholder text and "This time search with" text are the wrong color. They're off-white instead of grey. I can reproduce this on a fresh profile.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
We did this on purpose in bug 1704073 because Figma uses grey only when unfocused, currentColor when focused, only in brighttext.
Comment 2•4 years ago
•
|
||
There is some inconcistency in Figma though.
This time, search with looks correct, but the placeholder in the input field sometimes is lighter, sometimes it's not.
I suspect it's based on the panel being open (so the background).
Comment 3•4 years ago
|
||
Let's ensure we do the right thing, reopening.
Comment 4•4 years ago
•
|
||
Amy, could you please clarify the expected outcome? Did you mean to make the placeholder lighter when the urlbar is focused, like it is in Nightly, or is that a spec bug?
I think the "This time, search with:" change makes sense regardless to improve contrast.
But the placeholder being full color seems a bit confusing for the user.
Comment 5•4 years ago
|
||
Hi,
The place holder copy should be secondary text colour (#BFBFC9) - Not full colour. Thanks.
Comment 6•4 years ago
•
|
||
Sorry daisuke, we must revert the placeholder change from bug 1704073 and ensure the color is #BFBFC9. The header change is fine instead.
| Assignee | ||
Comment 7•4 years ago
|
||
Okay, I will do it soon.
| Assignee | ||
Comment 8•4 years ago
|
||
This is a screenshot for reverted.
| Assignee | ||
Comment 9•4 years ago
|
||
And, this is a screenshot that I set the color #BFBFC9 explicitly.
Comparing both, it seems that the reverted color is a bit darker.
Thus, for now, I will post a patch that sets the color explicitly. (is it ok?)
| Assignee | ||
Comment 10•4 years ago
|
||
Updated•4 years ago
|
Comment 11•4 years ago
•
|
||
See my comment in phab, I think the basic idea is to make the color a bit more contrasted in both Light and Dark, compared to what we have without Proton. Hardcoding colors here seems dangerous since there's already an opacity involved, thus I'd just tweak opacity to get much closer to the spec.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 12•4 years ago
|
||
Updated•4 years ago
|
Comment 13•4 years ago
|
||
| bugherder | ||
Comment 14•4 years ago
|
||
Verified as fixed on Firefox 89 beta 5 under Win 10 64-bit, Mac OSX 11.2.3 and Ubuntu 18.04 64-bit.
Description
•