Skip to content

Commit

Permalink
fix(web): published page not getting theme
Browse files Browse the repository at this point in the history
  • Loading branch information
KaWaite committed Jun 20, 2023
1 parent 55f82a1 commit a797dd2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion web/src/services/theme/publishedAppProvider.tsx
@@ -1,10 +1,16 @@
import { ThemeProvider } from "@emotion/react";
import { ReactNode } from "react";

import classicTheme from "@reearth/classic/theme/reearthTheme/darkTheme";

import GlobalStyle from "./reearthTheme/common/globalStyles";
import theme from "./reearthTheme/darkTheme";
import betaTheme from "./reearthTheme/darkTheme";

const Provider: React.FC<{ children?: ReactNode }> = ({ children }) => {
const theme = {
classic: classicTheme,
...betaTheme,
};
return (
<ThemeProvider theme={theme}>
<GlobalStyle />
Expand Down

0 comments on commit a797dd2

Please sign in to comment.