Skip to content

Instantly share code, notes, and snippets.

@nschwermann
Created May 16, 2013 18:03
Show Gist options
  • Save nschwermann/5593723 to your computer and use it in GitHub Desktop.
Save nschwermann/5593723 to your computer and use it in GitHub Desktop.
Solarized IntelliJ Theme

This tweaks the darcula IntelliJ theme to better match the solarized color scheme found here https://github.com/jkaving/intellij-colors-solarized

To enable, after installing the color scheme linked above set your theme to darcula.

Preferences -> Appearance -> Theme -> Darcula

Exit IntelliJ then add the tweaked darcula properties file to the idea.jar file with the following command

jar -ufv idea.jar com/intellij/ide/ui/laf/darcula/darcula.properties 

idea.jar can be found in /Applications/IntelliJ.app/lib on OSX

I find it is easier to copy idea.jar to another folder that also contains the file structure com/intellij/ide/ui/laf/darcula with the tweaked properties file, then after adding the tweaked property file with the above command copy the tweaked jar back to the original location.

# suppress inspection "UnusedProperty" for whole file
darcula.background=002b36
darcula.textBackground=002b36
darcula.foreground=93a1a1
darcula.textForeground=93a1a1
darcula.caretForeground=93a1a1
darcula.inactiveBackground=002b36
window=002b36
text=93a1a1
textText=93a1a1
infoText=93a1a1
OptionPane.messageForeground=93a1a1
Menu.maxGutterIconWidth=18
MenuItem.maxGutterIconWidth=18
MenuItem.acceleratorDelimiter=-
MenuItem.border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBorder
Menu.border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBorder
EditorPane.inactiveBackground=073642
EditorPane.inactiveForeground=93a1a1
EditorPaneUI=com.intellij.ide.ui.laf.darcula.ui.DarculaEditorPaneUI
control=002b36
link.foreground=268bdd2
ScrollBarUI=com.intellij.ide.ui.laf.darcula.ui.DarculaScrollBarUI
TableHeaderUI=com.intellij.ide.ui.laf.darcula.DarculaTableHeaderUI
Table.gridColor=586e75
Table.ascendingSortIcon=AllIcons.General.SplitUp
Table.descendingSortIcon=AllIcons.General.SplitDown
#just to suppress border painters
TableHeader.cellBorder=com.intellij.ide.ui.laf.darcula.DarculaTableHeaderBorder
TitledBorder.titleColor=93a1a1
MenuBar.disabledBackground=002b36
MenuBar.shadow=002b36
TabbedPaneUI=com.intellij.ide.ui.laf.darcula.ui.DarculaTabbedPaneUI
TabbedPane.tabInsets=0,4,0,4
TabbedPane.highlight=002b36
TabbedPane.light=657b83
TabbedPane.selected=808080
TabbedPane.selectHighlight=002b36
TabbedPane.contentBorderInsets=3,1,1,1
TabbedPane.darkShadow=002b36
TabbedPane.shadow=002b36
Separator.foreground=073642
Focus.color=ff0000
TextField.background=073642
TextFieldUI=com.intellij.ide.ui.laf.darcula.ui.DarculaTextFieldUI
TextField.border=com.intellij.ide.ui.laf.darcula.ui.DarculaTextBorder
PasswordField.background=073642
PasswordFieldUI=com.intellij.ide.ui.laf.darcula.ui.DarculaPasswordFieldUI
PasswordField.border=com.intellij.ide.ui.laf.darcula.ui.DarculaTextBorder
ProgressBarUI=com.intellij.ide.ui.laf.darcula.ui.DarculaProgressBarUI
ProgressBar.border=com.intellij.ide.ui.laf.darcula.ui.DarculaProgressBarBorder
ProgressBar.foreground=808080
FormattedTextField.background=073642
TextArea.background=073642
CheckBoxUI=com.intellij.ide.ui.laf.darcula.ui.DarculaCheckBoxUI
CheckBox.border=com.intellij.ide.ui.laf.darcula.ui.DarculaCheckBoxBorder
ComboBoxUI=com.intellij.ide.ui.laf.darcula.ui.DarculaComboBoxUI
ComboBox.disabledBackground=002b36
ComboBox.squareButton=false
RadioButtonUI=com.intellij.ide.ui.laf.darcula.ui.DarculaRadioButtonUI
StatusBar.topColor=586e75
StatusBar.top2Color=586e75
StatusBar.bottomColor=586e75
Button.border=com.intellij.ide.ui.laf.darcula.ui.DarculaButtonPainter
ButtonUI=com.intellij.ide.ui.laf.darcula.ui.DarculaButtonUI
MenuItem.acceleratorForeground=eeeeee
PopupMenu.translucentBackground=002b36
ToolTip.background=073642
SpinnerUI=com.intellij.ide.ui.laf.darcula.ui.DarculaSpinnerUI
Spinner.border=com.intellij.ide.ui.laf.darcula.ui.DarculaSpinnerBorder
Spinner.background=002b36
Spinner.arrowButtonInsets=1,1,1,1
Spinner.editorBorderPainted=false
SplitPane.highlight=002b36
Hyperlink.linkColor=268bdd2
Tree.collapsedIcon=AllIcons.Mac.Tree_white_right_arrow
Tree.expandedIcon=AllIcons.Mac.Tree_white_down_arrow
FileView.fileIcon=AllIcons.FileTypes.Unknown
@slashwhatever
Copy link

I get this error when following your instructions:

com/intellij/ide/ui/laf/darcula/darcula.properties : no such file or directory

any ideas? (pardon the pun!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment