Original Solarized color scheme developed by Ethan Schoonover es@ethanschoonover.com
Adapted for IntelliJ IDEA by:
Adam Vandenberg flangy@gmail.com
Johan Kaving johan@kaving.se
Visit the Solarized homepage
See the Solarized homepage for screenshots, details and color scheme versions for Vim, Mutt, popular terminal emulators and other applications. These versions can also be found in the main Solarized repository on GitHub.
Unfortunately the IntelliJ subtree in the main repository has not been updated and is out-of-sync with this repository.
For IntelliJ this IntelliJ-only repository is therefore recommended over the main repository.
These color scheme files are primarily tested with the latest version of IntelliJ IDEA Community Edition. They might work with other versions of IntelliJ IDEA as well as other JetBrains tools (e.g. PhpStorm and PyCharm).
This table lists the languages (and other sections under Preferences | Editor | Colors & Fonts
)
for which the syntax highlighting has been adapted to the Solarized color scheme:
Language/Section | Supported | Note |
---|---|---|
ActionScript | Yes | |
Android Logcat | Yes | |
Apache Config | Yes | |
BEMHTML | Yes | |
Bash | Yes | (BashSupport 1.1beta14 or later) |
Buildout config | Yes | |
C | No | |
C++ | No | |
CMD | Yes | |
CSS | Yes | |
Clojure Templates | Yes | |
CoffeeScript | Yes | |
Custom Templates | Yes | |
Dart | Yes | |
Debugger | Yes | |
Diff | Yes | |
Django/Jinja2 Template | Yes | |
ERB | Yes | |
Erlang | Yes | |
File Status | Yes | |
General | Yes | |
Gherkin (Cucumber) | Yes | |
Google Go | Yes | |
GQL | Yes | |
Groovy | Yes | |
HAML | Yes | |
HTML | Yes | |
Haskell | Yes | |
JFlex | Yes | |
Jade | Yes | |
Java | Yes | |
JavaScript | Yes | |
JSP | Yes | |
Jodd props file | Yes | |
Kotlin | Yes | |
LESS | Yes | |
Localization file | Yes | |
Lua | Yes | |
Mako Template | Yes | |
Markdown | Yes | |
Objective-C | Yes | |
PHP | Yes | |
Properties | Yes | |
Python | Yes | |
ReST file | Yes | |
RegExp | Yes | |
Ruby | Yes | |
SASS | Yes | |
SQL | Yes | |
Scala | Yes | |
Tea | Yes | |
Twig | Yes | |
XML | Yes | |
XPath | Yes | |
YAML | Yes |
-
Go to
File | Import Settings...
and specify theintellij-colors-solarized
directory or thesettings.jar
file. ClickOK
in the dialog that appears. -
Restart IntelliJ IDEA
-
Go to
Preferences | Editor | Colors & Fonts
and select one of the new color themes.
-
Copy
Solarized Dark.icls
andSolarized Light.icls
to your IntelliJ IDEA preferences color directory. The directory varies, depending on which JetBrains IDE you are using.The colors directory may need to be created.
It is typically in:
Mac OS X
~/Library/Preferences/IntelliJIdeaXX/colors
(IntelliJ IDEA Ultimate Edition),~/Library/Preferences/IdeaICXX/colors
(IntelliJ IDEA Community Edition),~/Library/Preferences/WebIDE70/colors
(PHPStorm 7.0),~/Library/Preferences/WebIDE80/colors
(PHPStorm 8.0),~/Library/Preferences/WebStorm8/colors
(WebStorm 8.0).
Linux
~/.<PRODUCT><VERSION>/colors
Generic path,~/.IdeaICXX/config/colors
(IntelliJ IDEA),~/.PyCharmXX/colors
(PyCharm).
Windows
%USERPROFILE%\.IdeaICXX\config\colors
(IntelliJ IDEA Community Edition),%USERPROFILE%\.PyCharm40\config\colors
(PyCharm 4.5 Community Edition).
-
Restart IntelliJ IDEA
-
Go to
Preferences | Editor | Colors & Fonts
and select one of the new color themes.
Depending on the Look and Feel that you use the background color for editor tabs will be different. The default L&F has a light gray background, while the Darcula L&F has a dark background.
It is hard to find colors that work equally well on both light and dark backgrounds,
and therefore the settings.jar
file contains Darcula versions of the color schemes.
The only difference from the regular versions is that these color schemes inherit
their default colors from the Darcula theme rather than from Default.
Unfortunately, font settings are included in the color settings files.
You should probably modify these in Preferences | Editor | Colors & Fonts | Font
after adding the color schemes to your IntelliJ IDEA installation.
If you want to commit updates to the ICLS color scheme files, make sure to run the buildjar.sh
script before committing to generate
an updated settings.jar
file as well.
The script has been tested on OS X, on other operating systems you're on your own.