@useloops/design-system
Version:
The official React based Loops design system
18 lines (15 loc) • 469 B
TypeScript
import * as react from 'react';
import { PaletteMode, Theme } from '@mui/material';
import { CustomTheme } from './types.js';
interface ThemeCtx {
breakpoint: string;
custom: CustomTheme;
gridOverlayVisible: boolean;
mode: PaletteMode;
theme: Theme;
toggleGridOverlay: () => void;
toggleMode: (mode?: PaletteMode) => void;
}
declare const ThemeContext: react.Context<Nullable<ThemeCtx>>;
export { ThemeContext };
export type { ThemeCtx };