Represents the theme mode context for controlling the application's theme.
interface ThemeModeContext { toggle: () => Promise<boolean>; dark: () => Promise<void>; light: () => Promise<void>; system: () => Promise<boolean>; current: () => Promise<"dark" | "light" | "system">;} Copy
interface ThemeModeContext { toggle: () => Promise<boolean>; dark: () => Promise<void>; light: () => Promise<void>; system: () => Promise<boolean>; current: () => Promise<"dark" | "light" | "system">;}
Represents the theme mode context for controlling the application's theme.
Source