fix: Dice So Nice import v14 compat, override Foundry text colors for readability
Release Creation / build (release) Failing after 1m28s
Release Creation / build (release) Failing after 1m28s
- hooks.mjs: replace static dice-so-nice import with dynamic import
using game.modules.get('dice-so-nice').id (path removed in v14)
- hooks.mjs: fix permission condition (|| -> &&), jQuery -> vanilla JS
- less/base.less: override --color-text-* and --button-text-color
for both .themed.theme-dark (AppV2) and body.theme-dark (legacy apps)
- target #settings-config buttons + labels + hints for dark grays
This commit is contained in:
@@ -10,7 +10,7 @@ export const registerSettings = function () {
|
||||
"2": "Cauchemar",
|
||||
"3": "Apocalypse"
|
||||
},
|
||||
default: 'e',
|
||||
default: '1',
|
||||
onChange: value => {
|
||||
let el = document.querySelector('.game-mode');
|
||||
el.id = 'game-mode-' + game.settings.get('vermine2047', 'game-mode')
|
||||
|
||||
Reference in New Issue
Block a user