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

Compare 250+ cloud server plans with Cloud Cost Calculator

How cool is that ? The Cloud Cost Calculator compares more than 250 cloud server plans of Amazon, Rackspace, DigitalOcean,

How to show the available version of a package (before doing apt-get install)

To show the version of the package that will be installed with apt-get install, do apt-cache policy packagename. To show

How to hack time (KUNG FURY promo campaign)

:) Finally, KUNG FURY is out! No need for further words, unless you lived in a cave for the last

php

Test out PHP 5.6alpha1 on Windows 7 / 8 with two clicks

The popular Apache-MySQLP-PHP stack EasyPHP has become very professional, maintained and especially modularized in the last 2 years, and when

Install MINI in 30 seconds inside Ubuntu 14.04 LTS

This is a guideline on how to install MINI – an extremely simple naked PHP application – more or less

laracon-2014-eu-amsterdam

Laracon 2013 – Jordi Boggiano: In Depth Composer (47min video)

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

Increase your HTML / CSS coding speed with EMMET

Codeninja.com just published a very interesting article about the excellent free code-completion/code-generation tool EMMET, which allows you to create huge

twig

A 6min video introduction into Twig, the PHP templating engine

Cool video, excellently explained. Just 6 minutes, but features all the basics. Note that you can integrate Twig into your

[Link] Making a website vertically responsive

Very useful tutorial by Ian Yates: How to make a website VERTICALLY responsive, adapting its content for small heights. Interesting

js javascript

Push database changes to all clients in real-time (!) with AngularJS and Firebase

The coolest talk I’ve seen this week: Anant Narayanan of Firebase shows how to build a simple but really impressive

1/4

Categories

Search

Creators of Laravel launch one-click-installations of Laravel (including nginx, PHP 5.5 etc.)
Perfect HTML email templates for perfect HTML emails (outlook!) with INK
html6
Is this the first HTML6 specification?
hearthbleed-ssl-bug
The SSL Heartbleed bug explained in 30 seconds
php
How to install sqlite driver for PHP in Ubuntu & Debian
php
“Belt” adds very clever everyday functions to PHP, comes with JavaScript naming styles and eventually solves the needle/haystack problem
battlefield-3-free
Electronic Arts / Origin offers Battlefield 3 for free (limited promo action) !
O’Reilly’s Learning JavaScript Design Patterns by Addy Osmani for free
Hacking ATMs – A conference talk about the current security state of Windows XP driven cash machines
sass laravel
Extremely easy SASS in Laravel (with pure PHP)
composer
How to install Composer on Windows 7 / 8 or Ubuntu
GitHub finally introduces repo traffic stats
mod-rewrite-ubuntu-14-04-lts
How to enable mod_rewrite in Ubuntu 14.04 LTS
How major web companies (and banks) handle passwords quite wrong
hiphop php
HipHop VM reaches 100% green Unit Tests in Laravel, Drupal, Slim, CodeIgniter etc.

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