diff --git a/ui/design-tokens/src/Colors/ColorBlock1/ColorBlock1.tsx b/ui/design-tokens/src/Colors/ColorBlock1/ColorBlock1.tsx index d7f640977..01e4b4651 100644 --- a/ui/design-tokens/src/Colors/ColorBlock1/ColorBlock1.tsx +++ b/ui/design-tokens/src/Colors/ColorBlock1/ColorBlock1.tsx @@ -16,7 +16,14 @@ export const ColorBlock1: FC = ({ name, color, sx }) => { const colorValue = typeof color === 'string' ? color : color.value; const { hex, rgba } = colorToStr(colorValue); return ( - + = ({ name, color, sx }) => { const { hex } = colorToStr(colorValue); const textColor = mostReadable(hex); return ( - + = ({ name, color, sx }) => { const colorValue = typeof color === 'string' ? color : color.value; const { hex, rgba } = colorToStr(colorValue); return ( - + = ({ children, palette, gap = 2, - columns = [3], + width = 220, ref, ...rest }) => { @@ -19,7 +19,7 @@ export const GridContainer: FC = ({ onMouseOver={() => setHover(true)} onMouseOut={() => setHover(false)} gap={gap} - columns={columns} + width={width} {...rest} > {Object.keys(palette).map(color =>