Giter Site home page Giter Site logo

mattkahl / neon-color-scheme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattdmo/neon-color-scheme

0.0 3.0 0.0 288 KB

A cool 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.

License: Other

neon-color-scheme's Introduction

Neon Color Scheme

I renamed the package from Neon Theme as this is really a color scheme and I don't want to mislead/confuse anyone. However, I am working on an actual Neon-inspired theme for Sublime, so stay tuned...

Now available through Package Control!

Neon is a cool 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.

There are a bunch of scopes in here that are only found in my PythonImproved .tmLanguage syntax file — IPython In/Out statements, Django-specific highlighting (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.

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.

Python and CSS with Neon-sublime-theme

======= I'm always tweaking and adding things, so the preview pix may not closely match the actual theme. YMMV.

Python and CSS with Neon-sublime-theme

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.

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

git clone git://github.com/MattDMo/Neon-sublime-theme.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.

git clone git://github.com/MattDMo/Neon-sublime-theme.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 alas 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!

Issues

Sometimes the same file looks different in TextMate and Sublime Text 2. 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.

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 [email protected].

License

© 2012-2013 Matt Morrison [email protected].

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 appreciated.

Creative Commons License

PayPal - The safer, easier way to pay online!

You can also [give on Gittip](https://www.gittip.com/on/github/MattDMo/).

neon-color-scheme's People

Contributors

mattdmo avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.