Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
import { createContext } from "react";
export type Theme = "dark" | "light" | "system";
type ThemeProviderState = {
theme: Theme;
setTheme: (theme: Theme) => void;
};
const initialState: ThemeProviderState = {
theme: "dark",
setTheme: () => null,
};
export const ThemeProviderContext =
createContext<ThemeProviderState>(initialState);