Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/artemnovichkov/stylin

⚗️ Zeplin extension that generates text style snippets.
https://github.com/artemnovichkov/stylin

extension swift zeplin zeplin-extension

Last synced: about 2 months ago
JSON representation

⚗️ Zeplin extension that generates text style snippets.

Awesome Lists containing this project

README

        


Stylin



Zeplin Extension


Build Status

[Zeplin](https://zeplin.io) extension that generates text style snippets. Based on [Texstyle](https://github.com/rosberry/texstyle) framework.

## Getting started

Add the extension to your project from [extensions.zeplin.io](extensions.zeplin.io).

## Output

```swift
extension TextStyle {

static let sampleTextStyle: TextStyle = {
let style = TextStyle()
style.font = .systemFont(ofSize: 20, weight: .regular)
style.color = .black
style.alignment = .left
return style
}()

static let sampleTextStyleWithColor: TextStyle = {
let style = TextStyle()
style.font = .systemFont(ofSize: 20, weight: .regular)
style.color = .red
style.alignment = .left
return style
}()
}
```

## Development

This extension is developed using [zem](https://github.com/zeplin/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](https://github.com/zeplin/zeplin-extension-documentation).

## Thanks

- to [Sacha](https://t.me/Yahujik) for the logo
- to [Pasha](https://t.me/l_okk) for answering my stupid JS questions

## Authors

Artem Novichkov, [email protected]

[![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/artemnovichkov?utm_source=github&utm_medium=button&utm_term=artemnovichkov&utm_campaign=github)

## License

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