feat[devtools/extension]: add dark theme for popup (#27330)
## Summary If the system/browser uses a dark theme, then the extension popup still remains with a light background. And so that the eyes do not hurt in a dark room, you need a dark theme. ## How did you test this change? Make sure the dark theme is enabled on your system/browser. **Before:**  **After:** 
Pavel committed
Sep 11, 2023 at 16:02 UTC
627b7abd62eb27f70af3934ca45b858103d4f30d
1 file changed
+7
-1
packages/react-devtools-extensions/popups/shared.css
+7
-1
@@ -4,4 +4,10 @@ html, body {
4
5
body {
6
margin: 8px;
7
-}
\ No newline at end of file
7
+}
8
+
9
+@media (prefers-color-scheme: dark) {
10
+ html {
11
+ color-scheme: dark;
12
+ }
13
+}