colorProp
Creates a color property schema. Colors are strings in CSS format (e.g., “#ff0000”, “rgba(255,0,0,1)”).
defaultValue
Default color value
options
Property options
Call Signature
Section titled “Call Signature”colorProp(
defaultValue,options):PropertySchema<string,"color",true>
Defined in: packages/sigma/src/primitives/schema.ts:152
Creates a color property schema with variable support.
Parameters
Section titled “Parameters”defaultValue
Section titled “defaultValue”string
options
Section titled “options”Returns
Section titled “Returns”PropertySchema<string, "color", true>
Call Signature
Section titled “Call Signature”colorProp(
defaultValue,options?):PropertySchema<string,"color",false>
Defined in: packages/sigma/src/primitives/schema.ts:161
Creates a color property schema without variable support.
Parameters
Section titled “Parameters”defaultValue
Section titled “defaultValue”string
options?
Section titled “options?”Returns
Section titled “Returns”PropertySchema<string, "color", false>