@blockscout/ui-toolkit
Version:
A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects
49 lines (48 loc) • 1.61 kB
TypeScript
export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "control", {
size: {
md: {
root: {
gap: "2";
};
label: {
textStyle: "md";
};
control: {
boxSize: "5";
borderRadius: "sm";
} | undefined;
};
};
variant: {
solid: {
control: {
borderColor: "checkbox.control.border";
_hover: {
borderColor: "checkbox.control.border.hover";
};
_readOnly: {
borderColor: "checkbox.control.border.readOnly";
_hover: {
borderColor: "checkbox.control.border.readOnly";
};
'&:is([data-state=checked], [data-state=indeterminate])': {
bg: "checkbox.control.border.readOnly";
color: "gray.500";
_hover: {
bg: "checkbox.control.border.readOnly";
};
};
};
'&:is([data-state=checked], [data-state=indeterminate])': {
bg: "blue.500";
color: "white";
borderColor: "blue.500";
_hover: {
bg: "blue.400";
borderColor: "blue.400";
};
};
} | undefined;
};
};
}>;