Intent to Extend Experiment: Dark mode support for web apps

85 views
Skip to first unread message

Louise Brett

unread,
Jul 19, 2022, 1:50:04 AM7/19/22
to blin...@chromium.org, Glen Robertson

Contact emails

loub...@google.comgle...@chromium.orgmgi...@chromium.org

Explainer

https://github.com/WICG/manifest-incubations/blob/gh-pages/user-preferences-explainer.md

Specification

In progress: https://github.com/WICG/manifest-incubations/pull/57 

Summary

Add a field to the web app manifest which allows apps to specify a different theme color and background color for dark mode.



Blink component

Blink>AppManifest

TAG review

https://github.com/w3ctag/design-reviews/issues/696

TAG review status

Closed. Requested changes were made.

Risks



Interoperability and Compatibility



Gecko: No signal (https://github.com/mozilla/standards-positions/issues/630)

WebKit: No signal (https://lists.webkit.org/pipermail/webkit-dev/2022-April/032187.html)

Web developers: Positive (https://github.com/w3c/manifest/issues/975)

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?



Goals for experimentation

Allow web developers to use this field and provide feedback.



Reason this experiment is being extended

The manifest format will be changing again - there are ongoing discussions as to what this should look like.



Ongoing technical constraints



Debuggability

chrome://web-app-internals can be used for debugging, and this has been added to the DevTools Application pane.



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

No

Not supported on Android



Is this feature fully tested by web-platform-tests?

Yes

Flag name

chrome://flags/#enable-experimental-web-platform-features

Requires code in //chrome?

True

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1271804

Launch bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1279284

Estimated milestones

OriginTrial desktop last104
OriginTrial desktop first99

Requesting a 3 milestone extension to 107 (inclusive).

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5714780426862592

Links to previous Intent discussions

Intent to prototype
Intent to Experiment
Intent to Extend Experiment - Gave the experiment a 6 milestone duration

This intent message was generated by Chrome Platform Status.

Yoav Weiss

unread,
Jul 19, 2022, 8:45:39 AM7/19/22
to Louise Brett, blink-dev, Glen Robertson
LGTM to extend experimentation till M107 inclusive.

OT extensions beyond 6 milestones requiring demonstration of progress towards meeting the shipping bars, and I believe the PR draft below shows such progress. Thanks! :)

On Tue, Jul 19, 2022 at 7:49 AM 'Louise Brett' via blink-dev <blin...@chromium.org> wrote:

Contact emails

loub...@google.comgle...@chromium.orgmgi...@chromium.org

Explainer

https://github.com/WICG/manifest-incubations/blob/gh-pages/user-preferences-explainer.md

Specification

In progress: https://github.com/WICG/manifest-incubations/pull/57 

Summary

Add a field to the web app manifest which allows apps to specify a different theme color and background color for dark mode.



Blink component

Blink>AppManifest

TAG review

https://github.com/w3ctag/design-reviews/issues/696

TAG review status

Closed. Requested changes were made.

Risks


Any more specific pointers towards developer signals? It's a long thread, with many browser folks.
 
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABeVxY3DM03k_09hUFONFfOrzDAvr1JPPYgXywRvLCOieUaKjA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages