Wes Bos' Cobalt2 SB3 Theme

Wes Bos’ Cobalt2 SB3 Theme

I happen to fall in the “there’s no such thing as too much screen” camp when it comes to writing code, which is why my setup is a iMac 27-inch with a Apple 27-inch display on one side and a cheapie HDMI screen on the other. And given I’m not in my twenties by a long shot, I want text sized, colored and contrasted just right for putting in multiple hours of coding.

Which is why I’m overjoyed that Wes Bos released today his Cobalt2 theme for Sublime Text 3. It raised the bar on what an SB3 theme was capable of, adding all sorts of  visual niceties that add up to a better coding experience. From the files with icons for their types to great contrast in the Command Palette, this is a joy to use.

One last thing before I let you run off to either your SB3’s Package Control or Wes’s github repo: If you’ve ever tried to change the sidebar font size and line spacing in Sublime Text 2 or 3, you know what a sheer hell it is – and most likely to break. In Cobalt2, it’s easy (no guarantees in other themes…):

  • If you use Package Control to install SB plugins, install PackageResourceViewer so you can poke around inside your installed plugins. See this SO Answer.
  • Then, after install Wes Bos’s Cobalt2, go to line 497 or so of the Cobalt2.sublime-theme file in the plugin and increase the font size. You might also want to go up to the // Sidebar tree entry and adjust row_padding, given the font.size you set. Then save the file.