File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ fun ThemeWriter.writeAppColorsHeader() {
6868
6969 /**
7070 * GENERATED FILE: Do not edit this file manually.
71- * See [scripts/colorparser/ColorParser.kt ] for more information.
71+ * See [scripts/colorparser/ColorParser.kts ] for more information.
7272 */
7373 object AppColorScheme$classSuffix : AppColorScheme {
7474 """ .trimIndent()
@@ -93,7 +93,7 @@ fun FileWriter.writeAppColorsInterface() {
9393
9494 /**
9595 * GENERATED FILE: Do not edit this file manually.
96- * See [scripts/colorparser/ColorParser.kt ] for more information.
96+ * See [scripts/colorparser/ColorParser.kts ] for more information.
9797 */
9898 interface AppColorScheme {
9999 """ .trimIndent()
Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ figma 'Color2Code' plugin, which exports the Color Tokens.
2121 ` Camel case naming ` select ` Android ` and ` Semantics ` .
2222 ![ Color 2 Code settings] ( color_parser_color_2_code.png )
23233 . Copy the output of the plugin and paste it into the ` color_parser_input.txt ` file.
24- 4 . Run the ` ColorParser.kt ` script by clicking the play button in the file or running
24+ 4 . Run the ` ColorParser.kts ` script by clicking the play button in the file or running
2525
26- ` ./scripts/colorparser/colorparser .kts `
26+ ` ./scripts/colorparser/ColorParser .kts `
2727
28285 . The script will update the ` AppColorScheme.kt ` file and the corresponding files for both the
2929 light and dark themes.
3030
3131## File Structure
3232
33- - ` color_parser_input.txt ` : Paste the output of the 'Color2Code' plugin here.
34- - ` colorparser.kt ` : Script to parse the color tokens and generate the Compose code.
33+ - ` color_parser_input.kt ` : Paste the output of the 'Color2Code' plugin here.
34+ - ` ColorParser.kts ` : Script to parse the color tokens and generate the Compose code.
3535 `
You can’t perform that action at this time.
0 commit comments