Generate a color palette documentation
Learn how to create comprehensive documentation of your color palette (or primitives) accessible from your Figma document.
Last updated
Learn how to create comprehensive documentation of your color palette (or primitives) accessible from your Figma document.
Once the palette is finished, you can generate complete documentation of every shade and tint. Click the icon in the bottom bar, then select Generate a document to access the available document types.
As many documents as color modes will be generated.
You have 3 types of documents:
Palette with properties displays a palette composed of shades/tints with a few related metadata:
Palette displays every shade/tint without any metadata
Color sheet displays a sheet composed of shade/tint with the full related metadata:
The color shade/tint name (according to the chosen lightness scale preset)
The color shade/tint description
The hexadecimal code
The selected Color space values
The WCAG 2.1 contrast score with a recommendation
The APCA contrast score with a recommendation and every minimum font size according to the weight
The palette is instantly created close to your view.
Avoid editing the palette directly on the document canvas. The frame named "_colors﹒do not edit any layer" is by default locked to avoid any updates by hand.
The palette will be named as referred:
paletteName・paletteColorMode・presetName・colorSpace
When a document is selected on the canvas and recognized as a "UI Color Palette", you can choose another layout of the list of 3 types (see Generate a document of the palette). Once selected, the document will transform its layout.
When a document is selected on the canvas and recognized as a "UI Color Palette", the controller allows you to access the related palette by clicking the Open document button.
Keep in mind, this is a shortcut because a document is an instance of the palette. It works like the Figma component flow model (master-instance).
Last updated