Catppuccin for Sublime Text
- In Sublime Text, open the command palette with Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS).
- Enter
Package Control Install Package
(or justpcip
) and select it. - 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.
For local editing, you can invoke UI: Customize Color Scheme
in the command palette to open a split-pane window with the current color scheme on the left and an override file on the right. Rules you add to your override file will be processed after the rules in the official color scheme.
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). Then add a rule in your color scheme override to apply a color to this token.
- Clone this repository and open it
- Apply your changes to
sublime-color-scheme.tera
- Re-build the 4 flavors with
whiskers sublime-color-scheme.tera
- To install Whiskers, the Catppuccin helper tool, see https://github.com/catppuccin/whiskers
- Open a Pull Request!
Β
Copyright Β© 2021-present Catppuccin Org