Fix theme of in builder preview
This commit is contained in:
parent
ab0f81824d
commit
27d42a9bfe
|
@ -19,6 +19,7 @@
|
||||||
import { findComponent, findComponentPath } from "helpers/components"
|
import { findComponent, findComponentPath } from "helpers/components"
|
||||||
import { isActive, goto } from "@roxi/routify"
|
import { isActive, goto } from "@roxi/routify"
|
||||||
import { ClientAppSkeleton } from "@budibase/frontend-core"
|
import { ClientAppSkeleton } from "@budibase/frontend-core"
|
||||||
|
import { getThemeClassNames } from "@budibase/shared-core"
|
||||||
|
|
||||||
let iframe
|
let iframe
|
||||||
let layout
|
let layout
|
||||||
|
@ -257,7 +258,7 @@
|
||||||
class:mobile={$previewStore.previewDevice === "mobile"}
|
class:mobile={$previewStore.previewDevice === "mobile"}
|
||||||
>
|
>
|
||||||
{#if loading}
|
{#if loading}
|
||||||
<div class={`loading ${$themeStore.baseTheme} ${$themeStore.theme}`}>
|
<div class={`loading ${getThemeClassNames($themeStore.theme)}`}>
|
||||||
<ClientAppSkeleton
|
<ClientAppSkeleton
|
||||||
sideNav={$navigationStore?.navigation === "Left"}
|
sideNav={$navigationStore?.navigation === "Left"}
|
||||||
hideFooter
|
hideFooter
|
||||||
|
|
Loading…
Reference in New Issue