fix: Dice So Nice import v14 compat, override Foundry text colors for readability
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:
2026-07-12 22:05:45 +02:00
parent dcc24b47ec
commit 90de66d668
44 changed files with 516 additions and 4305 deletions
+4 -4
View File
@@ -144,7 +144,7 @@ module.exports = {
'no-lone-blocks': 'warn',
'no-lonely-if': 'warn',
'no-loop-func': 'warn',
'no-magic-numbers': ['warn', { ignore: [0, 1, 2], ignoreEnums: true, ignoreNumericLiteralTypes: true, ignoreArrayIndexes: true }],
'@typescript-eslint/no-magic-numbers': 'off',
'no-multi-assign': 'warn',
'no-multi-str': 'warn',
'no-negated-condition': 'warn',
@@ -208,7 +208,7 @@ module.exports = {
'one-var': ['warn', 'never'],
'one-var-declaration-per-line': ['warn', 'initializations'],
'operator-assignment': ['warn', 'always'],
'prefer-arrow-callback': ['warn', { classPropertiesAllowed: true, disallowTLSClassFields: true }],
'prefer-arrow-callback': 'warn',
'prefer-const': ['error', { destructuring: 'all', ignoreReadBeforeAssign: false }],
'prefer-destructuring': ['warn', { array: false, object: true }],
'prefer-exponentiation-operator': 'warn',
@@ -221,7 +221,7 @@ module.exports = {
'prefer-rest-params': 'warn',
'prefer-spread': 'warn',
'prefer-template': 'warn',
'quote-props': ['warn', 'as-needed', { keywords: true, unnecessaryQuote: false, numbers: true }],
'quote-props': ['warn', 'as-needed'],
'radix': ['error', 'always'],
'require-await': 'warn',
'require-unicode-regexp': 'off',
@@ -313,7 +313,7 @@ module.exports = {
'padded-blocks': ['warn', 'never'],
'padding-line-between-statements': 'off',
'prefer-exponentiation-operator': 'warn',
'quote-props': ['warn', 'as-needed', { keywords: true, unnecessaryQuote: false, numbers: true }],
'quote-props': ['warn', 'as-needed'],
'quotes': ['warn', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
'rest-spread-spacing': ['warn', 'never'],
'semi': ['warn', 'always'],