Closed Bug 1565051 Opened 6 years ago Closed 6 years ago

Enable `browser.in-content.dark-mode` by default and let it ride the trains

Categories

(Toolkit :: Themes, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
relnote-firefox --- 70+
firefox68 --- disabled
firefox69 --- disabled
firefox70 + fixed

People

(Reporter: ntim, Assigned: ntim)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Right now, this preference is only enabled in Nightly since Firefox 68.

The only main UX issue I see is that the in-content dark mode follows the system dark theme, but not necessarily the browser theme. In my opinion, this is OK given that the default browser theme also follows the system theme, so in the default case, this is fairly consistent. The only potential mismatch would be if someone has the Light/Dark/third party browser theme on, and the opposite system theme enabled, but that sounds more like an edge-case to me.

Apart from that issue, there are only a few minor visual issues that need to be fixed in order for this to ship.

(In reply to Tim Nguyen :ntim from comment #0)

The only main UX issue I see is that the in-content dark mode follows the system dark theme, but not necessarily the browser theme. In my opinion, this is OK given that the default browser theme also follows the system theme, so in the default case, this is fairly consistent. The only potential mismatch would be if someone has the Light/Dark/third party browser theme on, and the opposite system theme enabled, but that sounds more like an edge-case to me.

Also, if that's any relevant, Chrome actually ships it that way.

Depends on: 1564614
Depends on: 1559302
Depends on: 1549288
Depends on: 1545969

(In reply to Tim Nguyen :ntim from comment #0)

The only main UX issue I see is that the in-content dark mode follows the system dark theme, but not necessarily the browser theme. In my opinion, this is OK given that the default browser theme also follows the system theme, so in the default case, this is fairly consistent. The only potential mismatch would be if someone has the Light/Dark/third party browser theme on, and the opposite system theme enabled, but that sounds more like an edge-case to me.

Users are weird. They tend to depend on edge-case behavior and cry foul if we change it later on. So I think we should be a bit more deliberate about what behavior we want in the long run here.

Depends on: 1565254

(In reply to Dão Gottwald [::dao] from comment #2)

Users are weird. They tend to depend on edge-case behavior and cry foul if we change it later on. So I think we should be a bit more deliberate about what behavior we want in the long run here.

I talked to :shorlander yesterday and he mentioned we should ideally follow the browser theme rather than the system theme, but he said we should ship this despite this limitation especially since nobody has time to work on bug 1529323 at the moment.

[Tracking Requested - why for this release]: It's been enabled since Firefox 68 on Nightly, it would be nice to enable this by default for everyone now that there has been enough Nightly testing/feedback and since UX is also OK with this.

Once this lands, can you suggest a release note (and suggest wording for it)?

relnote-firefox: --- → ?
Flags: needinfo?(ntim.bugs)

Release Note Request (optional, but appreciated)
[Why is this notable]: Users <3 dark modes
[Affects Firefox for Android]: no
[Suggested wording]: Built-in Firefox pages now follow the system dark mode preference
[Links (documentation, blog post, etc)]: n/a

Flags: needinfo?(ntim.bugs)

(In reply to Tim Nguyen :ntim from comment #7)

[Why is this notable]: Users <3 dark modes

That's right, apparently VCs know it makes you "10x" !
https://twitter.com/skirani/status/1149302834619248640

Pushed by ntim.bugs@gmail.com: https://hg.mozilla.org/integration/autoland/rev/8ef8dd1fdf50 Enable 'browser.in-content.dark-mode' by default and let it ride the trains. r=dao
Depends on: 1565896
Assignee: nobody → ntim.bugs
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Blocks: 1626619
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: