Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function createThemeState(props) {
const base16Theme = getBase16Theme(props.theme, base16Themes);
const styling = createStylingFromTheme(props.theme, props.invertTheme);
return { base16Theme, styling };
}
function createThemeState(props) {
const base16Theme = getBase16Theme(props.theme, base16Themes);
const styling = createStylingFromTheme(props.theme, props.invertTheme);
return { base16Theme, styling };
}