Quick Text Style Setup in Sketch
Tutorials
One of the biggest obstacles in the design process is keeping everything consistent. We use Sketch's Text styles to help us keep track of type hierarchy. That's why you should set them up in the early stages of your project. Text (and layer) styles can be changed in the overrides panel of a symbol.
Write the Text styles in a list, then align them to the center and adjust size and line height for each one of them.
Now, we want to duplicate the list twice, and align one to the left and the other to the right.
We’ll probably need more than one color in our design. Duplicate the columns we’ve created and change the color of their text layers.
The same can be applied to create styles for different weights.
In order to navigate easily through our Text styles, it’s important to organize their naming correctly. We group them just like we group our symbols: by using slashes ( “/” ) between our groups in a layer name.
To quickly rename multiple layers use the Rename It plugin.
Select the first column and open the plugin. Type in this Text style structure: %*/Weight/Alignment/Color (%* will be replaced with the current layer name, e.g. H1, H2). Click the Rename button.
Repeat this step for each column until all layers have been named properly.
All we have to do now is create Text styles out of our text layers.
In order to select all layers at once, we will use a Styles generator plugin.
Simply select all our text layers and press ⌃⌘S or go to Plugins → Styles Generator → Generate Shared Styles
Your Text styles should look something like this, but probably with not so cool color names :)