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

Changelog, support for dark theme in document root

This commit is contained in:
dengr1065
2020-06-17 02:55:13 +03:00
parent 7f32216404
commit 97c52169da
4 changed files with 23 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,
}),