
Catppuccin for Sublime Text
- In Sublime Text, open the command palette with Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS).
- Enter and select
Install Package Control
to install Package Control if not done so already. - Enter and select
Package Control: Install Package
. - Search for and select the Catppuccin package.
- In Sublime Text, locate the path to the
Packages
directory through the Preferences > Browse Packages... menu. - From the command line, go to the previously noted directory path and clone the repository into it.
git clone https://github.com/catppuccin/sublime-text.git Catppuccin
- Download this repository as a ZIP archive.
- Unzip into a directory named
Catppuccin
. - In Sublime Text, open the
Packages
directory through the Preferences > Browse Packages... menu. - Move the unzipped
Catppuccin
directory into thePackages
directory.
- In Sublime Text, select your flavor of choice through Preferences > Select Color Scheme.
- Go to Preferences > Select Theme... and select
Adaptive
.
If you're unfamiliar with Sublime Text color scheme development, see "Color Schemes" in the Sublime Text documentation.
This repository uses Whiskers to generate theme files. Edit the sublime-color-scheme.tera
template, and run either whiskers sublime-color-scheme.tera
or just build
(if you have just installed) to update the files in build/
.
For local editing, create a symlink from your local clone of this repository to the Catppuccin
subdirectory of the Packages
directory (revealed through the Preferences > Browse Packages... menu in Sublime Text). On macOS, this can be done by invoking ln -s $(pwd) ~/Library/Application\ Support/Sublime\ Text/Packages/
in the directory of this repository. Uninstall the Catppuccin theme from Package Control if installed via that method. Sublime Text should now automatically reload the theme files in build/
on change.
If you have a specific piece of code you would like to re-color, you'll need to know what scopes are being applied to the token. (Applying scopes is done by the syntax, not the color scheme.) Position your caret over the token, and use Ctrl+Shift+P (or Tools > Developer > Show Scope Name) to show the scopes of the current token.
Β
Copyright Β© 2021-present Catppuccin Org