Skip to content

Commit 88df46c

Browse files
committed
CHANGE optic code changes
1 parent 44de73b commit 88df46c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

scripts/colorparser/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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)
2323
3. 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

2828
5. 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
`

0 commit comments

Comments
 (0)