Detecting system dark mode with "matchMedia" in the popup

Hello,
I'm running this:
Code Block
window.matchMedia('(prefers-color-scheme: dark)').matches

To see if the system is using dark mode. And while it works fine in extension pages, it will always return false in the popup window.

Is there some place where bugs like this can be reported?
Thanks!
Detecting system dark mode with "matchMedia" in the popup
 
 
Q