Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
July 15, 2014
Chris
CSS, Git, LAMP, Local Development, PHP, PHPStorm, UI / UX
5

Get Github’s syntax highlighting colors in PHPStorm

PreviousNext
phpstorm-github-code-color-syntax-theme

I really really like the colors on GitHub’s code previews but couldn’t find any themes that copy that in a beautiful – and readable way -, so here’s my personal try on that: phpstorm-theme-github-remixed is a simple .icls file that needs to be copied to C:\Users\XXXXXX\.WebIde70\config\colors in Windows (for PHPStorm 7) or ~/Library/Preferences/WebIde70/colors in Linux / Mac OS (PHPStorm 7). Open PHPStorm, go to View -> Quick Switch Theme -> Switch Color Scheme and select GitHub Remixed. Done.

This is how it looks: Please note that PHP comments on GitHub are red (!), but I found this annoying and replaced it with a decent nuance of grey. The font size is also slightly smaller. We use Consolas here, which is installed by default on Windows systems (and can be loaded for free everywhere if you are on Linux / Mac OS). The yellow background of the PDO methods are not part of the theme (this is made by PHPStorm).

github-syntax-color-theme-phpstorm

Feel free to fork, edit, improve. Would be super-cool if somebody would add better colours for JS, HTML, SCSS etc.

This article was written quite a while ago (9 years), please keep this in mind when using the information written here. Links, code and commands might be outdated or broken.

Random articles

  • Get Github’s code colors in PHPStorm (2014 style)Get Github’s code colors in PHPStorm (2014 style)
  • PHPStorm: 42 Tips and Tricks (47min video talk by Mikhail Vink at Dutch PHP Conference 2015)PHPStorm: 42 Tips and Tricks (47min video talk by Mikhail Vink at Dutch PHP Conference 2015)
  • What’s new in PHPStorm 9What’s new in PHPStorm 9
  • When PHPStorm’s cache eats up your harddisk spaceWhen PHPStorm’s cache eats up your harddisk space
  • PHPStorm 8 has just been releasedPHPStorm 8 has just been released
  • Beautiful, minimal WordPress theme ZUKI by Elmastudio (with 30% discount)Beautiful, minimal WordPress theme ZUKI by Elmastudio (with 30% discount)
  • A perfect video tutorial to get started with xdebug in PHPStormA perfect video tutorial to get started with xdebug in PHPStorm
  • Sitepoint asks for your favourite PHP IDE – take part!Sitepoint asks for your favourite PHP IDE – take part!
  • Killer-feature in PHPStorm: Search everywhereKiller-feature in PHPStorm: Search everywhere
colorhighlightingPHPStormsyntaxtheme
Share this

5 Comments

  • jr2dallas
    July 29, 2015 4:38 pm

    Thanks !!!

    Reply
  • tim
    November 14, 2014 10:02 am

    nvm got it

    Reply
    • Chris
      November 29, 2014 5:44 pm

      Sorry what ?

      Reply
      • Chris
        November 29, 2014 5:45 pm

        Ah okay, you probably meant “nevermind” :)

        Reply
  • tim
    November 14, 2014 9:57 am

    PHPStorm 7.0 build: 131.374

    Cannot read scheme GitHub-Remixed.icls from ‘$ROOT_CONFIG$/colors’: Error on line 34: Attribute name “data-pjax-transient” associated with an element type “meta” must be followed by the ‘ = ‘ character.

    Reply

Leave A Comment Cancel reply

First look on Gitter, the chat for GitHub

GitHub has definitly become the #1 platform for git-based public repositories on the planet, no question. The site offers excellent

Symfony devs: Creator of Symfony framework is hiring (Cologne, Germany)!

Probably one of the most interesting companies for a PHP developer is currently hiring Juniors and Seniors in Cologne, Germany.

github-logo-octocat

GitHub rolls out .PSD diff and viewing

Good news for frontend designers / developers working with Photoshop a lot: GitHub has just rolled out native .psd support:

github-logo-octocat

GitHub buys Easel.io, a code-free full website creator worth a look

GitHub has just aquired Easel.io (which is NOT easel.ly who offer something similar for infographics / powerpoint !), a powerful

angularjs

Two excellent introductions into AngularJS by Todd Motto

If you are familiar with PHP frameworks and have a basic understanding of what a model, a controller and a

O’Reilly sells EVERY ebook for -50% right now!

A good chance to grab some IT books: O’Reilly sells every single book in their portfolio with a -50% discount

Useful basic linux stuff: Show kernel version, distribution name and distribution version on Ubuntu systems

Always nice to know: Show kernel version: uname -r Show kernel version and CPU: uname -a Show distribution version: lsb_release

php

How to install the mcrypt php extension (to use Laravel 4)

When installing Laravel 4 on a fresh Ubuntu or Debian system, you’ll probably get this error message: “Laravel requires the

phpstorm-8

PHPStorm 8 has just been released

The excellent PHP IDE PHPStorm just had a major release these days: Version 8 is out, coming with latest PHP

laracon-2014-eu-amsterdam

Laracon 2013 – Kapil Verma: Engineering Complex Applications with Laravel 4 (40min video)

More videos of 2013’s and 2014’s Laracon events from US and EU on their Youtube channel. This article was written

1/4

Categories

Search

Hacked french TV channel exposed passwords in TV interview (video, screenshots, links)
php
How to setup / install PHP 5.6 on Ubuntu 14.04 LTS
vagrant
How to copy Vagrant boxes (or duplicate them)
harper reed about big data
Harper Reed – The magic and mystery of Big Data (30min video from Webstock’15)
Meet the developers behind Ableton (14min video)
digitalocean coupon
Free $10 coupon for DigitalOcean SSD cloud VPS hosting
Interesting stats on SONY’s hacked passwords
ubuntu-14-04-lts lamp
How to install/setup a basic LAMP stack (Linux, Apache, MySQL, PHP) on Ubuntu 12.04 or Debian 7.0/7.1
js javascript
JavaScript Testing Tactics (21min video by Justin Searls)
vagrant
How to setup a local server (in a virtual machine) with Vagrant in PHPStorm
php-phalcon-logo
Which PHP-framework to learn in 2014 ? PHALCON, by far the fastest ever!
css4
Angelina Fabbro talks about “CSS4” in this excellent conference video
Useful basic linux stuff: Show kernel version, distribution name and distribution version on Ubuntu systems
O’Reilly’s Learning JavaScript Design Patterns by Addy Osmani for free
html6
Is this the first HTML6 specification?

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy
 
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT