Closed Bug 1536679 Opened 6 years ago Closed 6 years ago

Create dark mode for post-Sandstone theme using `prefers-color-scheme` media query

Categories

(bugzilla.mozilla.org :: User Interface, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1377977
Due Date:

People

(Reporter: emceeaich, Assigned: u232883)

References

Details

(Keywords: bmo-ux)

Background

Most modern operating systems allow users to select a "dark" or "light" mode. The prefers-color-scheme media query allows the user agent to read the user's choice.

This is usually a dark, but not black background with light, but not pure white text.

Feature

Update Bugzilla CSS, including bug modal views

See also

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

https://stuffandnonsense.co.uk/blog/redesigning-your-product-and-website-for-dark-mode

Yes, my plan is creating dark mode as part of the overdue post-Sandstone reskin. It will be applied to all pages, not only bug modal.

Assignee: nobody → kohei.yoshino
Component: User Interface: Modal → User Interface
Depends on: bmo-jedi-theme
Summary: Make bug modal respect `prefers-color-scheme` media query → Create dark mode for post-Sandstone theme using `prefers-color-scheme` media query

Firefox 67 with the new media query support will be shipped May 14. From a marketing perspective, I wanna see this implemented by then, like what we did for Firefox 66 with the new Screen Capture API.

Due Date: 2019-05-14
Depends on: 1494034

We can’t ship during a release week.

Due Date: 2019-05-14 → 2019-05-09
Flags: needinfo?(kohei.yoshino)
Flags: needinfo?(kohei.yoshino)

Merging with bug 1377977.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.