-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text and Corner radius bugs #24
Comments
Awesome feedback, I'll fix them! |
Never mind for 4. |
I fixed it, but only for HTML. HTML supports height 100%. |
TigerStar429
pushed a commit
to TigerStar429/Figma_Code
that referenced
this issue
May 30, 2023
Fix border-radius missing in HTML. Fix missing border-radius in Vector. Add rose color to Vectors (which are unsupported). Fix Text when parent is set to fill (all frameworks). Fix color attribute in HTML's Text being misnamed. Fix textHeight in HTML. Fix justify layout in HTML. Change: when single item layout is set to justify, center it. Close bernaferrari/FigmaToCode#24.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1
Text elements under auto layout parent with "Fill container" width doesn't have
width: 100%
in generated codes.2
Corner radius in Figma doesn't produce
border-radius:
in generated codes.3
Text's color generates something like
<p class="Location" style="font-size: 11.50px; text: rgba(37.78, 188.06, 13.32, 1);">Text</p>
. It should becolor: rgba(37.78, 188.06, 13.32, 1);
4
In auto layout, the bottom empty spacing div's height of a Text should = parent's spacing + Text's height - Text's font size to be more accurate.
The text was updated successfully, but these errors were encountered: