I've installed itg.flat for sublime via the package manager. I'm wanting to make a few edits to theme but I can't find where package manager has installed the theme files. I'm using ST3 on OS X Mavericks
I've had a look around the net but haven't found anything relating specifically to what I'm after so a SO thread is a last resort.
Color schemes are XML formatted files located at the Packages folder with color schemes. They are an awesome way for the customization of Sublime text colors, unlike themes which are specific to UI elements. You can choose color schemes using option Preferences → Color Scheme.
Sublime Text 3 has a number of pre-installed themes that can be enabled by clicking on “Preferences” in the top bar, then clicking “Color Scheme”. Click on “Preferences” in the top bar, then click “Color Scheme”. Next, a box will appear at the top of the window, with a few options.
Written as an epistolary piece to “dear Terentianus,” “On the Sublime” examines the work of more than 50 ancient writers under the lens of the sublime, which Longinus defines as man's ability, through feeling and words, to reach beyond the realm of the human condition into greater mystery.
Sublime Text 3 packages installed via Package Control are by default stored as .sublime-package
zip files in your Packages
directory, whose location depends on your operating system:
~/.config/sublime-text-3/Packages
~/Library/Application Support/Sublime Text 3/Packages
C:\Users\YourUserName\AppData\Roaming\Sublime Text 3\Packages
InstallationFolder\Sublime Text 3\Data\Packages
The easiest way to edit them is to install PackageResourceViewer
from Package Control. Once installed, open the Command Palette with ⌘ShiftP (OS X) or CtrlShiftP (Windows/Linux) and type in prv
to access the PackageResourceViewer options.
Select Extract Package
, then scroll down to Theme - itg.flat
and hit Enter. This will extract the package into your Packages
folder, which can be easily accessed via your operating system's file manager (Finder, Windows Explorer, Nautilus, etc.) by selecting Sublime Text → Preferences → Browse Packages…
(this is for OS X, Windows and Linux have a separate Preferences
menu). Any edits to the files in this directory will override the files contained in the Installed Packages/Theme - itg.flat.sublime-package
file.
If you only wish to edit a single file, after typing prv
into the Command Palette, chose PackageResourceViewer: Open Resource
instead. You can then navigate through your packages and choose the file(s) you wish to edit - Theme - itg.flat/itg.flat.dark.sublime-theme
, for example. Once you edit the file(s) you have chosen, they will be saved in the Packages
directory,
However, please keep in mind that if the package is updated in the future, the changes will not apply because you've overridden them by extracting the files into Packages
. This is not quite the case if you choose Open Resource
- only the files you chose to edit and save will be stored in Packages
, and they will override the identically-named file in the .sublime-package
archive. If the package is updated in the future, the file(s) containing your edits will still override the same file(s) in the archive, but the rest of the files will be updated. For example, if you edit itg.flat.dark.sublime-theme
via Open Resource
, when the entire Theme - itg.flat
is updated, your customized file will override the file of the same name in the package archive, but all other files will have the changes from the update applied.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With