1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Merge pull request #197 from dengr1065/dark-theme-is-cool

Dark Theme - slowly for everything
This commit is contained in:
tobspr
2020-06-21 20:19:01 +02:00
committed by GitHub
9 changed files with 127 additions and 2 deletions

View File

@@ -160,7 +160,7 @@ export const allApplicationSettings = [
*/
(app, id) => {
applyGameTheme(id);
document.body.setAttribute("data-theme", id);
document.documentElement.setAttribute("data-theme", id);
},
enabled: !IS_DEMO,
}),