diff --git a/src/app/_samples/embedded/embedded.component.ts b/src/app/_samples/embedded/embedded.component.ts index 59f61ef1..6c67e8ca 100644 --- a/src/app/_samples/embedded/embedded.component.ts +++ b/src/app/_samples/embedded/embedded.component.ts @@ -62,7 +62,7 @@ export class EmbeddedComponent implements OnInit, OnDestroy { const { authConfig, theme } = await getSdkConfig(); document.body.classList.remove(...['light', 'dark']); - document.body.classList.add(theme || 'dark'); + document.body.classList.add(theme || 'light'); initializeAuthentication(authConfig); diff --git a/src/app/_samples/full-portal/full-portal.component.ts b/src/app/_samples/full-portal/full-portal.component.ts index 9b3777ed..5aeafce9 100644 --- a/src/app/_samples/full-portal/full-portal.component.ts +++ b/src/app/_samples/full-portal/full-portal.component.ts @@ -58,7 +58,7 @@ export class FullPortalComponent implements OnInit, OnDestroy { async ngOnInit() { const { theme } = await this.scservice.readSdkConfig(); document.body.classList.remove(...['light', 'dark']); - document.body.classList.add(theme || 'dark'); + document.body.classList.add(theme || 'light'); this.initialize(); }