diff --git a/src/forbidden-lands.ts b/src/forbidden-lands.ts index 396d4d1d..e4fa457d 100644 --- a/src/forbidden-lands.ts +++ b/src/forbidden-lands.ts @@ -76,7 +76,10 @@ Hooks.once("init", () => { if (game.settings.get("forbidden-lands", "removeBorders")) $("html").addClass("no-borders"); - if (game.settings.get("forbidden-lands", "darkmode")) + if ( + Number(game.version) < 12 && + game.settings.get("forbidden-lands", "darkmode") + ) $("body").addClass("theme-dark"); }); diff --git a/src/legacy-styles/components/_dialog.scss b/src/legacy-styles/components/_dialog.scss index ede3faff..a6d66c9c 100644 --- a/src/legacy-styles/components/_dialog.scss +++ b/src/legacy-styles/components/_dialog.scss @@ -90,10 +90,10 @@ } button { - background: #eee; - padding: 0.3em 2em; - font-weight: normal; - border: 2px groove #e0e0e0; + background: var(--color-theme-gray-400); + padding: 0.3em 32px; + font-weight: 400; + border: 2px solid var(--color-theme-gray-400); width: 100%; display: flex; justify-content: center; @@ -102,8 +102,7 @@ &:hover, &:focus { box-shadow: none; - border: 2px groove var(--color-theme-alt-600); - background: var(--color-theme-alt-600); + background: var(--color-theme-gray-200); } &:active { diff --git a/src/legacy-styles/system/_main.scss b/src/legacy-styles/system/_main.scss index f688a73e..e9c2a561 100644 --- a/src/legacy-styles/system/_main.scss +++ b/src/legacy-styles/system/_main.scss @@ -174,7 +174,7 @@ button:focus, button:hover { - background: var(--color-theme-alt-600); + background: var(--color-theme-gray-200); } input[type="number"], diff --git a/src/system/core/styles/variables.scss b/src/system/core/styles/variables.scss index 689a6a4e..3b08d9c6 100644 --- a/src/system/core/styles/variables.scss +++ b/src/system/core/styles/variables.scss @@ -5,6 +5,7 @@ body { --color-theme-contrast: var(--color-theme-gray-200); --color-theme-accent: #a00404; --color-theme-gray-200: #dddddd; + --color-theme-gray-400: #999999; --color-theme-gray-600: #707070; --color-theme-gray-800: #333333; --color-theme-alt-200: #ffb994;