Awesome
Color Schemes - Perv
<!-- [![donation badge]][donate] -->"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
.
Introduction
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 Perv Color Schemes
Perv Orange :tangerine: Family
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
Perv Orange
Dark and retro:
<!-- ZZZ ![Perv Orange][img-orange] -->Perv Orange New Moon
With a darker background and a hicontrast:
<!-- ZZZ ![Perv Orange New Moon][img-orange-nm] -->Perv Orange High Noon
With a white background for use during the day ;):
<!-- ZZZ ![Perv Orange High Noon][img-orange-hn] --> <!-- ZZZ ## Advanced usage ## There are so many different personal tastes that it is nearly impossible to make one color scheme, which satisfies even those guys, who's color taste is the same. Some guys don't like _italics_ or **bold** font faces, other's dislike the selection color. You can edit the color scheme to fit your personal taste. > **Note:** As of [Sublime Text 3][52] packages are normally installed as an archive with the suffix `.sublime-package`, the below changes cannot be done directly. You either need to install the package through `Add Repository` in [Package Control][53], use Git to clone the repository or by extracting the package archive. In order to edit the specific scheme file, you want to amend, please select the `Preferences → Browse Packages` menu entry in [Sublime Text][51]. That will open the packages directory either in the "Finder" (on Mac OS X), "_flavoured_ file explorer" (on Linux) or in "Explorer" (on Windows). Go into the _Color Schemes - Perv_ directory and drag'n'drop the color scheme file, which you would like to use, to your [Sublime Text][51] editor. After the file is loaded, do the following depending on the desired change: + *Switch of italic or bold font faces*: search for either "italic" or "bold" in the file. Just comment the line you find, rinse and repeat for all font faces you want to remove. + *Change the gutter and line highlight color*: search for "lineHighlight" and either change the color value to one to your liking or use one of the available presets. > **Hint:** as you're already using [Sublime Text][51]--commenting and uncommenting is as easy as a key-press: Mac: <kbd>⌘</kbd>+<kbd>/</kbd> and for the PCs: <kbd>CTRL</kbd>+<kbd>/</kbd>) -->Installation
Sublime Text
<!-- ZZZ For the [Sublime Text][51] editor the schemes can be installed easily using [Package Control][53] and searching for the `Color Scheme - Perv` package in the official repository. -->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!
Other editors & tools
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.
Update history
Version 2.0
- 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
- �
Contribute
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.
Thanks
Very big thanks goes to @dsander and @elseym for their invaluable support and feedback all the time. :yellow_heart:
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 :octocat:.
Always have fun:sunny: in what you're doing and "DON'T PANIC"... :rocket:
Enjoy!
<!-- ------------------------------------ reference section ------------------------------------ -->