UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

12 lines (11 loc) 404 B
import type { StringWithSuggest } from "../../types/utils.js"; export type RealTheme = StringWithSuggest<'light' | 'light-hc' | 'dark' | 'dark-hc'>; export type ThemeType = 'light' | 'dark'; export type Theme = 'system' | RealTheme; export type Direction = 'ltr' | 'rtl'; export interface ThemeContextProps { theme: Theme; themeValue: RealTheme; direction: Direction; scoped?: boolean; }