import { ResponsiveProps } from '../utils/common.types'; declare type Color = string; declare type CommonColorKeys = 'cool' | 'blissful' | 'royal' | 'passionate' | 'classy' | 'unique' | 'iconic'; declare type FunctionalColorKeys = 'success' | 'error' | 'warning' | 'grayscale'; /** * Each color can have multiple shades. * Main define which shade is the main shade to use if none have been defined by developer. */ export declare type ColorWithShades = { [shade: number]: Color; }; export declare type NamedColors = { text: Color; textLight: Color; textError: Color; textWarning: Color; textDisabled: Color; textWhite: Color; bg: Color; bgLight: Color; bgDark: Color; bgDisabled: Color; border: Color; borderActive: Color; borderFocused: Color; }; export declare type CommonColors = { [key in CommonColorKeys]: ColorWithShades; }; export declare type FunctionalColors = { [key in FunctionalColorKeys]: ColorWithShades; }; export declare type Palette = { primary: ColorWithShades; secondary: ColorWithShades; common: CommonColors; functional: FunctionalColors; named: NamedColors; }; export declare type Breakpoint = number; declare type Breakpoints = Required>; export declare type Theme = { /** * Multiplies spacing unit with the multiplier provided */ spacing: (multiplier: number) => number; breakpoints: Breakpoints; media: { between: (breakpoint1: Breakpoint, breakpoint2: Breakpoint) => string; greaterThan: (breakpoint: Breakpoint) => string; lessThan: (breakpoint: Breakpoint) => string; }; palette: Palette; }; export declare type CreateThemeProps = { spacingUnit?: number; primaryColor: ColorWithShades; secondaryColor: ColorWithShades; }; export declare type CreateThemeType = (props: CreateThemeProps) => Theme; export {};