diff --git a/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx b/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx index ef8c3ed6c5..7af4eb4da2 100644 --- a/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx +++ b/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx @@ -22,6 +22,7 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => { const [themeName, setThemeName] = useState('') useEffect(() => { + props._deps.themeModule.switchTheme() const token = props.config.get('settings/gist-access-token') if (token === undefined) { props.config.set('settings/generate-contract-metadata', true) @@ -140,7 +141,7 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => { if (themes) { return themes.map((aTheme, index) => (