UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

12 lines (11 loc) 456 B
import { AdaptableTheme } from '../../../types'; import { IAdaptableService } from './IAdaptableService'; export interface IThemeService extends IAdaptableService { getDOMPrefferedColorScheme(): 'dark' | 'light'; /** * Maps the theme to the correct theme object or string * This is used to apply the correct theme when the theme is OS * @param theme */ mapOsTheme(theme: AdaptableTheme | string): AdaptableTheme | string; }