Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artemnovichkov/stylin
⚗️ Zeplin extension that generates text style snippets.
https://github.com/artemnovichkov/stylin
extension swift zeplin zeplin-extension
Last synced: 3 months ago
JSON representation
⚗️ Zeplin extension that generates text style snippets.
- Host: GitHub
- URL: https://github.com/artemnovichkov/stylin
- Owner: artemnovichkov
- License: mit
- Created: 2019-04-16T15:11:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T01:48:36.000Z (about 2 years ago)
- Last Synced: 2024-10-24T16:49:45.693Z (4 months ago)
- Topics: extension, swift, zeplin, zeplin-extension
- Language: JavaScript
- Homepage:
- Size: 15.6 MB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![]()
[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.