12

How do you install custom color schemes in PhpStorm 2016.1 on Mac OSX?

Previous versions you'd place an xml file in a directory like ~/user/webide900/colors and PhpStorm would pick it up and make it an option for you in the settings to switch to one of those themes.

This site where I used to get themes appears to still be up to date but their instructions for install are for old versions.

PhpStorm docs don't make any mention of installing custom scheme files.

service-paradis
  • 3,333
  • 4
  • 34
  • 43
brs14ku
  • 346
  • 1
  • 2
  • 14

4 Answers4

34

To install a custom color scheme you need to create a folder named colors in ~/Library/Preferences/PhpStorm2016.1/. In here you drop the .icls file. Hope this helps.

Gianluca
  • 531
  • 4
  • 7
  • 1
    how about windows? – slier Apr 15 '16 at 06:48
  • 6
    `mkdir -p ~/Library/Preferences/PhpStorm2016.1/colors; mv ~/Downloads/*.icls $_` – Mark Fox Apr 18 '16 at 05:32
  • When getting a `.xml` file like afterglow, what do I need to do to make it an `.icls` file? – designermonkey May 10 '16 at 14:45
  • 1
    Just rename it to .icls. – Gianluca May 22 '16 at 16:42
  • 2
    @GabrielAnzaldoAlvarado on Linux the color scheme directory is `~/./config/colors/`. Make sure files you place there have `.icls` extension (on the web, you may find `.icl` files, you will need to rename them). – iloo Sep 15 '16 at 18:52
  • Don't forget to change your `PhpStorm2016.1` to `PhpStorm2016.*` where `*` is the current version of your PHPStorm app. You can see your current version in "about PHPStorm". In my case I needed `PhpStorm2016.2`. – VoA Feb 10 '17 at 00:34
13

PhpStorm 2016.1 on Windows - How to install color theme

  1. Go to folder: C:\Users\USERNAME\.PhpStorm2016.1\config\

  2. Create a new folder: colors

  3. Copy the XML file of your favourite theme-color in the colors folder.

  4. Open PhpStorm, go to: File->Settings then choose Editor->Colors & Fonts and your new theme-color appears in the select list.

Geoffrey Hale
  • 10,597
  • 5
  • 44
  • 45
Gustavo V.R.
  • 139
  • 1
  • 4
  • 1
    After step 3., do not forget to restart PhpStorm because the dropdown will not be auto populated or refreshed with your installed theme. I just tried it on my PhpStorm ver. 2017.1.4. Hope it helps. – Matija Jun 09 '17 at 06:21
3

Firstly, download a theme from https://github.com/sdvoynikov/color-themes

In PHPStorm, select File > Import Settings and select the downloaded theme file. After the IDE restarted the theme should automatically be loaded for you.

Zoe
  • 27,060
  • 21
  • 118
  • 148
JoeTidee
  • 24,754
  • 25
  • 104
  • 149
0

Update for Ubuntu/Linux versions in 2020:

  1. Find your PHPStorm folder in /home/your user/.config/JetBrains/PhpStormversion number/
  2. Create a new folder called colors.
  3. Drag your .icls file in there and reload the IDE
  4. Go to File > Settings > Editor > Color Scheme and select your theme from the drop down box.

Example:

Mine was in /home/enigmapr0ject/.config/Jetbrains/PhpStorm2020.3, created a new folder called colors and dropped my themes in there. Worked perfectly.

Vasilisa
  • 131
  • 1
  • 10