Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/essentialkaos/detheme
SublimeText color theme downgrader (sublime-color-scheme → tmTheme converter)
https://github.com/essentialkaos/detheme
sublime-text sublime-text-theme
Last synced: 4 days ago
JSON representation
SublimeText color theme downgrader (sublime-color-scheme → tmTheme converter)
- Host: GitHub
- URL: https://github.com/essentialkaos/detheme
- Owner: essentialkaos
- License: apache-2.0
- Created: 2023-11-26T18:54:43.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-17T14:39:45.000Z (10 days ago)
- Last Synced: 2025-01-17T15:42:51.125Z (10 days ago)
- Topics: sublime-text, sublime-text-theme
- Language: Go
- Homepage: https://kaos.sh/detheme
- Size: 171 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
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:**
- HWB colors not supported;
- `blend()` adjuster not supported;
- `blenda()` adjuster not supported;
- `saturation()` adjuster not supported;
- `lightness()` adjuster not supported;
- `min-contrast()` adjuster not supported.### Installation
#### From source
To build the `detheme` from scratch, make sure you have a working Go 1.21+ workspace (_[instructions](https://go.dev/doc/install)_), then:
```
go install github.com/essentialkaos/detheme@latest
```#### Container Image
The latest version of `detheme` also available as container image on [GitHub Container Registry](https://kaos.sh/p/detheme) and [Docker Hub](https://kaos.sh/d/detheme):
```bash
podman run --rm -it ghcr.io/essentialkaos/detheme:latest
# or
docker run --rm -it ghcr.io/essentialkaos/detheme:latest
```#### Prebuilt binaries
You can download prebuilt binaries for Linux and macOS from [EK Apps Repository](https://apps.kaos.st/detheme/latest):
```bash
bash <(curl -fsSL https://apps.kaos.st/get) detheme
```### Command-line completion
You can generate completion for `bash`, `zsh` or `fish` shell.
Bash:
```bash
sudo detheme --completion=bash 1> /etc/bash_completion.d/detheme
```ZSH:
```bash
sudo detheme --completion=zsh 1> /usr/share/zsh/site-functions/detheme
```Fish:
```bash
sudo detheme --completion=fish 1> /usr/share/fish/vendor_completions.d/detheme.fish
```### Man documentation
You can generate man page using next command:
```bash
detheme --generate-man | sudo gzip > /usr/share/man/man1/detheme.1.gz
```### Usage
### CI Status
| Branch | Status |
|--------|----------|
| `master` | [![CI](https://kaos.sh/w/detheme/ci-push.svg?branch=master)](https://kaos.sh/w/detheme/ci-push?query=branch:master) |
| `develop` | [![CI](https://kaos.sh/w/detheme/ci-push.svg?branch=develop)](https://kaos.sh/w/detheme/ci-push?query=branch:develop) |### Contributing
Before contributing to this project please read our [Contributing Guidelines](https://github.com/essentialkaos/contributing-guidelines#contributing-guidelines).
### License
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)