Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
connectkit / build / styles / types.d.ts
Size: Mime:
declare type RGB = `rgb(${number}, ${number}, ${number})`;
declare type RGBA = `rgba(${number}, ${number}, ${number}, ${number})`;
declare type HEX = `#${string}`;
declare type Color = RGB | RGBA | HEX;
declare type BorderRadius = number | string;
declare type Font = {
    family?: string;
};
interface Button {
    font?: Font;
    color?: Color;
    background?: Color;
    border?: Color;
    borderRadius?: BorderRadius;
    hover?: this;
}
interface Text {
    color?: Color;
    font?: Font;
    hover?: this;
}
export declare type Theme = {
    font?: Font;
    primary?: {
        color?: Color;
        colorSelected?: Color;
    };
    error?: {
        color?: Color;
    };
    text?: {
        primary?: Text;
        secondary?: Text;
        error?: Color;
        valid?: Color;
    };
    navigation?: {
        color?: Color;
    };
    buttons?: {
        primary?: Button;
        secondary?: Button;
    };
    modal?: {
        divider: Color;
        background?: Color;
        boxShadow?: string;
        borderRadius?: BorderRadius;
    };
    overlay?: {
        background?: Color;
        backdropFilter?: string;
    };
    tooltips?: {
        color?: Color;
        background?: Color;
        hover?: {
            color?: Color;
            background?: Color;
        };
    };
    qrCode?: {
        background?: Color;
        accentColor?: Color;
    };
};
export declare type ThemeMode = {
    preferred: 'light' | 'dark';
    light: Theme;
    dark: Theme;
};
export declare type CustomTheme = {
    connectKit: {
        options?: {
            iconStyle?: 'light' | 'regular' | 'heavy';
        };
        theme?: Theme | ThemeMode;
    };
};
export {};