We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 841b05b commit a988da3Copy full SHA for a988da3
components/lib/getThemeProps.ts
@@ -15,7 +15,7 @@ const cssColorModeToJs: Record<string, string> = {
15
dark: 'night',
16
}
17
18
-export const getThemeProps = (req: any, mode?: 'css') => {
+export function getThemeProps(req: any, mode?: 'css') {
19
let cookieValue: {
20
color_mode?: 'auto' | 'light' | 'dark'
21
dark_theme?: { name: string }
0 commit comments