I port my favorite color schemes to ConEmu. Note that screenshots are taken
with the prompt customized with posh-git and the Get-ChildItem
with
Get-ChildItemColor. See this blog post for my PowerShell customizations.
My current favorites are material-theme (Emacs) light
and One Dark
.
- material-theme (Emacs) (light)
- Oceans16 (dark)
For all screenshots, see screenshots
- ayu (Light, Mirage, & Dark)
- Base16
- Ocean (dark)
- Railscasts (light and dark)
- Dracula (thanks to Radmon)
- gruvbox (dark, thanks to circleous)
- material-theme (Emacs) (light)
- material-theme (Sublime) (darker, thanks to chantisnake)
- moe-theme (light and dark)
- Monokai
- Oceans16 (dark)
- One Dark and One Light (light theme contributed by Connor Griffin)
- Solarized (light and dark)
- Spacemacs (dark)
There are two methods.
- Use
Install-ConEmuTheme.ps1
PowerShell script. First, the script will always create a backup of your config file asConEmu.backup.xml
prior to doing anything else. It’s got two operation modes:- To add a theme to your config file:
.\Install-ConEmuTheme.ps1 [-ConfigPath Path] -Operation Add -ThemePathOrName themes\oceans16-dark.xml
- To remove a theme from your config file:
.\Install-ConEmuTheme.ps1 [-ConfigPath Path] -Operation Remove -ThemePathOrName "Oceans16 Dark"
- To add a theme to your config file:
- Note that
-ConfigPath
argument is optional if yourConEmu.xml
is located at the default location (C:\Users\You\AppData\Roaming\ConEmu.xml
).
- Open
ConEmu.xml
. Usually it is at~\AppData\Roaming
, where~
is your home directory (C:\Users\UserName
). - Paste the color scheme at the end of palette settings part. It starts with
the following:
<key name="Colors" modified="2015-03-19 13:53:09" build="150310"> <value name="Count" type="dword" data="00000001"/> <key name="Palette1" modified="2015-03-19 13:53:09" build="150310">
- If you do not have any custom color scheme, the xml key is not there. In
ConEmu, go to
Settings
->Feature
->Colors
and generate a custom color theme by click onSave
button and specify any name. ThenColors
key will be automatically generated in yourConEmu.xml
. You can overwrite it when you add new themes. - Update the palette number (key name
PaletteX
) accordingly. For example, if you have 1 custom color palette already, it should bePalette2
for the new one:<key name="Palette2" modified="2015-03-19 13:53:09" build="150310">
- Make sure to increase the value for key name
Count
under keyColors
as well. It should equal to the total number of pallets you have:<value name="Count" type="dword" data="00000002"/>
- For example, the
Colors
part of your modifiedConEmu.xml
should look like this:<key name="Colors" modified="2015-03-19 13:53:09" build="150310"> <value name="Count" type="dword" data="00000002"/> <key name="Palette1" modified="2015-03-19 13:53:09" build="150310"> <value name="Name" type="string" data="EXISTING COLOR"/> <value name="ExtendColors" type="hex" data="00"/> ... <value name="ColorTable31" type="dword" data="00e3f6fd"/> </key> <key name="Palette2" modified="2015-03-19 13:53:09" build="150310"> <value name="Name" type="string" data="NAME OF THE COLOR YOU ADDED"/> <value name="ExtendColors" type="hex" data="01"/> ... <value name="ColorTable31" type="dword" data="00e7fdfd"/> </key> </key>
See Template.xml for the template for color schemes with the default colors.
In general, programs (such as git
) uses colors through 0 - 8, (see the
template for their uses). I decided to use git and PowerShell as the main
targets, so please try to match your colors to the usage of those
applications.
Also, make sure that all the color options set to Auto
to get correct
highlighting:
- Add
ayu
theme
- Change file structure
- Add
material-sublime-darker
theme (thanks to chantisnake) - Add
gruvbox
theme (thanks to circleous)
- Add
One Dark
theme - Add default value for
-ConfigPath
argument forInstall-ConEmuTheme.ps1
- Add
Monokai
- Add theme (un)installation script,
tools/Install-ConEmuTheme.ps1
(Thanks to GrzegorzKozub).
- Add
bas16-railscasts
(light and dark)