This plugin generates code for QML
Zeplin extension that generates sample snippets.
Add the extension to your project from extensions.zeplin.io.
Rectangle {
width: 464
height: 510
radius: 4
border {
width: 2
color: "#ffbb18"
}
}
Text {
text: qsTr(example text for plugin')
color: "#ffffff"
font.pixelSize: 14
wrapMode: Text.WordWrap
elide: Text.ElideRight
}
Name of function to apply to size, width, height.
Display resources from linked and parent style guides.
QML name space of style guide. A prefix to color names etc.
Display hex colors in ARGB format with the alpha value as the first tuple (instead of the default Zeplin format with alpha last)
If enabled, will wrap text into qsTr('text')
or qsTrId('text-id')
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.