Skip to content

clach04/terminal_style_toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terminal_style_toolkit

Scripts / tools / config for terminal styling and colors / colours

Table of contents generated with markdown-toc

Notes

When testing out a color scheme/theme consider different use cases:

In general avoid:

  • Solutions that modify the TERM variable in .bashrc.
  • Solutions that modify the Vim t_Co variable.

Fonts Notes

Sample files

Scripts for running in terminal

Conversion tools

  • putty/any2theme.py - Convert many input theme formats and render with any template (or output raw tstk json). Input files supported; tstk json, Alacritty TOML, iTerm2, Putty reg, pywal16
  • parse_palette_tools.py - tools for dumping palettes for easier read/conversion
  • alacritty_yaml2toml.py - rough convert alacritty YAML into alacritty TOML
  • goghjson2puttyjson.py - tools for converting Gogh JSON Color Schemes from https://github.com/Gogh-Co/Gogh/ into json that Putty conversion tools (json2putty_reg.py) can use
  • pywaltemplate2puttymustache.py - convert pywal16 template
  • putty/json2putty_reg.py - convert (Putty) json into Putty registry import and html preview - Used to create https://github.com/clach04/putty_themes
  • Also see https://github.com/clach04/themer

Misc tools

  • mintty_screenshot.py - launch mintty with specific theme and run pyshow_colors2 and then take a screenshot To setup: pip install -r requirements_optional.txt Screenshots are in BMP format, strongly recommend converting to PNG for size/space reasons.

Putty

See Putty tools readme and also https://github.com/clach04/putty_themes/

Microsoft Windows CMD.exe

See Color Tool (ColorTool) https://github.com/microsoft/terminal/releases/tag/1904.29002 The campbell.ini color scheme is the Windows 10 Fall Creator's Update CMD out-of-box colors if need to restore to original colors.

From https://github.com/microsoft/terminal/tree/1904.29002/tools/ColorTool readme:

  • cmd-legacy is the legacy color scheme of the Windows Console, before July 2017
  • campbell is the new default scheme used by the Windows Console Host, as of the Fall Creator's Update.

NOTE latest ColorTool source is located in https://github.com/microsoft/terminal/tree/main/src/tools/ColorTool

ColorTool can use:

  1. json format as used by concfg https://github.com/lukesampson/concfg
  2. XML format as used by iTerm2-Color-Schemes - https://github.com/mbadolato/iTerm2-Color-Schemes/
  3. INI format, as provided in samples for ColorTool https://github.com/microsoft/terminal/tree/main/src/tools/ColorTool

Resources

Color Codes

ANSI colors are numbered:

0	black
1	red
2	green
3	yellow
4	blue
5	magenta
6	cyan
7	white

8	bright black
9	bright red
10	bright green
11	bright yellow
12	bright blue
13	bright magenta
14	bright cyan
15	bright white

Color Tools

vim

vim themes that only use ANSI (16) colors - https://jeffkreeftmeijer.com/vim-16-color/

Midnight Commander

See https://github.com/jan-warchol/selenized/tree/putty/mc and jan-warchol/selenized#7

MC's default color settings assume that terminal's blue will be very dark and suitable for use as background.

ls colors / dir_colors

Related projects

Non-Terminal

TODO Resources

To checkout:

Color schemes that pass eyeball test but I'd like to checkout:

Color Scheme Collections

About

Scripts / tools / config for terminal styling and colors / colours

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published