Skip to content

Commit 457cb4e

Browse files
committed
[style](@svelteui/core): format svelteUIProvider code
1 parent a30ebd1 commit 457cb4e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/svelteui-core/src/styles/theme/SvelteUIProvider/SvelteUIProvider.svelte

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@
3737
const forwardEvents = createEventForwarder(get_current_component());
3838
const DEFAULT_THEME = useSvelteUITheme();
3939
40-
let currentTheme: string | null = null;
40+
let currentTheme: string | null = null;
4141
$: {
42-
if (themeObserver !== null)
43-
{
44-
currentTheme = themeObserver === 'light' ? (mergedTheme as unknown as string) : (dark as string);
45-
}
42+
if (themeObserver !== null) {
43+
currentTheme = themeObserver === 'light'
44+
? (mergedTheme as unknown as string)
45+
: (dark as string);
46+
}
4647
}
4748
4849
$: if (withGlobalStyles) SvelteUIGlobalCSS();

0 commit comments

Comments
 (0)