This plugin generate a color palette as described in Ant Design color specs documentations.
- Download/clone this repo.
- Go to Plugin page in Figma.
- Go to Development section and add a plugin.
- Select Link existing plugin.
- Find and choose the
manifest.json
file in the downloaded folder.
- Open a file.
- Find "ant design colors" in Figma search menu.
- Set a color in hex format.
- (Optional) Check Create color styles and set a prefix to naming the styles.
- Click on Generate button.
- Add validations for inputs.
- Add messages.
- Add preview of palette.
- Add name, hex and rgb texts for generated elements in the canvas.
- Add option to remove generated color styles by prefix name.