ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Neon Color Scheme

by MattDMo ST2/ST3

A colorful bright-on-black color scheme for Sublime Text and TextMate. Its aim is to make as many languages as possible look as good as possible. Includes extended support for Python, Ruby, Clojure, JavaScript/JSON, C/C++, diff, HTML/XML, Markdown, reStructuredText, PHP, CSS/SCSS/SASS, GitGutter, Find In Files, AAAPackageDev, and SublimeLinter.

Labels color scheme

Details

Installs

  • Total 3K
  • Win 2K
  • OS X 1K
  • Linux 863
Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3
Windows 11 3 8 9 7 2 7 5 6 11 8 6 11 4 12 15 7 5 8 9 2 16 7 9 5 5 7 7 11 6 7 6 6 4 4 8 8 10 5 5 9 9 6 3 9 8
OS X 4 8 3 3 1 4 5 8 3 3 2 6 4 3 6 7 5 9 2 14 4 4 7 7 5 2 7 8 5 4 2 5 3 7 8 8 8 9 4 4 4 10 5 3 11 4
Linux 2 4 6 5 1 2 2 5 6 1 1 1 3 3 6 6 10 11 3 1 4 4 3 2 3 2 5 7 2 5 6 4 2 2 5 3 1 5 3 3 1 2 7 5 6 4

Readme

Source
raw.​github.​com

Neon Color Scheme

Neon is a colorful bright-on-black color scheme for Sublime Text 2/ST3 and TextMate (versions 1 and 2). In designing it, I've aimed to make as many languages as possible look as good as possible, taking advantage of as many of the available scopes as I can. Neon was originally designed for Python, which has a very detailed language definition, but lots of languages look good with it, like JavaScript, CSS, HTML, Ruby, PHP, shell scripts, XML, Clojure, Fortran (really!), R, LaTeX, Markdown, reStructuredText, and more. It's also great when using @wuub's fantastic SublimeREPL plugin, which I can't say enough good things about.

PythonImproved with Neon

Languages/Plugins Supported

Neon's main goal is to make as many languages as possible look as good as possible. That being said, there are some language/markup/framework-specific scopes and sections that you might be interested in:

For major changes, I'll test most if not all of the above languages, as well as JavaScript (use JavaScriptNext, it's awesome!), R, Makefile, Lua, Java, Perl, Fortran (my excuse — I work with NumPy), LaTeX, and bash shell scripts, with maybe some others thrown in for fun. When I say “as many languages as possible” I mean it!

If you have a particular language or plugin you'd like Neon to support, just open an issue and I'll see what I can do.

There are a bunch of scopes in here that are only found in my Python Improved language definition package — IPython In/Out statements, Django-specific highlighting (adapted from Djaniero), and a bunch of improvements from @facelessuser's Better Python, along with various enhancements, extensions, and bug fixes of my own. If you work with Python, I'd highly recommend getting it.

Clojure with Neon

You can find out more about themes in the TextMate manual. All the information there applies to Sublime Text as well, which was heavily influenced by TextMate. Both programs can share themes and language definitions pretty much interchangeably, and snippets are usually pretty easy to port from one to the other as well. But, unfortunately for you Win/Lin people, TextMate is only available for OSX.

R with Neon

What Font is That?

I discovered Cousine while browsing Google Fonts one day and absolutely love it.

Cousine was designed by Steve Matteson as an innovative, refreshing sans serif design that is metrically compatible with Courier New™. Cousine offers improved on-screen readability characteristics and the pan-European WGL character set and solves the needs of developers looking for width-compatible fonts to address document portability across platforms.

It's one of the first things I install when setting up a new workstation or VM, and it's my go-to monospace font for web design.

Installation for Sublime Text 2/3

The easiest method is through Package Control, which you need to install first as it doesn't come with Sublime Text. Open the command palette with CtrlShiftP (Windows/Linux) or ShiftP (OSX) and type pci or packconin or whatever you like to get Package Control: Install showing. Click or hit Enter, type in neon, and Neon Color Scheme should show up. Select it, then activate the theme by choosing the Preferences -> Color Scheme -> Neon Color Scheme -> Neon menu option. Alternatively, paste the following line in Packages/User/Preferences.sublime-settings (Preferences -> Settings - User):

"color_scheme": "Packages/Neon Color Scheme/Neon.tmTheme"

If you like to do things the old-fashioned way, in ~/Library/Application Support/Sublime Text 2/Packages/User (OSX), %APPDATA%\Sublime Text 2\Packages\User (Windows), or ~/.config/sublime-text-2/Packages/User (Linux) (change the 2 to 3 for ST3…):

git clone git://github.com/MattDMo/Neon-color-scheme.git "Neon Color Scheme"

This will create a menu option Neon under Preferences -> Color Scheme -> User -> Neon Color Scheme.

TextMate Installation:

For right now, manual cloning is the only option. Hopefully a bundle will be available soon for TM1 and TM2. From your home directory (or anywhere, really), enter:

git clone git://github.com/MattDMo/Neon-color-scheme.git "~/Library/Application Support/TextMate/Themes"

Or, you can just download the .zip file and put it in the proper theme directory yourself.

Customization

While I really like the level of control I get with Sublime's system of config files, editing themes by hand (in XML) is rough. So, I keep the main copies of my themes in the TextMate folder so I can use its theme editor for tweaks. In ~/Library/Application Support/ I then run ln -s TextMate/Themes/Neon.tmTheme "Sublime Text 2/Packages/Color Scheme - Default/Neon.tmTheme" to symlink it to Sublime.

I'd also recommend checking out aziz's tmTheme-Editor, but be warned that it currently only works with Google Chrome because of some the HTML5 APIs it uses. Regardless, it's a pretty neat app, and Neon is included!

So, the above two options are nice if you're on a Mac, or have Chrome, or otherwise are just making a few minor tweaks, but I've recently just discovered a game-changer. @facelessuser has written ColorSchemeEditor, a cross-platform GUI tool (written in Python) for creating and editing .tmTheme color schemes, and it has very quickly become one of my favorite apps. Be aware that it's still under active development, but that also means if you have any feature requests or assistance to offer you'll be gladly welcomed. If the forum is working, check out this post in the Sublime Text forum announcing the plugin and app. The documentation is minimal, it's not available through Package Control, and you currently need to download the platform-specific compiled binaries via links from the forum post (hint, google the page's URL and view the cached version to get the links if the forum is still down) and put them in your Packages/User directory in order for the plugin to work, but it's so worth it if you need to tweak or completely refactor a color scheme. If you want to try and build the binary yourself, read through this issue. The directions are for Windows, but they also work on OS X, and should work for Linux as well.

Keep your eyes out, Neon Light should be coming soon!

Issues

Sometimes the same file looks different in TextMate and Sublime Text. It may be that the scopes are defined somewhat differently, or that the parsers don't work in quite the same way. Hack the .tmlanguage definition files if you're interested, it's an exciting combination of XML and regex!

If you have questions, concerns, or suggested improvements, I'd love to hear from you! Feel free to open an issue or send a pull request and I'll get back to you as soon as I can. You can also email me at mattdmo@pigimal.com. Find my blog on Sublime Text and other stuff at MattDMo.com.

License

© 2012-2014 Matt Morrison mattdmo@pigimal.com.

This is free software. It is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Feel free to use this theme in your own work. However, if you modify and/or redistribute it, please attribute me in some way, and distribute your work under this or a similar license. A shout-out or a beer would be greatly appreciated.

Creative Commons License

PayPal - The safer, easier way to pay online!


You can also give on Gittip.