Skip to content

Commit 0c0688b

Browse files
committed
chore(swatch+swatchgroup): add hovered hover + keyboard focus controls for add swatch
1 parent cc43ce2 commit 0c0688b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/swatch/dist/metadata.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
"--spectrum-swatch-icon-border-color",
9696
"--spectrum-swatch-icon-color",
9797
"--spectrum-swatch-inner-border-color-selected",
98+
"--spectrum-swatch-rectangle-width-multiplier",
9899
"--spectrum-swatch-size",
99100
"--spectrum-swatch-size-extra-small",
100101
"--spectrum-swatch-size-large",

components/swatch/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@
311311
}
312312

313313
.spectrum-Swatch--rectangle {
314-
inline-size: calc(var(--spectrum-swatch-size) * var(--spectrun-swatch-rectangle-width-multiplier));
314+
inline-size: calc(var(--spectrum-swatch-size) * var(--spectrum-swatch-rectangle-width-multiplier));
315315
}
316316

317317
/* Variant: Rounding - Full */

0 commit comments

Comments
 (0)