Repository URL to install this package:
|
Version:
0.0.4 ▾
|
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 {};