variants beta
Function of @v12-engine/client/kit
ts
export declare function variants<C extends Choices>(definition: {
base?: string;
variants: C;
defaults?: Picked<C>;
}): Styled<C>;A look with choices, as a function of what is picked: button({ variant: 'primary', size: 'sm' }). What is not picked is the default; class is put at the end, for one more class from where it is used