Sublime Forum

Can ST3 report where Theme is coming from?

#1

Is there a way to get ST3 to report where its getting my Theme from ?
I would want to know:

  • what theme file
  • coming from which package file.

For context, I want to edit the theme to make the font larger in the side bar.
I’m on a Mac. Looking around in the folder the Preferences > Settings > Browse Packages takes me to doesn’t turn up a .sublime-package file containing a theme.
And because its a new Mac running Monterey, spotlight is busted so using that to find other package files hasn’t worked.

Any help would be appreciated.

-jg-

0 Likes

#2

From a technical perspective, Preferences > Settings will open your settings; on the right the theme key will tell you the filename of the theme in use (if not, the one in the defaults on the left is what’s used). You could then use View Package File to look for that file to see what package it’s in.

That said, you only want to do that to see what the theme is doing; you don’t need to know or care about the package that it’s stored in for the purposes of making changes; you do that by creating a similarly named file in your User package with just the adjusted rules that make the change you want, and Sublime combines them together.

If you’re using ST3, you want to install PackageDev; once installed, the command palette will have an entry named PackageDev: Edit Current Theme; picking that will open the theme file on the left (read only) and a file for you to put your modifications in on the right. It will make sure that the file is appropriately named and placed, and doesn’t require you to know or care beforehand what the theme is or where it’s coming from.

0 Likes

#3

That’s great.
Thanks very much for your detailed help.
-jg-

0 Likes