Skip to content

Color Scheme - Perv for Sublime Text 3 - code should look the same in different languages (customized for Markdown, GFM, Python, JavaScript, Ruby, PHP, Java, Rust, Go, C++, HTML, CSS, SASS/SCSS, JSON, Git, GitGutter, DIFF, SublimeLinter among others)

License

Notifications You must be signed in to change notification settings

mickimnet/perv-colorscheme

Repository files navigation

Color Schemes - Perv

"Actually, as a native from Perv, I prefer to be called a 'Pervect'" <Aahz:japanese_ogre: in Myth Directions>

release badge sublime text badge Package Control licence badge stars badge issues badge


This version is still an alpha and in heavy development! Currently the following syntax are finished: Markdown, Python, JavaScript and Ruby.


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 🍊 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:

Perv Orange New Moon

With a darker background and a hicontrast:

Perv Orange High Noon

With a white background for use during the day ;):

Installation

Sublime Text

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:

  1. Fork the Color Scheme - Perv repository if you haven't already.
  2. Create a new branch from the master
  3. Make your changes.
  4. Commit your changes.
  5. Push your branch to your fork.
  6. 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. 💛

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"... 🚀

Enjoy!

About

Color Scheme - Perv for Sublime Text 3 - code should look the same in different languages (customized for Markdown, GFM, Python, JavaScript, Ruby, PHP, Java, Rust, Go, C++, HTML, CSS, SASS/SCSS, JSON, Git, GitGutter, DIFF, SublimeLinter among others)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published