Skip to content

Commit f5ae938

Browse files
fix apply theme on load
1 parent 333f9b2 commit f5ae938

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/app/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ svg rect {
7777
#shadcn-theme-editor {
7878
@apply w-fit
7979
}
80-
#shadcn-theme-editor > aside {
80+
div[role="dialog"] > #shadcn-theme-editor > aside {
8181
@apply !flex flex-col !static !bg-transparent
8282
}
8383
#shadcn-theme-editor> aside > :nth-last-child(2) {

app/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default async function RootLayout({
3131
</header>
3232
<main className="w-full">
3333
<div className="w-full flex flex-col justify-between md:px-8 px-4 lg:px-12 min-h-screen">{children}</div>
34-
{/* <ShadcnThemeEditor /> */}
34+
<ShadcnThemeEditor />
3535
<ThemeEditor />
3636
</main>
3737
</ThemeProvider>

0 commit comments

Comments
 (0)