Closed apackin closed 1 week ago
Looks like this PR broke names like blue-200
These used to convert to blue200
and now blueNegative200
This PR needs to be rolled back or fixed
Got it. Thanks for the flag. I'll update the regex to only consider if the name starts with a -
instead of any -
proceeding a number. Does that make sense?
Opened a PR for this Do we want to remove the digit restrictions in the regex as you proposed @apackin ? https://github.com/mark-nicepants/figma2flutter/pull/42
Going to leave the digit restriction in. This test case becomes more complicated because of the case manipulation
Approved the PR. The way you have it looks right.
https://github.com/mark-nicepants/figma2flutter/issues/33
Negative number variable names (I.E. "-4") currently discard the "-", creating breaking duplicate getters. This replaces "-" with "Negative" for negative numbers rather than omitting it.