Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.73 KB

Setup-Instructions.md

File metadata and controls

51 lines (40 loc) · 1.73 KB

Starting

This is a sample code being used to show what the setup process is like. At this moment, nothing is set up. Step-1

Install package control

If you do not have package control installed, install it from the Command Palette (Cmd+Shift+p on macOS, Ctrl+Shift+p elsewhere): Step-2

Install Rainbowth package

Using the command palette, install the Rainbowth package: Step-3 Step-4

Browse packages

You can visit your packages by going to Preferences > Browse Packages...: Step-5 Step-6 Step-7

Install a color theme

For our example, we are going to install the Dracula theme. Step-8 Step-9

Set to the installed theme

Step-10 Step-11

Install PackageResourceViewer

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. Step-12 Step-13

Extract theme files

Using PackageResourceViewer, extract the relevant files for the theme (in our case, the Dracula theme): Step-14 Step-15

This will create the files related to the theme in Packages folder. The folder should look somewhat like this now: Step-16

Rainbowth.sublime-settings

Create a Rainbowth.sublime-settings in User: Step-17

Now, edit the file with languages and colors you want to use: Step-18

Success

The changes should apply automatically, if not, quit Sublime and open it again to see Rainbowth working. Step-19