Skip to content

Commit 5754dce

Browse files
committed
Add missing size for ColorRows that are scales
Without this, a `size` prop applied to a `ColorPalette` is only picked up for top-level colors that are not scales (e.g. `primary`, `text`, `background`).
1 parent ef9b2aa commit 5754dce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/style-guide/src/ColorPalette.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const ColorRow = ({
4545
key={key}
4646
name={id}
4747
colors={color as Colors}
48+
size={size}
4849
omit={omit}
4950
/>
5051
)

0 commit comments

Comments
 (0)