New source found from dndbeyond.com

This commit is contained in:
2026-07-08 01:00:09 -07:00
parent 9a983a6d7b
commit dcefa0d2f2
2865 changed files with 222467 additions and 49053 deletions
+13 -1
View File
@@ -14,9 +14,21 @@ export default function ThemeProvider(_ref) {
} = _ref,
props = _objectWithoutPropertiesLoose(_ref, _excluded);
const scopedTheme = themeInput[THEME_ID];
let finalTheme = scopedTheme || themeInput;
if (typeof themeInput !== 'function') {
if (scopedTheme && !scopedTheme.vars) {
finalTheme = _extends({}, scopedTheme, {
vars: null
});
} else if (themeInput && !themeInput.vars) {
finalTheme = _extends({}, themeInput, {
vars: null
});
}
}
return /*#__PURE__*/_jsx(SystemThemeProvider, _extends({}, props, {
themeId: scopedTheme ? THEME_ID : undefined,
theme: scopedTheme || themeInput
theme: finalTheme
}));
}
process.env.NODE_ENV !== "production" ? ThemeProvider.propTypes = {