@dynamic-labs/sdk-react-core
Version:
A React SDK for implementing wallet web3 authentication and authorization to your website.
14 lines (9 loc) • 441 B
JavaScript
'use client'
;
Object.defineProperty(exports, '__esModule', { value: true });
var themesData = require('../../../context/ThemeContext/themesData.cjs');
var isThemeSetting = require('../typeGuard/isThemeSetting.cjs');
const parseTheme = (theme, projectSettingsDesignModal) => isThemeSetting.isThemeSetting(theme)
? themesData.getThemeConfig(projectSettingsDesignModal, theme)
: theme;
exports.parseTheme = parseTheme;