SublimeText color theme downgrader (sublime-color-scheme → tmTheme converter)
2.1K
Installation • Command-line completion • Man documentation • Usage • CI Status • Contributing • License
detheme is SublimeText color theme downgrader for converting *.sublime-color-scheme files to *.tmTheme.
Known limitations:
blend() adjuster not supported;blenda() adjuster not supported;saturation() adjuster not supported;lightness() adjuster not supported;min-contrast() adjuster not supported.To build the detheme from scratch, make sure you have a working Go 1.20+ workspace (instructions), then:
go install github.com/essentialkaos/detheme@latest
The latest version of detheme also available as container image on GitHub Container Registry and Docker Hub:
podman run --rm -it ghcr.io/essentialkaos/detheme:latest
# or
docker run --rm -it ghcr.io/essentialkaos/detheme:latest
You can download prebuilt binaries for Linux and macOS from EK Apps Repository:
bash <(curl -fsSL https://apps.kaos.st/get) detheme
You can generate completion for bash, zsh or fish shell.
Bash:
sudo detheme --completion=bash 1> /etc/bash_completion.d/detheme
ZSH:
sudo detheme --completion=zsh 1> /usr/share/zsh/site-functions/detheme
Fish:
sudo detheme --completion=fish 1> /usr/share/fish/vendor_completions.d/detheme.fish
You can generate man page using next command:
detheme --generate-man | sudo gzip > /usr/share/man/man1/detheme.1.gz
Usage: detheme {options} theme-file
Options
--output, -o path Path to output file
--no-color, -nc Disable colors in output
--help, -h Show this help message
--version, -v Show version
Examples
detheme my-theme.sublime-color-scheme
Convert custom theme to thTheme format
detheme -o theme1.thTheme my-theme.sublime-color-scheme
Convert custom theme to thTheme format and save as theme1.thTheme
Before contributing to this project please read our Contributing Guidelines.
Content type
Image
Digest
sha256:d2efdad5c…
Size
8.6 MB
Last updated
5 months ago
docker pull essentialkaos/detheme