Previous
arrow_back
Font family
Learn how to edit color tokens in Ant Design System for Figma with Figma Tokens plugin.
There are two methods to change color tokens in Ant Design System for Figma with the Figma Tokens plugin, depending on your needs.
By default, the UI kit uses the Daybreak Blue palette from the Ant Design colors library as its Primary color palette. You can easily switch from the Daybreak Blue color group to, for example, the Golden Purple group by simply referencing the color aliases in the Figma Tokens plugin. It’s the best method if you don’t have strict rules for the color you need to use, and you want to quickly change the Primary color group to a different color group available in Ant Design. For example, if you want to change the Primary color group from Daybreak Blue to Golden Purple.
After you edit the tokens, select Apply to document in the bottom-left menu and press the Update button in the Plugin. The plugin will apply your changes to the entire project (the process can take up to 10 minutes).
Let’s assume that you have only one color. For example, you are doing a project for a client whose brand color is ‘#11b55e’. You can use an official Palette Generation Tool from Ant Design and generate the entire color palette based on one color. Then, you can move these colors to Figma Tokens so the entire UI kit will use the palette you’ve generated.
After you edit the tokens, select Apply to document in the bottom-left menu and press the Update button in the Plugin. The plugin will apply your changes to the entire project (the process can take up to 10 minutes).
There are two methods to change color tokens in Ant Design System for Figma with the Figma Tokens plugin, depending on your needs.
By default, the UI kit uses the Daybreak Blue palette from the Ant Design colors library as its Primary color palette. You can easily switch from the Daybreak Blue color group to, for example, the Golden Purple group by simply referencing the color aliases in the Figma Tokens plugin. It’s the best method if you don’t have strict rules for the color you need to use, and you want to quickly change the Primary color group to a different color group available in Ant Design. For example, if you want to change the Primary color group from Daybreak Blue to Golden Purple.
After you edit the tokens, select Apply to document in the bottom-left menu and press the Update button in the Plugin. The plugin will apply your changes to the entire project (the process can take up to 10 minutes).
Let’s assume that you have only one color. For example, you are doing a project for a client whose brand color is ‘#11b55e’. You can use an official Palette Generation Tool from Ant Design and generate the entire color palette based on one color. Then, you can move these colors to Figma Tokens so the entire UI kit will use the palette you’ve generated.
After you edit the tokens, select Apply to document in the bottom-left menu and press the Update button in the Plugin. The plugin will apply your changes to the entire project (the process can take up to 10 minutes).
There are two methods to change color tokens in Ant Design System for Figma with the Figma Tokens plugin, depending on your needs.
By default, the UI kit uses the Daybreak Blue palette from the Ant Design colors library as its Primary color palette. You can easily switch from the Daybreak Blue color group to, for example, the Golden Purple group by simply referencing the color aliases in the Figma Tokens plugin. It’s the best method if you don’t have strict rules for the color you need to use, and you want to quickly change the Primary color group to a different color group available in Ant Design. For example, if you want to change the Primary color group from Daybreak Blue to Golden Purple.
After you edit the tokens, select Apply to document in the bottom-left menu and press the Update button in the Plugin. The plugin will apply your changes to the entire project (the process can take up to 10 minutes).
Let’s assume that you have only one color. For example, you are doing a project for a client whose brand color is ‘#11b55e’. You can use an official Palette Generation Tool from Ant Design and generate the entire color palette based on one color. Then, you can move these colors to Figma Tokens so the entire UI kit will use the palette you’ve generated.
After you edit the tokens, select Apply to document in the bottom-left menu and press the Update button in the Plugin. The plugin will apply your changes to the entire project (the process can take up to 10 minutes).
Stop wasting time on creating everything from scratch for every new project you start. Use pixel-perfect and handcrafted elements to design and implement your next Ant Design app efficiently.