You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This script converts color tokens from Figma to Compose format. It is designed to be used with the
4
+
figma 'Color2Code' plugin, which exports the Color Tokens.
5
+
6
+
## Requirements
7
+
8
+
- Android Studio
9
+
- 'Color2Code' plugin for Figma
10
+
- command line kotlin (`brew install kotlin`)
11
+
12
+
## Usage
13
+
14
+
1. Open
15
+
the [Color Tokens page](https://www.figma.com/file/jTFWg6tZjCWwcxqwkKmykZ/app-foundation?type=design&node-id=1259-12&mode=design&t=BcdgPKHmtGLKMZL8-11)
16
+
in Figma.
17
+
1. Run the [Color2Code](https://www.figma.com/community/plugin/1262830857362718014) plugin in Figma.
18
+
Note: you need edit rights for this, perhaps you need to do
19
+
this in collaboration with a designer.
20
+
2. Export the Color Tokens using the plugin. Disable `Remove group names`; enable
21
+
`Camel case naming` select `Android` and `Semantics`.
0 commit comments