UNPKG

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