UNPKG

836 BTypeScriptView Raw
1import * as base16 from 'base16';
2import { Base16Theme } from 'base16';
3import { StylingConfig, StylingFunction, Theme } from './types';
4export declare const invertBase16Theme: (base16Theme: Base16Theme) => Base16Theme;
5interface Options {
6 defaultBase16?: Base16Theme;
7 base16Themes?: {
8 [themeName: string]: Base16Theme;
9 };
10}
11export declare const createStyling: import("lodash").CurriedFunction3<(base16Theme: Base16Theme) => StylingConfig, Options | undefined, Theme | undefined, StylingFunction>;
12export declare const getBase16Theme: (theme: Theme, base16Themes?: {
13 [themeName: string]: base16.Base16Theme;
14} | null | undefined) => Base16Theme | undefined;
15export declare const invertTheme: (theme: Theme | undefined) => Theme | undefined;
16export type { Base16Theme };
17export * from './types';