mastersam07 / figdart Goto Github PK
View Code? Open in Web Editor NEWConvert Figma styles to Flutter effortlessly.
License: MIT License
Convert Figma styles to Flutter effortlessly.
License: MIT License
Describe the bug
Tried generating effect styles from this design and got bad names like 1pxFocusRingEffect0.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Effects with proper names .
Suggestion
Cases where names start with some other character not an alphabet, move to the end of the name.
A design might not only contain textstyles but also colors. Ideally, i will want to generate the colors also.
Plugin should have capability to generate color class. Somewhere in the options menu, i should be able to say exactly what i want to generate (textstyles or colors).
A design may contain textstyles without names. In this case, this plugin generates textstyles without name and a text theme extension whose properties are not named as shown in the attached images.
Generate and assign names to unnamed textstyles. Bonus if we can alert the user that some textstyles are not named.
Describe the bug
After exporting textstyles, height values appears to be wrong.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should get the correct height. I should also be allowed not to include the height.
As for the documentation of the flutter font weight it would be helpful if we can create a mapping between more fonts as Bold and Medium (as for now)
The flutter font specifies the following: (all except thin exist in figma also)
/// * [w100]: Thin, the thinnest font weight. (dont exist in figma)
/// * [w200]: Extra light.
/// * [w300]: Light.
/// * [w400]: Normal. The constant [FontWeight.normal] is an alias for this value.
/// * [w500]: Medium.
/// * [w600]: Semi-bold.
/// * [w700]: Bold. The constant [FontWeight.bold] is an alias for this value.
/// * [w800]: Extra-bold.
/// * [w900]: Black, the thickest font weight.
maybe the figdart plugin can handle these weights also - thanks!
When we generate TextStyles the letterSpacing property is assumed to be in PERCENT.
Please also support the pixel values, as it shouldnt matter if the value is set as percent or as pixels
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.