This is a sample code being used to show what the setup process is like. At this moment, nothing is set up.
If you do not have package control installed, install it from the Command Palette
(Cmd
+Shift
+p
on macOS, Ctrl
+Shift
+p
elsewhere):
Using the command palette, install the Rainbowth
package:
You can visit your packages by going to Preferences > Browse Packages...:
For our example, we are going to install the Dracula theme.
In order for Rainbowth to be able to edit the themes to color the text, we will have to create the theme files in the Packages folder. This can be easily done using a package called PackageResourceViewer.
Using PackageResourceViewer, extract the relevant files for the theme (in our case, the Dracula theme):
This will create the files related to the theme in Packages folder. The folder should look somewhat like this now:
Create a Rainbowth.sublime-settings
in User
:
Now, edit the file with languages and colors you want to use:
The changes should apply automatically, if not, quit Sublime and open it again to see Rainbowth working.