OptionalautoOptionalautoIf autoColor is specified then a label will be shown. This is ignored if autoColor is not specified.
OptionalautoA message key for the auto-color label, resolved through this panel's own (language-subscribed)
translator. Prefer this over pre-resolving autoColorLabel upstream: a string resolved in a
command-group render callback is baked into the element once (via the module-level t) and can
freeze on its key if the pack lands after that render. autoColorLabel (a literal node) still wins
when both are given.
OptionalautoIf autoColor is specified then a label will be shown. This is ignored if autoColor is not specified.
OptionalcompareDetermines if Adjustable colors with similar RGB values are considered the same.
OptionaldarkOptionaldefaultDefaults to 24px
OptionaldisableDefaults to false
OptionalinitialIf not specified or null then this will be determined based on whether the selected color is available in the presets (not include recent)
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalpreviewOptionalpreviewOptionalrecentOptionalschemeRequired to generate theme palettes. If not specified then DocTheme colors are used
null means no color of its own — the AUTO swatch is the selected one.
Optionalwidth
If autoColor is set then a special Swatch is created that will use this color. When it is selected or previewed the color passed will be null any consumer will then know to use the auto color