Skip to content

๐ŸŒˆ A beautiful theme for MacOS Terminal and iTerm2

License

Notifications You must be signed in to change notification settings

TigerC10/monokai-pro.terminal

ย 
ย 

Repository files navigation

Monokai Pro.terminal

๐ŸŒˆ A beautiful theme for MacOS Terminal and iTerm2

Screenshots

Screenshot of Git Log Screenshot of Git Status Screenshot of Cursor Selection

Installation

MacOS Terminal

  1. Open Terminal Preferences
  2. Switch to the Profiles tab
  3. At the bottom of the profiles list, click the "other actions" circle icon
  4. Import the Monokai Pro.terminal file
  5. Optionally, select Monokai Pro and click the "Default" button below

iTerm2

  1. Open iTerm2 Preferences
  2. Switch to the Profiles tab
  3. Under the "other actions" button, select "import JSON profiles..."
  4. Import the Monokai Pro.iterm.json file
  5. Optionally, under the "other actions" button select "Set as Default"

iTerm2 (Color Preset Only)

  1. Open iTerm2 Preferences
  2. Switch to the Profiles tab
  3. Create a new profile, or select an existing profile (such as "โ˜… Default")
  4. Open the "Color Presets..." menu, then click "Import..."
  5. Import the Monokai Pro.itermcolors file

Hyper Terminal

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',
    },
  }
}

Notes

Font

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.

Color Choices

Selection Color

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.

Cursor Color

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.

Shell Prompt

The screenshots show off this color profile in use with Z Shell (specifically, Oh My Zsh) and the Powerlevel10k theme.

License

This project is licensed under the MIT license.

Credits

About

๐ŸŒˆ A beautiful theme for MacOS Terminal and iTerm2

Topics

Resources

License

Stars

Watchers

Forks