A clean cut UI theme for Sublime Text 2 bastardised from the source code of Soda.
Centurion was made out of a want for less UI and more code. It's so minimal you can barely see it. No gradients, no 1px edges and not a thousand different icon sprites. Just color, shape and 14 icons.
###Package Control
Just install it and make sure to update your Settings - User
file with:
"theme": "Centurion.sublime-theme"
###Manual
Clone it into your packages directory. These are OSX paths because I'm lazy like that. For Windows/Other just substitute your paths like a boss.
cd ~/Library/Application Support/Sublime Text 2/Packages
git clone git://github.com/allanhortle/Centurion.git 'Theme - Centurion'
Make sure you have the Theme - Centurion
at the end of the command so it is placed in the correct folder.
Unless of course you feel like experiencing the wrath of none icons.
Back to Sublime Text, press super+,
to access your Settings - User
and insert:
"theme": "Centurion.sublime-theme"
If it looks like crap make sure to restart Sublime before crying.
I've re-written Centurion to use Grunt. As a result you can now make your own custom colored versions of the theme. If you haven't used grunt before, then you probably should learn. It's super amazing.
Because package control likes to cache and update installed packages I suggest cloning an extra copy of the centurion repo into your packages folder. That way you'll still be informed of updates but you wont get your color constantly changed back to green.
I call mine Theme - Centurion_dev
. Im undecided as to whether or not this is the best option. But it works so this is how it will be for now.
* Side note: if you call your folder something like AAACenturionRadColor
it might not take precedence over the original package. So if you do have two copies give it a name that is alphabetically lower than Theme - Centurion
.
###The actual instructions bit:
cd
into the theme directory.npm install
To install the grunt dependancies.3.- Open up
Gruntfile.js
and look forfolderName:'Theme - Centurion'
- Just make sure this matches what ever you have named the folder.
- Next look for
config.hero = config.green;
- change the color to what ever radical choice you have in mind.You can use the predefined ones from Galea or go nuts with your own
[r,g,b]
combination. - Back to terminal and run
grunt
. - Close and reopen Sublime Text.
- Ride an eagle into the sunset. You're all done.
Centurion now ships with it's own syntax highlighting. Galea is a simple theme designed to cut down on the use of color in conflicting locations. There are only five colors, each relating to a high level Textmate scope.
Color | Scope |
---|---|
Yellow | Entity / Tag |
Red | Support / Keyword |
Orange | Storage |
Green | String |
Blue | Constant |
Additionally each file's background is tinted to distinguish it's type. Front-end remains grey, backend is blue and data-files are green.
If you like the theme and find some bugs please do let me know. I've been testing it only with my current pipeline so there are bound to be file types that miss out. Just bug it out and I'll do my best to fix them up.