Skip to content

Commit 766e7bc

Browse files
committed
fix(swatch+swatchgroup): style fix
1 parent 82d3bd0 commit 766e7bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/swatch/index.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,6 @@
331331
&.is-selected .spectrum-Swatch-fill::before {
332332
border-radius: var(--mod-swatch-border-radius, var(--spectrum-corner-radius-75));
333333
}
334-
335-
&.is-selected .spectrum-Swatch-fill {
336-
clip-path: circle(calc(50% - (var(--spectrum-swatch-border-thickness-selected) * 2)) at 50% 50%);
337-
}
338334
}
339335

340336
/* Variant: Rounding - Full */
@@ -349,6 +345,10 @@
349345
&.is-selected .spectrum-Swatch-fill::before {
350346
border-radius: var(--mod-corner-radius-full, var(--spectrum-corner-radius-full));
351347
}
348+
349+
&.is-selected .spectrum-Swatch-fill {
350+
clip-path: circle(calc(50% - (var(--spectrum-swatch-border-thickness-selected) * 2)) at 50% 50%);
351+
}
352352
}
353353
}
354354

0 commit comments

Comments
 (0)