1 | import { Base16Theme } from 'base16';
|
2 | import * as CSS from 'csstype';
|
3 | export interface Styling {
|
4 | className: string;
|
5 | style: CSS.Properties<string | number>;
|
6 | }
|
7 | export declare type StylingValueFunction = (styling: Styling, ...rest: any[]) => Partial<Styling>;
|
8 | export declare type StylingValue = string | CSS.Properties<string | number> | StylingValueFunction;
|
9 | export declare type StylingConfig = {
|
10 | extend?: string | Base16Theme | StylingValue;
|
11 | } & {
|
12 | [name: string]: StylingValue | string | Base16Theme;
|
13 | };
|
14 | export declare type Theme = string | Base16Theme | StylingConfig;
|
15 | export declare type StylingFunction = (keys: (string | false | undefined) | (string | false | undefined)[], ...rest: any[]) => Styling;
|