Commit faf4cdc
committed
docs(codegen): tell codegen to read deduped instances' textOverrides
figma_to_code prompt + figma-codegen SKILL now spell out that a deduped
instance carries textOverrides (its own visible text) — fill each repeated
element's content from that, since structure is identical but text differs per
instance, instead of copying the first instance's text, re-fetching the
un-deduped tree, or drilling per instance. Follows the get_design_context
textOverrides feature (7efc92d).1 parent f55d3d1 commit faf4cdc
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
0 commit comments