"use client"; import { createContext, useContext, type ReactNode } from "react"; export type PrototypeProductPreviewTheme = "light" | "dark"; const PrototypeProductPreviewThemeContext = createContext(null); export function PrototypeProductPreviewThemeProvider({ theme, children, }: { theme: PrototypeProductPreviewTheme; children: ReactNode; }) { return ( {children} ); } export function usePrototypeProductPreviewTheme(): PrototypeProductPreviewTheme | null { return useContext(PrototypeProductPreviewThemeContext); }