B
B
Boris Yakushev2015-10-19 18:06:59
Sublime Text
Boris Yakushev, 2015-10-19 18:06:59

How to edit Sublime Text 3 theme?

Good afternoon, I really liked the Spacegray theme, but I would like to make the font color of the comments a little brighter.
Please tell me how to do it.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
petyagrill, 2015-10-19
@za4me

first, find the folder with the downloaded packages
on ubuntu, this is /home/username/.config/sublime-text-3/Installed Packages
your theme should be there,
open the archive and edit the THEME_NAME.tmTheme file,
find the lines

<dict>
            <key>name</key>
            <string>Comment</string>
            <key>scope</key>
            <string>comment</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#808080</string>
            </dict>
</dict>

well, change the color to the one you need,
then update the file in the archive
PS: Sublime stores the default theme in the cache, so you may have to change the theme to the standard one, clear the cache, then change back to the desired
UPD: The cache is located here /home/username/.config /sublime-text-3/Cache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question