optional object
Function description: Table theme swatches
parameter | parameter | type | Defaults | required |
---|
brandColor | Swatch theme color | string | - | ✓ |
basicColors | base color | string[] | - | ✓ |
basicColorRelations | The correspondence between basicColors and the subscripts of the standard color palette array | Array<{ basicColorIndex: number; standardColorIndex: number;}> | - | ✓ |
semanticColors | Colors used to represent the actual business semantics. For example, the built-in color "red fall green rise" | [key: string] | - | ✓ |
others | Colors used to represent the actual business semantics. For example, the built-in color "red fall green rise" | [key: string] | - | |