Swatch
A sample of one colour, passed in as --swatch-color. The colour is data written at the call site, never a theme value.
| Class | Effect | Type |
|---|---|---|
.swatch | A sample of one colour, passed in as --swatch-color. The colour is data written at the call site, never a theme value. | root |
.swatch-circle | Sets shape, one class per value. | axis shape |
.swatch-primary.swatch-neutral.swatch-info.swatch-success.swatch-warning.swatch-error | Sets color, one class per value. | axis color |
.swatch-xs.swatch-sm.swatch-md.swatch-lg.swatch-xl | Sets size, one class per value. | axis size |
.swatch-active | Written by the active prop. | flag |
.swatch-disabled | Drawn by the component; you never opt into it. | part |