diff --git a/examples/pages-router/pages/static-dark-color-scheme.tsx b/examples/pages-router/pages/static-dark-color-scheme.tsx index a36df2be..c0fc5f7e 100644 --- a/examples/pages-router/pages/static-dark-color-scheme.tsx +++ b/examples/pages-router/pages/static-dark-color-scheme.tsx @@ -1,16 +1,16 @@ import { ColorSchemeType } from "nextjs-themes"; -function StaticBlackTheme() { +function StaticDarkColorScheme() { return (
{`function MyPage() {
return (<>...>)
}
-MyPage.theme = "my-theme";
+MyPage.colorScheme = "dark";
export default MyPage;`}
@@ -19,6 +19,6 @@ export default MyPage;`}
);
}
-StaticBlackTheme.colorScheme = "dark" as ColorSchemeType;
+StaticDarkColorScheme.colorScheme = "dark" as ColorSchemeType;
-export default StaticBlackTheme;
+export default StaticDarkColorScheme;