Closed Bug 1811687 Opened 1 year ago Closed 1 year ago

Reconsider the color used for the new swipe indicator in dark mode

Categories

(Firefox :: General, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: metasieben, Assigned: hiro)

References

Details

Attachments

(2 files)

The new swipe-gesture-indicator is hardcoded to always be blue (#0060DF), shouldn't there be a different color if the user is in dark mode?

Regressed by: 1799563

The Bugbug bot thinks this bug should belong to the 'Core::Panning and Zooming' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Panning and Zooming
Product: Firefox → Core

:hiro, since you are the author of the regressor, bug 1799563, could you take a look? Also, could you set the severity field?

For more information, please visit auto_nag documentation.

Flags: needinfo?(hikezoe.birchill)

Why do you think it's regression? As far as I can tell it was originally hard coded. Redirecting NI to Josh.

Type: defect → enhancement
Component: Panning and Zooming → General
Flags: needinfo?(hikezoe.birchill) → needinfo?(jberman)
Keywords: regression
Product: Core → Firefox
No longer regressed by: 1799563

Sorry :hiro for tagging as regression, should have been a simple follow-up.

While the color of the old indicator was also hardcoded, it was a much more "neutral" dark gray.
The spec svg in bug 1799563 mentions Windows/Mac in Normal and HCM mode, however making no differentiation
whether the user is in light/dark mode.

Hi there,

Please see the linked artboard which shows default primary color scheme in comparison with dark mode color scheme. Included an example of it's application to the Windows UI component.

https://www.figma.com/file/c7sOMnzf8NzcQTLRc8HmLs/Swipe-to-Navigate-Windows?node-id=725%3A5972&t=hL8DVgOvDWKmlYGa-1

Thank you,

Flags: needinfo?(jberman)

Hey Josh, thanks for the info, but Figma boards are sadly only accessible to employees.

Ahh apologies. Default vs Dark - screenshot attached. Hex codes below.

Primary
Default - 0060DF
Dark - 00DDFF

Accent
Default - FFFFFF
Dark - 000000

Thank you Josh for uploading the image!

Though I've uploaded D167762 which has the new colors for dark mode, it does just respect the system global setting, it doesn't respect Firefox's "Website appearance" preference because I don't know the way to tell the difference. I will ask it in Matrix.

(In reply to Hiroyuki Ikezoe (:hiro) from comment #9)

Though I've uploaded D167762 which has the new colors for dark mode, it does just respect the system global setting, it doesn't respect Firefox's "Website appearance" preference because I don't know the way to tell the difference. I will ask it in Matrix.

Itiel told me -moz-content-prefers-color-scheme.

Assignee: nobody → hikezoe.birchill
Attachment #9313937 - Attachment description: WIP: Bug 1811687 - Support dark mode friendly swipe-to-navigation icon colors. → Bug 1811687 - Support dark mode friendly swipe-to-navigation icon colors. r?#desktop-theme-reviewers
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by hikezoe.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/64f3410eeb38
Support dark mode friendly swipe-to-navigation icon colors. r=desktop-theme-reviewers,Itiel
See Also: → 1815138
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
QA Whiteboard: [qa-111b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: