├── .gitignore ├── GitHub.tmTheme ├── README.md └── screenshot.png /.gitignore: -------------------------------------------------------------------------------- 1 | *.cache 2 | -------------------------------------------------------------------------------- /GitHub.tmTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | GitHub 7 | settings 8 | 9 | 10 | settings 11 | 12 | background 13 | #FFFFFF 14 | caret 15 | #333333 16 | foreground 17 | #333333 18 | invisibles 19 | #E0E0E0 20 | lineHighlight 21 | #F8EEC7 22 | selection 23 | #B0CDE7 24 | selectionBorder 25 | #B0CDE7 26 | inactiveSelection 27 | #EDEDED 28 | findHighlight 29 | #FFE792 30 | findHighlightForeground 31 | #333333 32 | 33 | 34 | 35 | name 36 | Comments 37 | scope 38 | comment 39 | settings 40 | 41 | foreground 42 | #969896 43 | 44 | 45 | 46 | name 47 | Operators 48 | scope 49 | keyword.operator, support.constant 50 | settings 51 | 52 | fontStyle 53 | 54 | foreground 55 | #A71D5D 56 | 57 | 58 | 59 | name 60 | Operators 61 | scope 62 | constant.language 63 | settings 64 | 65 | fontStyle 66 | 67 | foreground 68 | #0086B3 69 | 70 | 71 | 72 | name 73 | Keywords 74 | scope 75 | keyword, storage 76 | settings 77 | 78 | fontStyle 79 | 80 | foreground 81 | #a71d5d 82 | 83 | 84 | 85 | name 86 | Types 87 | scope 88 | storage.type 89 | settings 90 | 91 | fontStyle 92 | 93 | foreground 94 | #a71d5d 95 | 96 | 97 | 98 | name 99 | Types 100 | scope 101 | support.type 102 | settings 103 | 104 | fontStyle 105 | 106 | foreground 107 | #0086B3 108 | 109 | 110 | 111 | scope 112 | variable 113 | settings 114 | 115 | foreground 116 | #0086b3 117 | 118 | 119 | 120 | scope 121 | variable.language 122 | settings 123 | 124 | foreground 125 | #df5000 126 | 127 | 128 | 129 | scope 130 | variable.parameter.function 131 | settings 132 | 133 | foreground 134 | #333 135 | 136 | 137 | 138 | name 139 | Functions 140 | scope 141 | entity.name.function, entity 142 | settings 143 | 144 | fontStyle 145 | 146 | foreground 147 | #795da3 148 | 149 | 150 | 151 | name 152 | Functions 153 | scope 154 | support.function 155 | settings 156 | 157 | fontStyle 158 | 159 | foreground 160 | #0086B3 161 | 162 | 163 | 164 | name 165 | Classes 166 | scope 167 | entity.name.type, entity.other.inherited-class 168 | settings 169 | 170 | fontStyle 171 | 172 | foreground 173 | #000000 174 | 175 | 176 | 177 | name 178 | Classes 179 | scope 180 | support.class 181 | settings 182 | 183 | fontStyle 184 | 185 | foreground 186 | #0086b3 187 | 188 | 189 | 190 | name 191 | Exceptions 192 | scope 193 | entity.name.exception 194 | settings 195 | 196 | foreground 197 | #F93232 198 | 199 | 200 | 201 | name 202 | Sections 203 | scope 204 | entity.name.section 205 | settings 206 | 207 | fontStyle 208 | 209 | 210 | 211 | 212 | name 213 | Numbers 214 | scope 215 | constant.numeric, constant 216 | settings 217 | 218 | fontStyle 219 | 220 | foreground 221 | #0086b3 222 | 223 | 224 | 225 | name 226 | Strings 227 | scope 228 | constant.character, string, string punctuation 229 | settings 230 | 231 | fontStyle 232 | 233 | foreground 234 | #183691 235 | 236 | 237 | 238 | name 239 | Strings: Regular Expressions 240 | scope 241 | string.regexp, string.regexp constant.character, string.regexp punctuation 242 | settings 243 | 244 | fontStyle 245 | 246 | foreground 247 | #009926 248 | 249 | 250 | 251 | name 252 | Strings: Symbols 253 | scope 254 | constant.other.symbol 255 | settings 256 | 257 | foreground 258 | #990073 259 | 260 | 261 | 262 | name 263 | Embedded Source 264 | scope 265 | string source, text source 266 | settings 267 | 268 | fontStyle 269 | 270 | foreground 271 | #333333 272 | 273 | 274 | 275 | scope 276 | variable.other.property 277 | settings 278 | 279 | foreground 280 | #333 281 | fontStyle 282 | 283 | 284 | 285 | 286 | scope 287 | entity.name 288 | settings 289 | 290 | fontStyle 291 | 292 | foreground 293 | #333333 294 | 295 | 296 | 297 | scope 298 | invalid 299 | settings 300 | 301 | fontStyle 302 | 303 | foreground 304 | #f00 305 | 306 | 307 | 308 | 309 | 310 | 311 | name 312 | HTML: Tags 313 | scope 314 | entity.name.tag 315 | settings 316 | 317 | fontStyle 318 | 319 | foreground 320 | #63a35c 321 | 322 | 323 | 324 | name 325 | HTML: Tags Punctuation 326 | scope 327 | punctuation.definition.tag 328 | settings 329 | 330 | fontStyle 331 | 332 | foreground 333 | #333 334 | 335 | 336 | 337 | name 338 | HTML: Attribute Punctuation 339 | scope 340 | meta.tag string punctuation 341 | settings 342 | 343 | fontStyle 344 | 345 | foreground 346 | #183691 347 | 348 | 349 | 350 | name 351 | HTML: Entities 352 | scope 353 | constant.character.entity 354 | settings 355 | 356 | fontStyle 357 | 358 | foreground 359 | #000000 360 | 361 | 362 | 363 | name 364 | HTML: Attribute Names 365 | scope 366 | entity.other.attribute-name 367 | settings 368 | 369 | fontStyle 370 | 371 | foreground 372 | #795da3 373 | 374 | 375 | 376 | name 377 | HTML: Attribute Values 378 | scope 379 | meta.tag string.quoted, meta.tag string.quoted constant.character.entity 380 | settings 381 | 382 | fontStyle 383 | 384 | foreground 385 | #183691 386 | 387 | 388 | 389 | 390 | 391 | scope 392 | meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css, entity.other.attribute-name.class, keyword.control.html.sass 393 | settings 394 | 395 | fontStyle 396 | 397 | foreground 398 | #63a35c 399 | 400 | 401 | 402 | scope 403 | entity.other.attribute-name.class, constant.other.unit 404 | settings 405 | 406 | fontStyle 407 | 408 | foreground 409 | #795da3 410 | 411 | 412 | 413 | scope 414 | support.type.property-name, support.constant.property-value 415 | settings 416 | 417 | fontStyle 418 | 419 | foreground 420 | #0086b3 421 | 422 | 423 | 424 | 425 | 426 | 427 | scope 428 | keyword.other.special-method.ruby.gem 429 | settings 430 | 431 | foreground 432 | #0086B3 433 | fontStyle 434 | 435 | 436 | 437 | 438 | scope 439 | variable.other.block.ruby 440 | settings 441 | 442 | foreground 443 | #000 444 | fontStyle 445 | 446 | 447 | 448 | 449 | 450 | 451 | scope 452 | support.function.prelude, variable.other.generic-type.haskell 453 | settings 454 | 455 | foreground 456 | #000 457 | fontStyle 458 | 459 | 460 | 461 | 462 | scope 463 | constant.other.haskell, support.constant.haskell 464 | settings 465 | 466 | fontStyle 467 | 468 | foreground 469 | #445588 470 | 471 | 472 | 473 | 474 | 475 | name 476 | diff.header 477 | scope 478 | meta.diff, meta.diff.header 479 | settings 480 | 481 | foreground 482 | #75715E 483 | 484 | 485 | 486 | name 487 | diff.deleted 488 | scope 489 | markup.deleted 490 | settings 491 | 492 | foreground 493 | #770000 494 | background 495 | #FFDDDD 496 | 497 | 498 | 499 | name 500 | diff.inserted 501 | scope 502 | markup.inserted 503 | settings 504 | 505 | foreground 506 | #003300 507 | background 508 | #DDFFDD 509 | 510 | 511 | 512 | name 513 | diff.changed 514 | scope 515 | markup.changed 516 | settings 517 | 518 | foreground 519 | #ececec 520 | 521 | 522 | 523 | uuid 524 | BF4E1964-0DB9-4E88-8142-E8F52D7EDEEC 525 | 526 | 527 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GitHub Sublime Theme 2 | 3 | ![GithHub Sublime Theme](https://raw.github.com/AlexanderEkdahl/github-sublime-theme/master/screenshot.png) 4 | 5 | ## Installation 6 | 7 | ### Using [Package Control](https://sublime.wbond.net) 8 | 9 | Open `Tools -> Command Palette...`. Search for `Package Control: Install Package` and click enter. Wait for 10 | the available packages to show up and then search for `GitHub Color theme`. Click enter and the theme should 11 | be installed. 12 | 13 | ### Using Git 14 | 15 | Locate your Sublime Text 2 `Packages` directory by using the menu item `Preferences -> Browse Packages...`. 16 | 17 | While inside the `Packages` directory, clone the theme repository using the command below: 18 | 19 | git clone https://github.com/AlexanderEkdahl/github-sublime-theme.git 20 | 21 | ### Download Manually 22 | 23 | * Download the files using the GitHub .zip download option 24 | * Unzip the files 25 | * Copy the folder to your Sublime Text 2 `Packages` directory 26 | 27 | ## Activating the color theme 28 | 29 | `Preferences -> Color Scheme -> GitHub`. 30 | 31 | ## Bonus Options 32 | 33 | If you want even more GitHub likeness you can add the following to your user settings 34 | 35 | { 36 | "font_size": 12.2, 37 | "font_face": "Courier", 38 | "font_options": ["subpixel_antialias"], 39 | "line_padding_bottom": 1, 40 | "line_padding_top": 1 41 | } 42 | 43 | ## Contributing 44 | 45 | All contributions are welcome. Ruby, Haskell and HTML highlighting are almost identical to the GitHub highlighting. 46 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlexanderEkdahl/github-sublime-theme/508740b2430c3c3a9e785fc93ee1d7c6f233af53/screenshot.png --------------------------------------------------------------------------------