"Actually, as a native from Perv, I prefer to be called a 'Pervect'" <Aahz:japanese_ogre: in Myth Directions>
This version is still an alpha and in heavy development! Currently the following syntax are finished:
Markdown
,Python
,JavaScript
andRuby
.
The color schemes are created so that the same code in different languages should look the same, with consistent color palettes.
The project started a couple of years back, when there were nearly to none color schemes, which covered the syntax I was interested in. The majority of the available color schemes back then, even didn't highlight the settings (JSON
) or tmTheme files (XML
).
This version is a complete rewrite from scratch (of the v1 version) in the new JSON Format (.sublime-color-scheme
) for Sublime Text. It is heavily customized for the standard syntax highlighter for Python
, JavaScript
, Ruby
, PHP
, Java
, Rust
, C++
, Go
, CSS
, reStructuredText
and Markdown
.
The colors are grouped together based on the following scopes:
- Comments: Grey
- Keywords & Tags: Orange
- Functions: Red
- Function Parameters: Light Red
- Classes, Objects & other Entities: Blue
- Class Parameters: Light Blue
- Storages: Yellow
- Strings & Constants: Greens
Dark and retro:
With a darker background and a hicontrast:
With a white background for use during the day ;):
Otherwise, first you need to locate your Sublime Text packages directory--use the Preferences -> Browse Packages
menu from within Sublime Text, if you don't know where the directory is located.
Now either create a Color Scheme - Perv
folder within this directory, and copy the contents of the GitHub repository, or clone the repository using the Git software within the packages directory:
git clone https://github.com/micck/perv-colorscheme "Color Scheme - Perv"
Now simply use the "Color Schemes…"
option of your preferences menu and search for "Perv" to switch between the schemes & enjoy!
In the future, I'm going to adapt the color scheme to other editors (currently planned are Visual Studio Code, JetBrains IDE's, Atom, VIM, XCode) as well as other tools (iTerm2, Gnome Terminal, Fish Shell, Powerline). There is no roadmap so far, but I'll start porting after the 2.0 release.
- completely rewritten from scratch. Mainly retained the coloring, but did a few changes:
- less colors
- brackets of functions have the same color as the function, all others are white
- angular brackets for tags have the same color as the tag
- more consistency for module or function calls
- classes, modules, objects and entities now share the same color
- Comment Docblocks now have a different highlighting as normal comments, so they are more easily to identify
- …
If you have any kind of problems or enhancement requests, please don't hesitate to open an issue. And if you want to make an improvement, please don't hesitate to fork. If you would like to add another syntax/scope, please use the Perv Color Schemes: Color Tables.
Before you submit a pull request, please be sure you have done these steps:
- Fork the Color Scheme - Perv repository if you haven't already.
- Create a new branch from the master
- Make your changes.
- Commit your changes.
- Push your branch to your fork.
- Go to your fork on github and make a pull request. Please give as much information in the description as possible, including the conditions under which the bug occurs, which code and what lines are affected, sample code which caused the error, etc.
Very big thanks goes to @dsander and @elseym for their invaluable support and feedback all the time. 💛
A lot thanks to my family at Mayflower for all their help and support! Additionally I would like to thank my friends at FlavourSys for their help in releasing the first version to .
Always have fun:sunny: in what you're doing and "DON'T PANIC"... 🚀
Enjoy!