onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
55 lines (54 loc) • 1.17 kB
TypeScript
export declare const buttonTokens: {
primary: {
default: string;
hover: string;
active: string;
disabled: string;
};
secondary: {
default: string;
hover: string;
active: string;
disabled: string;
};
outline: {
borderDefault: string;
borderHover: string;
borderActive: string;
text: {
default: string;
hover: string;
active: string;
disabled: string;
};
};
ghost: {
text: {
default: string;
hover: string;
active: string;
disabled: string;
};
};
destructive: {
text: {
default: string;
hover: string;
active: string;
disabled: string;
};
};
spacing: {
none: string | number;
cardSm: string;
gapMd: string;
gapXs: string;
};
radius: string;
typography: {
family: string;
weightMedium: string | number;
};
neutralText: string;
};
export type ButtonTokenMap = typeof buttonTokens;