mbadolato/iTerm2-Color-Schemes
Fork: 6434 Star: 24898 (更新于 2024-12-14 05:16:37)
license: NOASSERTION
Language: Shell .
Over 325 terminal color schemes/themes for iTerm/iTerm2. Includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty, and many more
iTerm Color Schemes
- Intro
- Installation Instructions
- Contribute
- Screenshots
- Credits
-
Extra
- X11 Installation
- Konsole color schemes
- Terminator color schemes
- Mac OS Terminal color schemes
- PuTTY color schemes
- Xfce Terminal color schemes
- FreeBSD vt(4) color schemes
- Previewing color schemes
- MobaXterm color schemes
- LXTerminal color schemes
- Visual Studio Code color schemes
- Windows Terminal color schemes
- Alacritty color schemes
- Ghostty color schemes
- Termux 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
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
Prerequisites
- For convenient work with generation scripts, it is recommended to install pyenv.
- Run
pyenv install
inside project folder to install python version from.python-version
file. - Run
pip install -r requirements.txt
to install the project dependencies.
How to add new theme
Have a great iTerm theme? Send it to me via a Pull Request!
- 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
- Put your theme file into
/schemes/
-
mv <your-itermcolors-file> schemes/
-
- Generate other formats for your theme using the
gen.py
script.-
cd tools/ && python3 gen.py
OR -
cd tools/ && ./gen.py
-
- If you only want to generate files for your theme, you can specify this with the
-s
flag.-
./gen.py -s Dracula
-
- Get a screenshot of your theme using the
screenshotTable.sh
script and ImageMagick. For screenshot consistency, please have your font set to 13pt Monaco and no transparency on the window.-
cd tools/ && ./screenshotTable.sh
- this will create a color table for your theme that you can screenshot. - Use ImageMagick (or some other tool) to resize your image for consistency -
mogrify -resize 600x300\! <path-to-your-screenshot>
- Move your screenshot into
screenshots/
-mv <your-screenshot> screenshots/
-
- Update
README.md
andscreenshots/README.md
to include your theme and screenshot. Also updateCREDITS.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?
- Get config file from your terminal/editor/etc.
- 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
- If you need a new value type for color, add it too
tools/converter.py
- 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 aseditor/scheme_name.ext
- 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
- 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
3024 Day
3024 Night
Aardvark Blue
Abernathy
Adventure
AdventureTime
Afterglow
Alabaster
AlienBlood
Andromeda
Apple Classic
Apple System Colors
Arcoiris
Argonaut
Arthur
AtelierSulphurpool
Atom
Atom One Light
ayu
ayu Light
ayu Mirage
Aurora
Banana Blueberry
Batman
Belafonte Day
Belafonte Night
BirdsOfParadise
Blazer
BlueBerry Pie
BlueDolphin
Blue Matrix
Bluloco Dark
Bluloco Light
Borland
Breeze
Bright Lights
Broadcast
Brogrammer
C64
Calamity
Catppuccin Frappé
Catppuccin Latte
Catppuccin Macchiato
Catppuccin Mocha
CGA
Chalk
Chalkboard
ChallengerDeep
Chester
Ciapre
CLRS
Cobalt Neon
Cobalt2
Coffee
CrayonPonyFish
CutiePro
Cyberdyne
Cyberpunk
Cyberpunk Scarlet Protocol
Dark Modern
Dark Pastel
Dark+
Darkside
Dayfox
Deep
Desert
Dimidium
DimmedMonokai
Django
DjangoRebornAgain
DjangoSmoothy
Doom One
Doom Peacock
DotGov
Dracula
Dracula+
Duckbones
Duotone Dark
Earthsong
Elemental
Elementary
ENCOM
Espresso
Espresso Libre
Everblush
Everforest Dark - Hard
Fairyfloss
Fahrenheit
Farmhouse Dark
Farmhouse Light
Fideloper
Firefly Traditional
FirefoxDev
Firewatch
FishTank
Flat
Flatland
Flexoki Dark
Flexoki Light
Floraverse
Forest Blue
Framer
FrontEndDelight
FunForrest
Galaxy
Galizur
Github
GitHub Dark
Glacier
Grape
Grass
Grey-green
Gruber Darker
Gruvbox Dark
Gruvbox Dark Hard
Gruvbox Light
Guezwhoz
Hacktober
Hardcore
Harper
HaX0R_R3D
HaX0R_GR33N
HaX0R_BLUE
heeler
Highway
Hipster Green
Hivacruz
Homebrew
Hopscotch
Hopscotch 256
Horizon
Hurtado
Hybrid
IC_Green_PPL
IC_Orange_PPL
iceberg
IDEA Dark
idleToes
IR_Black
iTerm2 Default
iTerm2 Dark Background
iTerm2 Light Background
iTerm2 Pastel (Dark Background)
iTerm2 Smoooooth
iTerm2 Solarized Dark
iTerm2 Solarized Light
iTerm2 Tango Dark
iTerm2 Tango Light
Jackie Brown
Japanesque
Jellybeans
JetBrains Darcula
Jubi
Kanagawa Dragon
Kanagawa Wave
Kanagawabones
Kibble
Kolorit
Konsolas
Kurokula
Lab Fox
Laser
Later This Evening
Lavandula
LiquidCarbon
LiquidCarbonTransparent
LiquidCarbonTransparentInverse
LoveLace
Man Page
Mariana
Material
MaterialDark
MaterialDarker
MaterialDesignColors
MaterialOcean
Mathias
Matrix
Dark Matrix
Darker Matrix
Medallion
Mellifluous
Mellow
Midnight In Mojave
Mirage
Misterioso
Molokai
MonaLisa
Monokai Remastered
Monokai Soda
Monokai Vivid
N0tch2k
Neobones Dark
Neobones Light
Neon
Neopolitan
Neutron
Nightfox
NightLion v1
NightLion v2
Night Owlish Light
Niji
Novel
Nocturnal Winter
Nord
Nord-light
NvimDark
NvimLight
Obsidian
Ocean
OceanicMaterial
Oceanic Next
Ollie
One Half Dark
One Half Light
Operator Mono Dark
Overnight Slumber
Oxocarbon
Palenight High Contrast
Pandora
Paraiso Dark
PaulMillr
Pencil Dark
Pencil Light
Peppermint
Piatto Light
Pnevma
Popping and Locking
Primary
Pro
Pro Light
Purple Peter
Purple Rain
Rapture
Raycast Dark
Raycast Light
Rebecca
Red Alert
Red Planet
Red Sands
Relaxed
Retro
RetroLegends
Rippedcasts
Rosé Pine
Rosé Pine Dawn
Rosé Pine Moon
Rouge 2
Royal
Ryuuko
Sakura
Scarlet Protocol
Seafoam Pastel
SeaShells
Seoulbones Dark
Seoulbones Light
Seti
Shaman
Shades-Of-Purple
Slate
SleepyHollow
Smyck
Snazzy
SoftServer
Solarized Darcula (With background image)
Solarized Darcula (Without background image)
Solarized Dark - Patched
Some applications assume the ANSI color code 8 is a gray color. Solarized treats this code as equal to the background. This theme is for people who prefer the former. See issues #59, #62, and #63 for more information.
Solarized Dark Higher Contrast
SpaceGray
SpaceGray Bright
SpaceGray Eighties
SpaceGray Eighties Dull
Spacedust
Spiderman
Spring
Square
Sublette
Subliminal
Sugarplum
Sundried
Symfonic
synthwave
Synthwave Alpha
Synthwave Everything
Tango Adapted
Tango Half Adapted
Teerb
Terafox
Terminal Basic
Thayer Bright
The Hulk
Tinacious Design (Dark)
Tinacious Design (Light)
TokyoNight
TokyoNight Storm
TokyoNight Day
Tomorrow
Tomorrow Night
Tomorrow Night Blue
Tomorrow Night Bright
Tomorrow Night Eighties
Tomorrow Night Burns
ToyChest
Treehouse
Twilight
Ubuntu
UltraViolent
UltraDark
Under The Sea
Unikitty
Urple
Vaughn
Vesper
VibrantInk
Vimbones
Violet Light
Violet Dark
WarmNeon
Wez
Whimsy
WildCherry
Wilmersdorf
Wombat
Wryan
Xcode dark
Xcode dark (High Contrast)
Xcode light
Xcode light (High Contrast)
Xcode WWDC
Zenbones
Zenbones Dark
Zenbones Light
Zenburn
Zenburned
Zenwritten Dark
Zenwritten Light
Credits
- The schemes Novel, Espresso, Grass, Homebrew, Ocean, Pro, Man Page, Red Sands, and Terminal Basic are ports of the schemes of the same name included with the Mac Terminal application. All of Terminal's schemes have now been ported, with the exception of Solid Colors (random backgrounds, which iTerm doesn't support) and Aerogel (which is hideous).
- The schemes iTerm2 Default, iTerm2 Dark Background, iTerm2 Light Background, iTerm2 Pastel (Dark Background), iTerm2 Smoooooth, iTerm2 Solarized Dark, iTerm2 Solarized Light, iTerm2 Tango Dark, and iTerm2 Tango Light are ports from the built-in color schemes of iTerm2 (current source is iTerm2 v3.4.19).
- Credits for all other themes are listed in CREDITS.md
If there are other color schemes you'd like to see included, drop me a line!
Extra
X11 Installation
To install under the X Window System:
-
Import the .xrdb file of the scheme you'd like to use:
#include "/home/mbadolato/iTerm2-Color-Schemes/xrdb/Blazer.xrdb"
-
Use the
#define
s provided by the imported .xrdb file:Rxvtcolor0: Ansi_0_Color Rxvtcolor1: Ansi_1_Color Rxvtcolor2: Ansi_2_Color Rxvtcolor3: Ansi_3_Color Rxvtcolor4: Ansi_4_Color Rxvtcolor5: Ansi_5_Color Rxvtcolor6: Ansi_6_Color Rxvtcolor7: Ansi_7_Color Rxvtcolor8: Ansi_8_Color Rxvtcolor9: Ansi_9_Color Rxvtcolor10: Ansi_10_Color Rxvtcolor11: Ansi_11_Color Rxvtcolor12: Ansi_12_Color Rxvtcolor13: Ansi_13_Color Rxvtcolor14: Ansi_14_Color Rxvtcolor15: Ansi_15_Color RxvtcolorBD: Bold_Color RxvtcolorIT: Italic_Color RxvtcolorUL: Underline_Color Rxvtforeground: Foreground_Color Rxvtbackground: Background_Color RxvtcursorColor: Cursor_Color
XTermcolor0: Ansi_0_Color XTermcolor1: Ansi_1_Color XTermcolor2: Ansi_2_Color XTermcolor3: Ansi_3_Color XTermcolor4: Ansi_4_Color XTermcolor5: Ansi_5_Color XTermcolor6: Ansi_6_Color XTermcolor7: Ansi_7_Color XTermcolor8: Ansi_8_Color XTermcolor9: Ansi_9_Color XTermcolor10: Ansi_10_Color XTermcolor11: Ansi_11_Color XTermcolor12: Ansi_12_Color XTermcolor13: Ansi_13_Color XTermcolor14: Ansi_14_Color XTermcolor15: Ansi_15_Color XTermcolorBD: Bold_Color XTermcolorIT: Italic_Color XTermcolorUL: Underline_Color XTermforeground: Foreground_Color XTermbackground: Background_Color XTermcursorColor: Cursor_Color
-
Store the above snippets in a file and pass it in:
xrdb -merge YOUR_FILE_CONTAINING_ABOVE_SNIPPETS
-
Open new XTerm or Rxvt windows to see the changes.
-
Adapt this procedure to other terminals as needed.
Terminator color schemes
Edit your Terminator configuration file (located in: $HOME/.config/terminator/config
) and add the configurations for the theme(s) you'd like to use the [profiles]
section. The terminator/
directory contains the config snippets you'll need. Just paste the configurations into the [profiles]
sections, and you're good to go!
At a minimum, this is all you need. You can customize the fonts and other aspects as well, if you wish. See the Terminator documentation for more details.
An example config file that includes the code snippet for the Symfonic theme would look like this:
[global_config]
[keybindings]
[profiles]
[[default]]
palette = "#1a1a1a:#f4005f:#98e024:#fa8419:#9d65ff:#f4005f:#58d1eb:#c4c5b5:#625e4c:#f4005f:#98e024:#e0d561:#9d65ff:#f4005f:#58d1eb:#f6f6ef"
background_image = None
use_system_font = False
cursor_color = "#f6f7ec"
foreground_color = "#c4c5b5"
font = Source Code Pro Light 11
background_color = "#1a1a1a"
[[Symfonic]]
palette = "#000000:#dc322f:#56db3a:#ff8400:#0084d4:#b729d9:#ccccff:#ffffff:#1b1d21:#dc322f:#56db3a:#ff8400:#0084d4:#b729d9:#ccccff:#ffffff"
background_color = "#000000"
cursor_color = "#dc322f"
foreground_color = "#ffffff"
background_image = None
[layouts]
[[default]]
[[[child1]]]
type = Terminal
parent = window0
[[[window0]]]
type = Window
parent = ""
[plugins]
Konsole color schemes
Copy the themes from the konsole
directory to $HOME/.config/konsole
(in some versions of KDE, the theme directory may be located at $HOME/.local/share/konsole
), restart Konsole and choose your new theme from the profile preferences window.
If you want to make the themes available to all users, copy the .colorscheme files to /usr/share/konsole
.
Terminal color schemes
Just double click on selected theme in terminal
directory
PuTTY color schemes
New Session Method
This method creates a new blank session with JUST colors set properly.
Download the appropriate colorscheme.reg
file and import the registry changes by right-clicking and choosing Merge. Choose "Yes" when prompted if you're sure. Color scheme will show up as a new PuTTY session with all defaults except entries at Window > Colours > Adjust the precise colours PuTTY displays
.
Modify Session Method
This method modifies an existing session and changes JUST the color settings.
Download the appropriate colorscheme.reg
file. Open the file with a text editor and change the color scheme portion (Molokai
below) to match the session you want to modify:
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Molokai]
- CHANGE TO (EXAMPLE) -
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\root@localhost]
NOTE: Some special characters will need to be changed to their Percent-encoded representation (IE, Space as %20
). To quickly find the right session name view the top-level entries at HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\
with regedit.exe
.
Other PuTTY Recommendations
Window > Appearance
Font: Consolas, bold, 14-point
Font quality:
( ) Antialiased ( ) Non-Antialiased
(O) ClearType ( ) Default
Window > Colours
[X] Allow terminal to specify ANSI colours
[X] Allow terminal to use xterm 256-colour mode
Indicate bolded text by changing:
( ) The font (O) The colour ( ) Both
[ ] Attempt to use logical palettes
[ ] Use system colours
Xfce Terminal color schemes
Copy the colorschemes
folder to ~/.local/share/xfce4/terminal/
and restart Terminal.
FreeBSD vt color schemes
Append your favourite theme from freebsd_vt/
to /boot/loader.conf
or /boot/loader.conf.local
and reboot.
MobaXterm color schemes
Copy the theme content from mobaxterm/
and paste the content to your MobaXterm.ini
in the corresponding place ([Colors]
).
LXTerminal color schemes
Copy the theme content from lxterminal/
and paste the content to your lxterminal
in the corresponding place ([general]
).
Visual Studio Code color schemes
Copy the theme content from vscode/
and paste the content to your UserSettings.json.
Windows Terminal color schemes
Copy the theme content from windowsterminal/
and paste the content to your profiles.json
in the corresponding place ("schemes"
). Then specify the name of your theme by "colorScheme"
in "profiles"
.
Alacritty color schemes
Copy the theme content from alacritty/
and paste the content to your alacritty config file, at ~/.config/alacritty/alacritty.toml
. You can also set your theme by adding the following line at your config's 1st line import = ["~/.config/alacritty/themes/mytheme.toml"]
.
If you still need a color scheme with .yml, you can get it here.
Ghostty color schemes
Copy the theme content from ghostty/
and paste the content in your Ghostty config file, at ~/.config/ghostty/config
.
Rio color schemes
Copy the theme file from rio/
and paste to your rio theme config directory (typically ~/.config/rio/themes/
).
Then specify the name of your theme in the theme
field in the config file.
Termux color schemes
Copy the theme content from termux/
and paste the content to ~/.termux
directory as ~/.termux/colors.properties
file and run termux-reload-settings
to apply the theme.
Previewing color schemes
preview.rb is a simple script that allows you to preview the color schemes without having to import them. It parses .itermcolors files and applies the colors to the current session using iTerm's proprietary escape codes. As noted in the linked page, it doesn't run on tmux or screen.
# Apply AdventureTime scheme to the current session
tools/preview.rb schemes/AdventureTime.itermcolors
# Apply the schemes in turn.
# - Press (almost) any key to advance; hit CTRL-C or ESC to stop
# - Press the delete key to go back
tools/preview.rb schemes/*
iTerm Color Schemes | iTerm2 Color Schemes | iTerm 2 Color Schemes | iTerm Themes | iTerm2 Themes | iTerm 2 Themes
最近版本更新:(数据更新于 2024-10-11 11:51:25)
主题(topics):
color-scheme, freebsd-vt, iterm, iterm2, konsole, konsole-color-schemes, lxterminal, osx-terminal-themes, putty, putty-color-schemes, schemes, terminal, terminal-schemes, terminal-themes, terminator, theme, themes, windows-terminal, xrdb, xresources
mbadolato/iTerm2-Color-Schemes同语言 Shell最近更新仓库
2024-12-19 20:39:10 chenzyadb/CuprumTurbo-Scheduler
2024-12-18 00:15:00 j-hc/revanced-magisk-module
2024-12-17 15:17:35 morytyann/OpenWrt-mihomo
2024-12-11 20:57:35 RROrg/rr
2024-12-09 01:05:08 rustdesk/rustdesk-server-pro
2024-12-03 19:14:14 dockur/windows