split styles to accomodate themes; added light/dark theme

This commit is contained in:
Nathanael Phillips 2020-11-04 13:12:41 -07:00
parent f7d7580b3a
commit b75aafd3ce
21 changed files with 2456 additions and 104 deletions

View file

@ -159,6 +159,9 @@ Hooks.once("setup", function() {
}
// add DND5E translation for module compatability
game.i18n.translations.DND5E = game.i18n.translations.SW5E;
// console.log(game.settings.get("sw5e", "colorTheme"));
let theme = game.settings.get("sw5e", "colorTheme") + '-theme';
document.body.classList.add(theme);
});
/* -------------------------------------------- */