diff --git a/src/components/gui/gui.jsx b/src/components/gui/gui.jsx index 08f475f72..c43f1b88b 100644 --- a/src/components/gui/gui.jsx +++ b/src/components/gui/gui.jsx @@ -58,6 +58,9 @@ const getFullscreenBackgroundColor = () => { if (params.has('fullscreen-background')) { return params.get('fullscreen-background'); } + if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + return '#111'; + } return 'white'; };