Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 31, 2023 08:07 pm GMT

Convert Material 3 Theme Designs to Flutter Code

Parabeac Now compatible with Google Material Design 3 Themes

https://miro.medium.com/v2/resize:fit:1400/1*lsw0N-VFB_VKg2c8qeDgyA.png

With the release of Googles latest design system, Material Design 3, theres been an update to the way that colors in Light and Dark Schemes are selected. Parabeac has just released support in Parabeac Cloud and parabeac_core: now you have the option to select between Material Design 3 and Material Design 2 when converting themes to Flutter code.

Take a look at our updated Figma Kickstart filehere.

Converting with Parabeac Cloud

https://miro.medium.com/v2/resize:fit:1400/1*Ib0XqgBE1FEEvsNDGaMp_g.png

To convert a Material 3 Theme using Parabeac Cloud, the process remains the same as it was previously: simply create a Theme Project, select your GitHub branch, provide links to the Figma File, and convert. For more detailed instructions,check out our documentation.

Whats New: Color Palette

Based on Key tones, 13 shades shades are generated ranging from 0100. On the bottom end of the spectrum 0 is true black (#FFFFFF) and 100 is true white white (#00000). From these key tones, the derivative palette colors are selected.

https://miro.medium.com/v2/resize:fit:810/1*pBxxnnVrRlt7mBc9hSBmSQ.png

Parabeac has updated its Themes Figma Kickstart file to reflect this play with it here. To use our Figma file: edit the key tones and the palette will be generated. Then, to select the colors for the light and dark color schemes, use the dropper to choose the appropriate color from the gradient in the palette.

Accessibility and Contrast

One of the main goals of the Google Material 3 color palette is to improve accessibility. The new color palette is designed to meet the WCAG 2.1 AA standard for contrast ratio. This means that text and other important elements are more legible, making it easier for users with visual impairments to navigate and use the interface.

https://miro.medium.com/v2/resize:fit:1400/1*6406eaFKCcM1KhDqdkBRdw.png

While there are default values, such as Primary being set to Primary40 and On Primary set to Primary100, the user can manually set what shade from the key tone palette they would like to use though keep in mind there are specific contrast minimums set forth by Material 3.

Updates to Typography

https://miro.medium.com/v2/resize:fit:1400/1*8X2KLjxx4gMh8uhd_zrMFA.png

The naming conventions for typography have also been modified as well as several new font options added.

Conclusion

Whether youre currently using Material Design 2 or Material Design 3, we hope you use Parabeac to convert your design from Figma to Flutter Code! Head toparabeac.comto learn more or toapp.parabeac.comto try it today.


Original Link: https://dev.to/parabeac/convert-material-3-theme-designs-to-flutter-code-cm1

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To