react-base16-styling
Version:
React styling with base16 color scheme support
18 lines (17 loc) • 836 B
TypeScript
import * as base16 from 'base16';
import { Base16Theme } from 'base16';
import { StylingConfig, StylingFunction, Theme } from './types';
export declare const invertBase16Theme: (base16Theme: Base16Theme) => Base16Theme;
interface Options {
defaultBase16?: Base16Theme;
base16Themes?: {
[themeName: string]: Base16Theme;
};
}
export declare const createStyling: import("lodash").CurriedFunction3<(base16Theme: Base16Theme) => StylingConfig, Options | undefined, Theme | undefined, StylingFunction>;
export declare const getBase16Theme: (theme: Theme, base16Themes?: {
[themeName: string]: base16.Base16Theme;
} | null | undefined) => Base16Theme | undefined;
export declare const invertTheme: (theme: Theme | undefined) => Theme | undefined;
export type { Base16Theme };
export * from './types';