Sublime Forum

Color theme like the one github uses

#1

hi - i’m leooking for a color scheme for sublime text 2 which would make look my code like when browsing github - is there one, or maybe anybody know the name of the scheme github uses?

many thanks

arek

0 Likes

#2

I assume you are talking about the editing (dark) theme.

It would be the Twilight theme found int Ace Web Editor.

You can literally just drop this file into SublimeText2. Also you can grab any of the other themes from Ace
https://github.com/ajaxorg/ace/blob/master/tool/tmthemes/Twilight.tmTheme

**Edit: ** Just realized this is already included in ST2, but there are some themes that do not come with ST2 that are found in Ace.

0 Likes

#3

not sure we are talking about the same thing

i’ve just found the theme for vim : github.com/raggi/vim-color-ragg … /raggi.vim

it’s a light theme

is there a way to convert vim themes to sublime text ?

arek

0 Likes

#4

Ahh, the light non editable color scheme. If you edit the file on githubs site, they use a dark theme, just viewing, the theme is light. I will have to compare some themes, but I am certain it exists under a different name in ace.

I’ll let you know if I find it.

0 Likes

#5

This should be it. The raggi theme was ported from a TextMate theme…and since textmate themes work in SublimeText2…

https://github.com/sbecker/github_textmate_theme

0 Likes

#6

ok - that’s almost the same - i’ll try take it from this

thanks a lot

Arek

0 Likes

#7

If you make any modifications to it to make it more faithful to GitHub’s colors please post your version here. The theme is pretty close but not quite the same.

0 Likes

#8

There is https://packagecontrol.io/packages/GitHub%20Theme.

0 Likes