Tuesday, November 29, 2011

Textmate Themes in Sublime2 (Helping a reader)

I had a reader leave the following comment on my blog post about using Textmate themes in Sublime2:
Hi! I added a theme Railscasts in Sublime and noticed that she's somewhat different. In TextMate it looks softer and more pleasant, as if the color is applied a filter. In Sublime the same color more contrasting. Do not you know you are with what it can be connected and how to do so in Sublime it was like in TextMate? Heres screenshot - http://dl.dropbox.com/u/858102/screenshots/models.py.png

I am usually pretty anal about such things myself, however I didn't notice the difference until it was pointed out, and I'm not really sure why it happens. I posted this in hopes another reader could help this fellow out.

Here is his screenshot from his comment (click for larger):

Here is the theme in Textmate on my Mac (click for larger):

Here is the theme in Sublime2 on my Mac (click for larger):

And here is the theme in Sublime2 under Linux on my home PC (click for larger):

They *all* look different to me, and I really have no answer.

Does anyone have any ideas to help out? 


  1. This is just a guess, but this may come down to how the application renders against the font against the pixel grid. Jeff Atwood had a series of posts about this a while back. http://pbrooks.me/tBbJ9A

  2. I found that you could achieve the same "soft" effect by setting the "font_options": [ "gray_antialias"]
    I personally adore this because I like when my screen isn't screaming at me, my eyes are sensitive to color.
    Unfortunately, the thickness of the letters isn't preserved when you turn it on, as it is in textmate. So the font is now pleasantly duller, but thinner. possibly to a detremiment, but certainly not bad. I take the quiet font over the thicker font any day.
    "color_scheme": "Packages/User/Railscasts.tmTheme",
    "font_size": 14,
    "font_face": "Monaco",
    "font_options": [ "gray_antialias"]

    p.s. - that captcha on your site is annoying as hell, and i would bet doesn't save you from any crazy amount of comments. consider turning it off if you want more discussion!