๐ A beautiful theme for MacOS Terminal and iTerm2
- Open Terminal Preferences
- Switch to the Profiles tab
- At the bottom of the profiles list, click the "other actions" circle icon
- Import the
Monokai Pro.terminal
file - Optionally, select Monokai Pro and click the "Default" button below
- Open iTerm2 Preferences
- Switch to the Profiles tab
- Under the "other actions" button, select "import JSON profiles..."
- Import the
Monokai Pro.iterm.json
file - Optionally, under the "other actions" button select "Set as Default"
- Open iTerm2 Preferences
- Switch to the Profiles tab
- Create a new profile, or select an existing profile (such as "โ Default")
- Open the "Color Presets..." menu, then click "Import..."
- Import the
Monokai Pro.itermcolors
file
Hyper Terminal doesn't support exportable/importable color schemes, but you can set the .hyper.js
file configuration like so:
module.exports = {
config: {
cursorColor: '#2D2A2E',
cursorAccentColor: '#FCFCFA',
foregroundColor: '#FDFDFA',
backgroundColor: '#2D2A2E',
selectionColor: '#FC9867',
colors: {
black: '#2D2A2E',
red: '#FF6188',
green: '#A9DC76',
yellow: '#FFD866',
blue: '#AB9DF2',
magenta: '#FC9867',
cyan: '#78DCE8',
white: '#FCFCFA',
lightBlack: '#000000',
lightRed: '#D2375A',
lightGreen: '#7CB248',
lightYellow: '#D2AE38',
lightBlue: '#7E73C4',
lightMagenta: '#CF6E39',
lightCyan: '#4BB2BA',
lightWhite: '#FFFFFF',
},
}
}
The profiles in this project may come preconfigured with Adobe's Source Code Pro. It wasn't exactly intentional to do that, just what the terminal export provided when exporting the profiles from my personal configuration. Feel free to change the font selection to any other terminal compatible font.
I set the terminal selection color differently than what you might consider purely Monokai Pro. Magenta is a very
seldom used color in terminal applications, so I decided I wanted to see it as the selection color. If you want to
adjust the selection color to match the Monokai Pro theme a little better, set it to #c1c0c0
or if your terminal
supports alpha channels then either rgba(193, 192, 192, 0.15)
or #c1c0c026
would work.
Normally the cursor color would be #fcfcfa
and the cursor text would be #2d2a2e
, however it turns out that not
all terminals support cursor text colors (I'm looking at you, Apple) meaning that a box style cursor of the same color
as the default foreground color would cause characters to disappear. I've opted to use the same color as the selection
color (#fc9867
) to overcome this. As stated before, if you know you have a |
or _
cursor rather than box style
then you are free to switch back to the same color as the foreground.
The screenshots show off this color profile in use with Z Shell (specifically, Oh My Zsh) and the Powerlevel10k theme.
This project is licensed under the MIT license.
- The Monokai color scheme was created by Wimer Hazenberg
- Please go purchase Monokai Pro for your IDE if you enjoy it
- This project is forked from https://github.com/stephenway/monokai.terminal by Stephen Way