Closed skeskali closed 10 years ago
Yes, my Color scheme (Afterglow.tmTheme) don't have italics in any scopes. Original Monokai (and Afterglow-monokai) has italics in some scopes, but not in comments. Instead, original Twilight (and Afterglow-twilight) has comments in italics. The behavior you see is correct.
If you want to change this, you must modify the file "xxxxx.tmTheme" you want. You must add the following code in comment's scope (or in scope you want to change) <key>fontStyle</key><string>italic</string>
:
<dict>
<key>name</key>
<string>Comment</string>
<key>scope</key>
<string>comment</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#xxxxxx</string>
</dict>
</dict>
I hope this helps you.
Thanks so much for the reply and the help!
José María Clemente wrote:
Yes, my Color scheme (Afterglow.tmTheme) don't have italics in any scopes. Original Monokai (and Afterglow-monokai) has italics in some scopes, but not in comments. Instead, original Twilight (and Afterglow-twilight) has comments in italics. The behavior you see is correct.
If you want to change this, you must modify the file "xxxxx.tmTheme" you want. You must add the following code in comment's scope (or in scope you want to change) |
fontStyle italic |:<dict> <key>name</key> <string>Comment</string> <key>scope</key> <string>comment</string> <key>settings</key> <dict> <key>fontStyle</key> <string>italic</string> <key>foreground</key> <string>#xxxxxx</string> </dict> </dict>
I hope this helps you.
— Reply to this email directly or view it on GitHub https://github.com/YabataDesign/afterglow-theme/issues/12#issuecomment-47462959.
Why does it seem that comments only appear in italics in the Afterglow-twilight theme? The comments appear as normal text in all others on my computer, regardless of the monospace font I choose (Mac OS X version 10.9.3, SublimeText 3).
The top image is SublimeText 3 with the Monokai theme applied. The bottom is with the Twilight theme applied.
I'm sorry if this is a dumb question, but it's driving me nuts! :)