Variable: colourPaletteFile
constcolourPaletteFile:default<ColourPalette>
Defined in: src/lib/palette/index.ts:43
Reads and writes colour palette collection files. Files from before versioned schemas (format and version: 1,
holding one list of colours) are read as one palette named LEGACY_PALETTE_NAME, and files of version 1 are
migrated.
Example
const palettes = colourPaletteFile.parse(await file.text());