Skip to content

Zeplin extension to export android styles resource.

License

Notifications You must be signed in to change notification settings

AlexeyKorshun/Styland

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Styland Zeplin Extension

Zeplin extension to export Android styles resource with adapted fontFamily path.

GitHub Actions status

Getting started

Add the extension to your project from extensions.zeplin.io.

Output

<resources>
    <style name="SampleTextStyle">
        <item name="android:textSize">20sp</item>
        <item name="android:fontFamily">@font/s_f_pro_text_regular</item>
        <item name="android:lineSpacingExtra">0sp</item>
        <item name="android:textColor">@color/black</item>
    </style>

    <style name="SampleTextStyleWithColor">
        <item name="android:textSize">20sp</item>
        <item name="android:fontFamily">@font/s_f_pro_text_regular</item>
        <item name="android:lineSpacingExtra">0sp</item>
        <item name="android:textColor">@color/red</item>
    </style>
</resources>

Development

This extension is developed using zem, Zeplin Extension Manager. zem is a command line tool that lets you quickly create, test and publish extensions.

To learn more about creating Zeplin extensions, see documentation.

LICENSE

Styliand is available under the MIT license. See the LICENSE file for more info.

About

Zeplin extension to export android styles resource.

Resources

License

Stars

Watchers

Forks

Packages

No packages published