forked from andkerosine/rainbowth
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Here is how I (dirty) fixed Rainbolth to work with the new .sublime-color-scheme file format.
- Clone this repo in your
~/.config/sublime-text-3/Packages - Open
rainbowth.pyand add the following line inside theupdate_color_schememethod:
print("Rainbowth: color scheme needs updating")
+ return colors- Add the palette colors to your
.sublime-color-schemefile:
{
"name": "rainbowth0",
"scope": "rainbowth0",
"foreground": "Red",
"background": "#000001"
},
{
"name": "rainbowth1",
"scope": "rainbowth1",
"foreground": "Chartreuse",
"background": "#000001"
},
{
"name": "rainbowth0",
"scope": "rainbowth0-lineHighlight",
"foreground": "Red",
"background": "#000001"
},
{
"name": "rainbowth1",
"scope": "rainbowth1-lineHighlight",
"foreground": "Chartreuse",
"background": "#000001"
},The above configuration have only 2 colors, but you can add more - rainbowth2, rainbowth3 and so on:
The above #000001 background color is for dark color schemes. It's important to use this color instead of plain black #000000 because otherwise Sublime inverts the values. If you use lighter color scheme choose another background color.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
