@wocart/theme / index / ColorSchemesFieldDefinition
Interface: ColorSchemesFieldDefinition
colorSchemes: the store's color schemes, in order — a theme setting, at
most one per theme. Its default is the theme's own schemes.
Extends
FieldDefinitionBase
Properties
default
default: readonly
ColorScheme[]
description?
optionaldescription?:LocalizedText
Editor-facing help text.
Inherited from
FieldDefinitionBase.description
key
key:
string
The exact prop name the component expects.
Inherited from
FieldDefinitionBase.key
kind
kind:
"colorSchemes"
label
label:
LocalizedText
Editor-facing name, the same in every language or translated.
Inherited from
FieldDefinitionBase.label
required?
optionalrequired?:boolean
Inherited from
FieldDefinitionBase.required
visibleIf?
optionalvisibleIf?:FieldCondition
When an editor shows the field; absent: always. The renderer ignores it.
Inherited from
FieldDefinitionBase.visibleIf