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

Neon Color Scheme

by MattDMo ALL

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, PHP, CSS/SCSS/SASS, GitGutter, Find In Files, PackageDev, Regex, SublimeLinter, and much more.

Labels color scheme

Details

  • 3.0.0
    2.1.0
  • github.​com
  • github.​com
  • 4 days ago
  • 3 hours ago
  • 7 years ago

Installs

  • Total 41K
  • Win 22K
  • Mac 10K
  • Linux 9K
Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14
Windows 4 4 7 4 8 9 6 8 6 12 11 6 6 26 4 6 9 7 10 7 9 8 5 7 5 8 12 6 10 10 4 6 8 8 14 10 7 9 13 16 12 13 13 6 6 5
Mac 2 1 0 3 1 2 1 4 1 0 2 2 2 2 3 1 0 4 1 2 2 0 1 1 2 1 5 0 1 3 1 3 4 2 1 2 0 4 6 2 7 1 7 1 1 0
Linux 1 2 2 6 3 2 3 2 2 2 2 5 0 3 6 1 0 3 2 3 8 3 3 0 4 3 4 5 2 1 5 1 3 1 3 1 1 6 3 3 8 2 2 2 1 6

Readme

Source
raw.​githubusercontent.​com

Package Control GitHub release Donate via PayPal

Neon Color Scheme

Neon is a colorful bright-on-black color scheme for Sublime Text and TextMate. 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, 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.

Just for clarity's sake: Neon is an original work and wasn't based on any other color scheme. If you search Package Control for neon you'll find some other, similarly-named color schemes which are not based on this project. Use them if you want – I particularly like the Dark Neon Color Scheme, and might borrow some of the colors – and if you want to fork this project and make your own derivative, go for it! I use the MIT License for a reason.

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 Makefile, Lua, and Perl, 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 Djaneiro), a bunch of improvements from @facelessuser's Better Python and @petervaro's Python 3 package, along with various enhancements, extensions, and bug fixes of my own and contributed by others. 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 macOS.

Ruby 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 used to be my go-to monospace font for web design and programming.

More recently, I've been using Liberation Mono, part of the Liberation font family. It's almost an exact duplicate of Cousine (with a few minor differences), and has the advantage of being available for Fedora (out of the box) and RHEL/CentOS as liberation-fonts, and as ttf-liberation for Debian and Ubuntu (my current distro of choice).

Installation for Sublime Text 3

The easiest method is through Package Control, which you need to install first as it doesn't come with Sublime Text. (Note: It does now!) Open the Command Palette with CtrlShiftP (Windows/Linux) or ShiftP (macOS) and type ***pci*** to bring up Package Control: Install. 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.sublime-color-scheme"

If you were using the old pre-3.0 version of Neon, the file name was Neon.tmTheme. If you are using Neon when you upgrade, a small plugin comes with the new version that will automagically change the file name to Neon.sublime-color-scheme. I switched formats both because JSON is far easier to work with than XML, and there are some cool new features coming in the next release of Sublime Text that don't work with .tmTheme files. Stay tuned!

TextMate Installation:

For right now, manual cloning is the only option. Maybe I'll make a bundle someday for TM1 and TM2. From your home directory (or anywhere, really), enter:

git clone https://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. TextMate only supports the .tmTheme format, so you won't get any new updates. Use Sublime instead!

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! To ease the pain somewhat, I definitely recommend installing PackageDev via Package Control. Among many other things, it allows you to convert XML/Plist-based .tmLanguage files to YAML syntax, which Neon conveniently supports! Everything is much more straightforward to understand and edit, and when you're done you can run a build system from the Command Palette to convert the YAML back to XML.

YAML-tmLanguage syntax highlighting with Neon

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 ping me on the Twitters @MattDMo, or catch me on the Sublime Discord server.

License

© 2013-2020 Matt Morrison mattdmo@mattdmo.com.

This is free software. It is licensed under the MIT License. Feel free to use this in your own work. However, if you modify and/or redistribute it, please attribute me in some way, and it would be great if you distribute your work under this or a similar license, but it's not required. A shout-out or a beer would be appreciated.

Support

PayPal - The safer, easier way to pay online!