dorkhub

iTerm2-Color-Schemes

Over 450 terminal color schemes/themes for iTerm/iTerm2. Includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB,…

mbadolato
Shell27k6.5k forksupdated 1 day ago
git clone https://github.com/mbadolato/iTerm2-Color-Schemes.gitmbadolato/iTerm2-Color-Schemes

iTerm Color Schemes

Intro

This is a set of color schemes for iTerm (aka iTerm2). It also includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, Ghostty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty, Vim

Screenshots below and in the screenshots directory.

Installation Instructions

There are 3 ways to install an iTerm theme:

  • Direct way via keyboard shortcut:

    • Launch iTerm 2. Get the latest version at iterm2.com
    • Type CMD+i (⌘+i)
    • Navigate to Colors tab
    • Click on Color Presets
    • Click on Import
    • Click on the schemes folder
    • Select the .itermcolors profiles you would like to import
    • Click on Color Presets and choose a color scheme
  • Via iTerm preferences (go to the same configuration location as above):

    • Launch iTerm 2. Get the latest version at iterm2.com
    • Click on iTerm2 menu title
    • Select Preferences... option
    • Select Profiles
    • Navigate to Colors tab
    • Click on Color Presets
    • Click on Import
    • Select the .itermcolors file(s) of the schemes you'd like to use * Click on Color Presets and choose a color scheme
  • Via Bash script

    • Launch iTerm 2. Get the latest version at iterm2.com
    • Run the following command:
    # Import all color schemes
    tools/import-scheme.sh schemes/*
    
    # Import all color schemes (verbose mode)
    tools/import-scheme.sh -v schemes/*
    
    # Import specific color schemes (quotations are needed for schemes with spaces in name)
    tools/import-scheme.sh 'schemes/SpaceGray Eighties.itermcolors' # by file path
    tools/import-scheme.sh 'SpaceGray Eighties'       # by scheme name
    tools/import-scheme.sh Molokai 'SpaceGray Eighties'     # import multiple
    • Restart iTerm 2. (Need to quit iTerm 2 to reload the configuration file.)

Contribute

Using Docker

If docker is installed, the script generate-all.sh will do most of the steps described in Prerequisites, except for the instructions related to pyenv as this is not required in a docker container dedicated to generating the required files.

With docker, there is no need to install python and its dependencies on your computer.

The remaining manual tasks are to update README.md to include your theme and screenshot, and to update CREDITS.md to credit yourself for your contribution.

Debugging using Docker

In cases where new tools have to be tested, ./generate-all.sh debug will start an interactive terminal session inside the container.

Prerequisites

  1. For convenient work with generation scripts, it is recommended to install pyenv.
  2. Run pyenv install inside project folder to install python version from .python-version file.
  3. Run pip install -r requirements.txt to install the project dependencies.

How to add new theme

Have a great theme? Send it to me via a Pull Request!

Theme naming

Name source files exactly as the theme should be displayed. Use the human-readable name — no slugification, no replacing spaces with underscores.

  • iTerm2: schemes/Your Theme Name.itermcolors
  • YAML: yaml/Your Theme Name.yml (see yaml/README.md)

Quote names with spaces in shell commands: python3 tools/gen.py -s "Your Theme Name".

Have an iTerm theme?

  1. Get your theme's.itermcolors file.
    • Launch iTerm 2
    • Type CMD+i (⌘+i)
    • Navigate to Colors tab
    • Click on Color Presets
    • Click on Export
    • Save the .itermcolors file
  2. Put your theme file into /schemes/, named as you want it displayed.
    • mv <your-itermcolors-file> schemes/"Your Theme Name.itermcolors"

Have a theme in another format?

  1. Convert it to the YAML format specified in yaml/README.md. This is an extension of the format supported by the Gogh project.
    • If it helps, you can use tools/kitty_to_yaml.py and tools/ghostty_to_yaml.py. These tools accept configuration file streamed into stdin, and output a YAML fragment to stdout.
  2. Put the YAML file in yaml/ as Your Theme Name.yml.

Test your theme

  1. Generate other formats for your theme using the gen.py script.
    • python3 tools/gen.py -s "Your Theme Name"
  2. Optionally check WCAG contrast (.itermcolors only; YAML themes must be generated first).
    • python3 tools/wcag_check.py -s "Your Theme Name"
    • Failing checks are OK — gen.py may adjust colors during generation to meet the minimum contrast threshold (1.75:1).
  3. Generate a screenshot of your theme using the screenshot_gen tool.
    • pushd tools && python3 -m screenshot_gen && popd. This will generate new screenshots where they are missing.
    • If you have oxipng or zopflipng installed, the screenshot will be optimized for you.

Update CREDITS.md (optional)

  1. Update CREDITS.md to credit yourself for your contribution.

How to add new template

Do you want to convert existing iTerm themes to themes for your favorite terminal/editor/etc?

  1. Get config file from your terminal/editor/etc.
  2. Change actual colors in config to template placeholders from the list below.
  {{ Background_Color }}
  {{ Bold_Color }}
  {{ Cursor_Color }}
  {{ Cursor_Text_Color }}
  {{ Foreground_Color }}
  {{ Selected_Text_Color }}
  {{ Selection_Color }}
  {{ Ansi_0_Color }} // black
  {{ Ansi_1_Color }} // red
  {{ Ansi_2_Color }} // green
  {{ Ansi_3_Color }} // yellow
  {{ Ansi_4_Color }} // blue
  {{ Ansi_5_Color }} // magenta
  {{ Ansi_6_Color }} // cyan
  {{ Ansi_7_Color }} // white
  {{ Ansi_8_Color }} // bright black
  {{ Ansi_9_Color }} // bright red
  {{ Ansi_10_Color }} // bright green
  {{ Ansi_11_Color }} // bright yellow
  {{ Ansi_12_Color }} // bright blue
  {{ Ansi_13_Color }} // bright magenta
  {{ Ansi_14_Color }} // bright cyan
  {{ Ansi_15_Color }} // bright white

  Each color has these fields:
 - {{ Background_Color.hex }} for hex representation
 - {{ Background_Color.rgb }} for rgb representation as a "(r, g, b)" string
 - {{ Backgroun_Color.guint16 }} for guint16 representation

  Also you have access to this metadata fields:
 - {{ Guint16_Palette }} with a string containing all ansi colors as guint16 values
 - {{ Dark_Theme }} which contains a sign that the theme is dark
  1. If you need a new value type for color, add it too tools/converter.py
  2. Put your template file into tool/templates. A folder with schemas will be created based on the filename. And the file extension will remain with all generated ones. Example: editor.ext file will generate schemas as editor/scheme_name.ext
  3. Generate all existing themes for all templates cd tools/ && ./gen.py. Or, if you only want to generate schemas for your template, you can use the -t flag.
  • ./gen.py -t kitty
  1. If in the process you had to add new dependencies or update the version of python, do not forget to indicate this in requirements.txt or .python-version.

Screenshots

The screenshots are categorized.

Dark Themes

0x96f

Screenshot

12-bit Rainbow

Screenshot

3024 Night

Screenshot

Aardvark Blue

Screenshot

Aardvark Ink

Screenshot

Abernathy

Screenshot

Acid Lime

Screenshot

Adventure Time

Screenshot

Adventure

Screenshot

Adwaita Dark

Screenshot

Afterglow

Screenshot

Aizen Dark

Screenshot

Alien Blood

Screenshot

Amber CRT Retro

Screenshot

Andromeda

Screenshot

Apple Classic

Screenshot

Apple System Colors

Screenshot

Arcoiris

Screenshot

Ardoise

Screenshot

Argonaut

Screenshot

Arthur

Screenshot

Atelier Sulphurpool

Screenshot

Atlas Ragnarok

Screenshot

Atom One Dark

Screenshot

Atom

Screenshot

Aura Dark

Screenshot

Aura

Screenshot

Aurora

Screenshot

Ayu Mirage

Screenshot

Ayu

Screenshot

Banana Blueberry

Screenshot

base16-icy

Screenshot

Batman

Screenshot

Belafonte Night

Screenshot

Birds Of Paradise

Screenshot

Black Metal (Bathory)

Screenshot

Black Metal (Burzum)

Screenshot

Black Metal (Dark Funeral)

Screenshot

Black Metal (Gorgoroth)

Screenshot

Black Metal (Immortal)

Screenshot

Black Metal (Khold)

Screenshot

Black Metal (Marduk)

Screenshot

Black Metal (Mayhem)

Screenshot

Black Metal (Nile)

Screenshot

Black Metal (Venom)

Screenshot

Black Metal

Screenshot

Blazer

Screenshot

Blue Berry Pie

Screenshot

Blue Dolphin

Screenshot

Blue Matrix

Screenshot

Bluloco Dark

Screenshot

Borland

Screenshot

Box

Screenshot

branch

Screenshot

Breeze

Screenshot

Bright Lights

Screenshot

Broadcast

Screenshot

Brogrammer

Screenshot

Builtin Dark

Screenshot

Builtin Pastel Dark

Screenshot

Builtin Tango Dark

Screenshot

C64

Screenshot

Calamity

Screenshot

Carbonfox

Screenshot

Catppuccin Frappe

Screenshot

Catppuccin Macchiato

Screenshot

Catppuccin Mocha

Screenshot

CGA

Screenshot

Chalk

Screenshot

Chalkboard

Screenshot

Challenger Deep

Screenshot

Chester

Screenshot

Ciapre

Screenshot

Citrus Ink

Screenshot

Citruszest

Screenshot

Claude Dark

Screenshot

Clear Dark

Screenshot

Cobalt Neon

Screenshot

Cobalt Next Dark

Screenshot

Cobalt Next Minimal

Screenshot

Cobalt Next

Screenshot

Cobalt2

Screenshot

Cool Night

Screenshot

Crayon Pony Fish

Screenshot

CRT Amber

Screenshot

Cursor Dark

Screenshot

Cutie Pro

Screenshot

Cyberdyne

Screenshot

Cyberpunk Scarlet Protocol

Screenshot

cyberpunk-icy

Screenshot

Cyberpunk

Screenshot

Dalton Dark

Screenshot

Dark Modern

Screenshot

Dark Pastel

Screenshot

Dark+

Screenshot

Darkermatrix

Screenshot

Darkmatrix

Screenshot

Darkside

Screenshot

datum (dark)

Screenshot

Deep

Screenshot

Desert

Screenshot

Detuned

Screenshot

Dimidium

Screenshot

Dimmed Monokai

Screenshot

Django Reborn Again

Screenshot

Django Smooth

Screenshot

Django

Screenshot

Dogxi Misty

Screenshot

Doom One

Screenshot

Doom Peacock

Screenshot

Dot Gov

Screenshot

Dracula+

Screenshot

Dracula

Screenshot

Driftwood

Screenshot

Duckbones

Screenshot

Duotone Dark

Screenshot

Duskfox

Screenshot

Earthsong

Screenshot

Eclipse

Screenshot

Electron Highlighter

Screenshot

Elegant

Screenshot

Elemental

Screenshot

Elementary

Screenshot

Embark

Screenshot

Embers Dark

Screenshot

Emerald Synth

Screenshot

ENCOM

Screenshot

Espresso Libre

Screenshot

Espresso

Screenshot

Everblush

Screenshot

Everforest Dark Hard

Screenshot

Everforest Dark Med

Screenshot

Everforest Dark Soft

Screenshot

Fahrenheit

Screenshot

Fairyfloss

Screenshot

Farmhouse Dark

Screenshot

Fideloper

Screenshot

Firefly Traditional

Screenshot

Firefox Dev

Screenshot

Firewatch

Screenshot

Fish Tank

Screenshot

Flat

Screenshot

Flatland

Screenshot

Flexoki Dark

Screenshot

Floraverse

Screenshot

Forest Blue

Screenshot

Forge Ember

Screenshot

Framer

Screenshot

Front End Delight

Screenshot

Fun Forrest

Screenshot

Galaxy

Screenshot

Galizur

Screenshot

Ghostty Default Style Dark

Screenshot

GitHub Dark Colorblind

Screenshot

GitHub Dark Default

Screenshot

GitHub Dark Dimmed

Screenshot

GitHub Dark High Contrast

Screenshot

GitHub Dark

Screenshot

GitLab Dark Grey

Screenshot

GitLab Dark

more like this

gns3theme

Custom color themes for GNS3 GUI. Built-in schemes, custom JSON themes, device symbols. Supports Linux and macOS.

Python50

Aritim-Light

A Light theme for both KDE and GTK based distros, pleasant to the eyes and perfect for your daily workload.

CSS51

search

search projects, people, and tags