Skip to main content

Variable: colourPaletteConfigSchema

const colourPaletteConfigSchema: object

Defined in: src/lib/palette/schema.ts:52

Schema of a colour palette's content

Type Declaration​

additionalProperties​

readonly additionalProperties: false = false

properties​

readonly properties: object

properties.colours​

readonly colours: object = paletteColoursSchema

properties.colours.items​

readonly items: object

properties.colours.items.pattern​

readonly pattern: "^#[0-9a-fA-F]{6}$" = HEX_COLOUR_PATTERN

properties.colours.items.type​

readonly type: "string" = "string"

properties.colours.maxItems​

readonly maxItems: 1000 = MAX_PALETTE_COLOURS

properties.colours.type​

readonly type: "array" = "array"

required​

readonly required: readonly ["colours"]

type​

readonly type: "object" = "object"