We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82d3bd0 commit 766e7bcCopy full SHA for 766e7bc
components/swatch/index.css
@@ -331,10 +331,6 @@
331
&.is-selected .spectrum-Swatch-fill::before {
332
border-radius: var(--mod-swatch-border-radius, var(--spectrum-corner-radius-75));
333
}
334
-
335
- &.is-selected .spectrum-Swatch-fill {
336
- clip-path: circle(calc(50% - (var(--spectrum-swatch-border-thickness-selected) * 2)) at 50% 50%);
337
- }
338
339
340
/* Variant: Rounding - Full */
@@ -349,6 +345,10 @@
349
345
350
346
border-radius: var(--mod-corner-radius-full, var(--spectrum-corner-radius-full));
351
347
348
+
+ &.is-selected .spectrum-Swatch-fill {
+ clip-path: circle(calc(50% - (var(--spectrum-swatch-border-thickness-selected) * 2)) at 50% 50%);
+ }
352
353
354
0 commit comments