Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidosomething/duotone-base16
abandoned, someone else made a different one
https://github.com/davidosomething/duotone-base16
Last synced: about 2 months ago
JSON representation
abandoned, someone else made a different one
- Host: GitHub
- URL: https://github.com/davidosomething/duotone-base16
- Owner: davidosomething
- Created: 2016-01-07T04:54:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-06T20:51:32.000Z (over 8 years ago)
- Last Synced: 2024-08-04T13:05:45.263Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 9
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Duotone to base16 colorscheme
> 1.0.0 - alpha
## Installation
```bash
git clone https://github.com/davidosomething/duotone-base16.git
cd duotone-base16
npm install
./db16
```## Usage
```bash
./db16
```where `` is the github repo `username/themename` of an atom theme
in [duotone-syntax](https://github.com/simurai/duotone-syntax).E.g.
```bash
./db16 simurai/duotone-dark-syntax
```will generate the file `schemes/duotone-dark-syntax.yml`
Then you can compile that file using [base16-builder](https://github.com/chriskempson/base16-builder):
```bash
cp schemes/duotone-dark-syntax.yml $PATH_TO_BASE16_BUILDER/schemes
cd $PATH_TO_BASE16_BUILDER
./base16 -s schemes/duotone-dark-syntax.yml
```This will generate various colorschemes, e.g. you can grab the VIM version from
`output/vim/duotone-dark-syntax.vim` and load that into VIM.## Roadmap
- [x] CLI
- [x] Obtain duotone atom theme variants into temp dir
- [x] Compile via node [less module](https://www.npmjs.com/package/less) and convert HSL values to hex
- [x] Map to [base16 yaml scheme](https://github.com/chriskempson/base16-builder/tree/master/schemes)
- [ ] HELP WANTED on mapping the colors to base16 colors, see `function convertToBase16(output)`