Giter Site home page Giter Site logo

essentialkaos / detheme Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 144 KB

SublimeText color theme downgrader (sublime-color-scheme → tmTheme converter)

Home Page: https://kaos.sh/detheme

License: Apache License 2.0

Makefile 15.48% Go 84.52%
sublime-text sublime-text-theme

detheme's Introduction

GoReportCard Code Climate Maintainability Codebeat badge
GitHub Actions CI Status GitHub Actions CodeQL Status

InstallationCommand-line completionMan documentationUsageCI StatusContributingLicense


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), then:

go install github.com/essentialkaos/detheme@latest

Container Image

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

Prebuilt binaries

You can download prebuilt binaries for Linux and macOS from EK Apps Repository:

bash <(curl -fsSL https://apps.kaos.st/get) detheme

Command-line completion

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

Man documentation

You can generate man page using next command:

detheme --generate-man | sudo gzip > /usr/share/man/man1/detheme.1.gz

Usage

CI Status

Branch Status
master CI
develop CI

Contributing

Before contributing to this project please read our Contributing Guidelines.

License

Apache License, Version 2.0

detheme's People

Contributors

andyone avatar dependabot[bot] avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.