News for hackers. Stuff that matters.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by CWIZO on Tuesday November 04, 2014 @12:37PM (#8557829)
Wait, I thought it's not possible to style the sidebar in ST (or at least not much)? I was searching for a plugin that would show Git status in my sidebar (as Atom does) but everywhere I looked people were saying it's not possible because of this limitation in ST.

Looks very good btw.

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by wesbos on Tuesday November 04, 2014 @01:06PM (#8558013)
There is no sidebar API, yet. But in the latest ST3 release they allow for custom icons. Hopefully we will see more sidebar APIs so we can do things like color code files based on their git status.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by eam on Tuesday November 04, 2014 @01:49PM (#8558269)
I've been using this plugin for git status: https://sublime.wbond.net/packages/GitGutter
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by Joyfield on Tuesday November 04, 2014 @11:22AM (#8557334)
Would love this for Ultraedit && Notepad++. PEople would probably pay at least a dollar for this.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by wesbos on Tuesday November 04, 2014 @11:26AM (#8557361)
I've ported it to Iterm and Zsh (https://github.com/wesbos/Cobalt2-iterm) as well as Atom (https://github.com/wesbos/Cobalt2-atom). If anyone wants to port to another editor, I'd be happy to let you use the name.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by wesbos on Tuesday November 04, 2014 @11:43AM (#8557458)
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by jarin on Tuesday November 04, 2014 @01:37PM (#8558208)
I would definitely like to see this ported to vim, I'm just not sure where to get started on that.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by bratsche on Tuesday November 04, 2014 @12:36PM (#8557819)
Getting this on MonoDevelop would be great!
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by mwagstaff on Wednesday November 05, 2014 @05:24PM (#8564641)
Great looking theme, although I'm a real fan of Brogrammer. Dodgy name, but very stylish.

https://github.com/kenwheeler/brogrammer-theme

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by hadees on Tuesday November 04, 2014 @12:30PM (#8557773)
I wish there was a base16 (https://github.com/chriskempson/base16) theme that fully skinned sublime like this does.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by jrolfs on Tuesday November 04, 2014 @02:17PM (#8558463)
It's not too hard, I adapted Ian Hill's Soda (which clearly was also used for a lot of the UI in this theme) to Solarized for the same reason here: https://github.com/jrolfs/sodarized. I'd be happy to answer any questions about doing so for base16.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by benaiah on Tuesday November 04, 2014 @11:48AM (#8557495)
I would greatly appreciate it if this made it into an Emacs theme, though a really good Emacs theme tends to be quite a bit more involved than a ST2 theme, since there's so much more to theme.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by mswift42 on Tuesday November 04, 2014 @12:19PM (#8557698)
You can easily roll your own Emacs theme with this Emacs theme creator https://github.com/mswift42/theme-creator.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by cryon on Tuesday November 04, 2014 @12:03PM (#8557583)
There is https://github.com/cryon/subatomic which is kind of a mix between cobalt and zenburn.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by plingamp on Tuesday November 04, 2014 @12:38PM (#8557840)
Looks cool, but this is still my favorite theme for Sublime: http://kkga.github.io/spacegray/
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by rmsaksida on Tuesday November 04, 2014 @02:18PM (#8558467)
My favorite as well.

It's also a perfect match for the Numix desktop theme, which I find lovely: https://numixproject.org/

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by jaigouk on Tuesday November 04, 2014 @12:29PM (#8557762)
I love it. coffee / js icons in sidebar are very useful. :D
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by jason_madigan on Tuesday November 04, 2014 @11:50AM (#8557506)
Needed to restart before the Sidebar updated - but looks good!
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by vegancap on Tuesday November 04, 2014 @12:31PM (#8557790)
Oh man, I love those icons! Great stuff!
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by astral303 on Tuesday November 04, 2014 @12:33PM (#8557799)
Very nice, reminds me of the old Borland Turbo Pascal and Turbo C colors.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by Raphmedia on Tuesday November 04, 2014 @11:46AM (#8557477)
I would love a darker variant of this theme. Everything is so bright... !
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by mparramon on Tuesday November 04, 2014 @11:19AM (#8557308)
Is it available for Atom?
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by wesbos on Tuesday November 04, 2014 @11:21AM (#8557326)
I've started a port - the sidebar icons aren't there yet but the code highlighting is - https://github.com/wesbos/cobalt2-atom
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by RDDavies on Tuesday November 04, 2014 @11:41AM (#8557451)
Hmm. The left navigation stuff doesn't seem to update.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by wesbos on Tuesday November 04, 2014 @11:45AM (#8557469)
Read the readme - you need to enable the theme (different than the colour scheme) in your settings file: `"theme": "Cobalt2.sublime-theme"`
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by padho on Wednesday November 05, 2014 @10:14AM (#8562104)
You did a great job bro!
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by alexeyza on Tuesday November 04, 2014 @11:56AM (#8557544)
Very cool theme.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by jcampbell1 on Tuesday November 04, 2014 @11:52AM (#8557514)
I do not understand why people code on a dark background. I get the CRT retro aesthetic, but it is less readable on modern screens. Reflections on glossy displays become a problem. When was the last time you saw a website with a black background?

I can't tell if people coding on dark backgrounds are hipsters, or just don't know any better.

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by coldtea on Tuesday November 04, 2014 @02:09PM (#8558410)
Dark backgrounds are easier on the eyes, especially on dimmer environments.

I don't want the full power of the LED backlight to hit me on the eyes with its full force in my editor screen which I look into for 8+ hours a day...

>I can't tell if people coding on dark backgrounds are hipsters, or just don't know any better.

Or perhaps you don't know any better...

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by jcampbell1 on Tuesday November 04, 2014 @02:40PM (#8558594)
This is often repeated nonsense. What is hard on your eyes is changing intensity. Switching between dark code and light email is the problem. The screen should also be about the same brightness as the room, so looking away from the computer doesn't require eye adjustment.

The transition from dark to light is mildly painful, so you have a false sensation that the dark background is better because switching away from it is irritating.

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by coldtea on Wednesday November 05, 2014 @04:47AM (#8561112)
>The screen should also be about the same brightness as the room, so looking away from the computer doesn't require eye adjustment.

Well, I like my room quite dark too.

Besides that, that "what is hard on your eyes is changing intensity" is absolutely BS.

Do you get comfortamble with a strobe light on your eyes after a while if it doesn't "change the intensity"? Photo-sensitivity is a thing.

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by coldtea on Wednesday November 05, 2014 @07:38AM (#8561500)
Oops, wrote "strobe", meant "spot light".
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by bzalasky on Tuesday November 04, 2014 @01:09PM (#8558031)
I switch back and forth. Each year or so the colors start to make code look like work, so I change it up and things look fresh again. So far, I've gone between Slush & Poppies, Cobalt, Monokai, Solarized Dark, Monokai, Solarized Light, and most recently Cyberpunk (the Emacs Live theme).
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by jarin on Tuesday November 04, 2014 @11:59AM (#8557561)
I can't explain why, but for me prose is easier to read on a light background and code is easier to read on a dark background. I imagine it has something to do with proportional fonts vs. monospace fonts and how the eye distinguishes the characters.

Edit: I think it may also have to do with the ability to distinguish colors used in syntax highlighting.

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by rgrieselhuber on Tuesday November 04, 2014 @12:05PM (#8557594)
It might be a holdover from when I first learned to code, but I can't get into any sort of flow when trying to program on a light background.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by Aldo_MX on Tuesday November 04, 2014 @12:15PM (#8557670)
It's less tiresome for your eyes, eventually your eyes will demand you to use dark color schemes.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by Flow on Tuesday November 04, 2014 @12:49PM (#8557906)
I can recommend f.lux. With it the whole environment becomes of about the same light. Without it, and with a dark theme in your code editor you have one level of light, and when you switch to a web browser you can bombarded by photons. :-/
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by mswift42 on Tuesday November 04, 2014 @01:58PM (#8558340)
> I can recommend f.lux

Or the oss variant redshift: http://jonls.dk/redshift/

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by jcampbell1 on Tuesday November 04, 2014 @12:29PM (#8557764)
The opposite is true. The screen should match the ambient lighting of the room. Eye strain is caused by constant iris resizing. Looking at the screen, and the wall next to the screen shouldn't require you eye to adjust.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by bzalasky on Tuesday November 04, 2014 @01:11PM (#8558048)
I actually had to switch to Solarized Light for awhile because my eyes couldn't stand white text on a dark background. I'm back to using a dark theme now though.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by wesbos on Tuesday November 04, 2014 @11:58AM (#8557558)
prolly jus hipsters
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by JonnieCache on Tuesday November 04, 2014 @12:42PM (#8557861)
It's more l33t that way. We all just like pretending we're in swordfish.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by skrowl on Tuesday November 04, 2014 @11:24AM (#8557349)
Now that Brackets.io is 1.0 and Atom is getting more mature, is Sublime Text really still relevant? It should go FOSS to stay competitive.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by matthewmacleod on Tuesday November 04, 2014 @12:14PM (#8557660)
I don't really know that this is true.

Sublime is a zillion times faster than Atom, and brackets isn't something that enters into the same league as either. I don't see how open-sourcing will help it.

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by Luc on Tuesday November 04, 2014 @12:23PM (#8557724)
Sublime Text appears to be developed by someone who actively shuns his users, though.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by robin_reala on Tuesday November 04, 2014 @01:04PM (#8557997)
Given the speed difference I’m less bothered by a little bit of user shunning.
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by coldtea on Tuesday November 04, 2014 @02:10PM (#8558418)
Still better than a ho-hum editor from user-lovers like Atom or Brackets...
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by Luc on Tuesday November 04, 2014 @02:29PM (#8558532)
Are they really? User-lovers, I mean.

Just a few days ago I got an email from a plugin developer (Sublimall), anounching that they're stopping development. Quote from the email: "There is no community, no documentation, API is not well designed and there is absolutely no communication with Sublime Text developers.".

I don't know if I can recommend it, really. There's a real risk other plugins I rely on won't be maintained anymore.

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by coldtea on Wednesday November 05, 2014 @04:39AM (#8561093)
>Just a few days ago I got an email from a plugin developer (Sublimall)

Well, that's just one developer though -- and who might be frustrated because of small adoption for his plugin. Haven't even heard of that one to be frank, but I see good movement in the ST plugin space for the stuff I use.

But my point was actually the opposite: I'd take a more fleshed out product like ST even if it's not user-friendly (in the community, developer relationship sense), over a user-friendly product thats not as functional, such as Atom etc.

If ST stops serving my needs (which it can serve as long as it runs in the current state, I don't need anything new, except for it to be ported to new versions of OS X), I'm OK. Else I can switch. I've used anything, and I'm a 15+ years Vim user too, so I can always go back to that.

Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by cr3ative on Tuesday November 04, 2014 @11:38AM (#8557430)
Can Atom open files larger than 2MB yet?
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by Mtinie on Tuesday November 04, 2014 @12:39PM (#8557846)
I ran into the limitation this morning, so as of 0.140.0, the answer is still "No" :(
Re:Show HN: Cobalt2 theme and colour scheme for Sublime Text by jason_slack on Monday November 17, 2014 @12:10PM (#8619126)
They have 0.146.0 out now.