mirror of
https://github.com/facebook/react.git
synced 2026-02-24 12:43:00 +00:00
## 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:** 
14 lines
137 B
CSS
14 lines
137 B
CSS
html, body {
|
|
font-size: 14px;
|
|
}
|
|
|
|
body {
|
|
margin: 8px;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
html {
|
|
color-scheme: dark;
|
|
}
|
|
}
|