9 releases
0.2.5 | Jun 16, 2022 |
---|---|
0.2.4 | Jun 28, 2020 |
0.2.2 | Jan 6, 2020 |
0.1.2 | Dec 18, 2019 |
0.1.1 | Mar 3, 2019 |
#2285 in Command line utilities
40 downloads per month
92KB
736 lines
colortty
colortty is a utility to generate color schemes for alacritty. It also supports the following conversions:
Installation
cargo install colortty
Usage
colortty - color scheme converter for alacritty
USAGE:
# List color schemes at https://github.com/mbadolato/iTerm2-Color-Schemes
colortty list
colortty list -p iterm
colortty list -u # update cached color schemes
# List color schemes at https://github.com/Gogh-Co/Gogh
colortty list -p gogh
colortty list -p gogh -u # update cached color schemes
# Get color scheme from https://github.com/mbadolato/iTerm2-Color-Schemes
colortty get <color scheme name>
colortty get -p iterm <color scheme name>
# Get color scheme from https://github.com/Gogh-Co/Gogh
colortty get -p gogh <color scheme name>
# Convert with implicit input type
colortty convert some-color.itermcolors
colortty convert some-color.minttyrc
colortty convert some-color.sh
# Convert with explicit input type
colortty convert -i iterm some-color-theme
colortty convert -i mintty some-color-theme
colortty convert -i gogh some-color-theme
# Convert stdin (explicit input type is necessary)
cat some-color-theme | colortty convert -i iterm -
cat some-color-theme | colortty convert -i mintty -
cat some-color-theme | colortty convert -i gogh -"
Development
Install:
cargo install --path .
Build:
cargo build
Test:
cargo test
License
MIT
Dependencies
~13–26MB
~406K SLoC