feat: migrate ColorSwatch and public color boundary
This commit is contained in:
@@ -1782,3 +1782,26 @@ export const autocompleteVariants = tv({
|
||||
});
|
||||
|
||||
export type AutocompleteVariants = VariantProps<typeof autocompleteVariants>;
|
||||
|
||||
export const colorSwatchVariants = tv({
|
||||
base: "hv-color-swatch",
|
||||
defaultVariants: {
|
||||
shape: "circle",
|
||||
size: "md",
|
||||
},
|
||||
variants: {
|
||||
shape: {
|
||||
circle: "hv-color-swatch--circle",
|
||||
square: "hv-color-swatch--square",
|
||||
},
|
||||
size: {
|
||||
lg: "hv-color-swatch--lg",
|
||||
md: "hv-color-swatch--md",
|
||||
sm: "hv-color-swatch--sm",
|
||||
xl: "hv-color-swatch--xl",
|
||||
xs: "hv-color-swatch--xs",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export type ColorSwatchVariants = VariantProps<typeof colorSwatchVariants>;
|
||||
|
||||
Reference in New Issue
Block a user