With the Sketch plugin, you can publish text styles from Sketch to your projects and styleguides on Zeplin.
Defining text styles in your Sketch file
In order to export text styles, you will need to define them in your Sketch file. Zeplin only recognizes text layers you have set up in your text styles.
☝️ If you do not see certain text styles on Zeplin, first check that your text layers have been added as text styles.
You can set up text styles in the right panel on Sketch.
Adding suggested text styles
When publishing artboards, Zeplin automatically exports any text styles in your Sketch document.
These text styles will be listed under the "Styleguide" section of your project. To add them to the project permanently, you can either add them all using the "Add All" button or click separately on the ones you want to add.
If you dismiss them once, Zeplin doesn't show these text styles again on your next export, to not bug you all the time.
Resetting suggested text style options
If you’d like to see suggested text styles again, select “Help > Reset Suggested Text Styles” from the menu up top, while you're in a project.
After selecting, just export another artboard and the text styles should appear again!
Exporting text styles directly to a styleguide
One unique feature of Zeplin’s plugin on Sketch is that you can export text styles directly to a project or styleguide. In the top menu bar on Sketch, select “Zeplin” then “Export Text Styles” to export only the text styles in your file to a project or styleguide.