Bug 246618 - Dark mode for extension popups
Summary: Dark mode for extension popups
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Extensions (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-17 04:54 PDT by Carlos J.
Modified: 2022-10-17 10:31 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos J. 2022-10-17 04:54:03 PDT
The extension popups don't seem to support the dark mode media query. The only way the query gets detected is when a color-scheme is added: <meta name="color-scheme"content="light dark"> 

Sample extension:
https://github.com/carlosjeurissen/webext-tech-demo-extensions/tree/main/issues/safari-9612492-darkmode-in-extension-popup

In Chrome and Firefox, in dark mode the extension colors green. Yet in Safari it is blue. Basically it doesn't recognise the dark mode media query.
Comment 1 Carlos J. 2022-10-17 04:56:04 PDT
Previously reported as:
https://feedbackassistant.apple.com/feedback/9612492
Comment 2 Alexey Proskuryakov 2022-10-17 10:31:04 PDT
> https://feedbackassistant.apple.com/feedback/9612492

rdar://82937978

This was resolved as correct behavior, can you please clarify what this new report tracks?