@json-to-office/core-docx 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7318,6 +7318,9 @@ function createBuilderImpl(state) {
7318
7318
  return state.customThemes[key];
7319
7319
  }
7320
7320
  }
7321
+ if (state.theme) {
7322
+ return state.theme;
7323
+ }
7321
7324
  return getThemeWithFallback(themeName);
7322
7325
  }
7323
7326
  async function processDocumentComponents(components, warningsCollector, resolvedTheme, depth = 0) {