Sublime Forum

How to get Font Italics to more scopes

#1

I am trying a new font called Dank Mono, it is like Operator Mono as it has a Regular and Italic variant. It works a little with the standard themes, but I would like more scopes to be in italics if possible.

For example, here is the Mariana theme using Dank Mono font:

CloudApp

Here is Oceanic Next using italics in the theme:

CloudApp

How can I add more scopes for italics into base themes like Mariana and Monokai? I know they are in a new format now and no longer using tmTheme files so where can I edit?

0 Likes

#2

You’ll need to customize the color scheme to add rules that specify the font should be italic.

Here is the general color scheme documentation: http://www.sublimetext.com/docs/3/color_schemes.html.

This section talks about customization: http://www.sublimetext.com/docs/3/color_schemes.html#customization.

3 Likes