~blueingreen/base16-builder

builder.sh for my base16 repos
4b814e5a — Alexey Stepanov 1 year, 5 months ago
update README.md
0810efa8 — Alexey Stepanov 1 year, 5 months ago
update README.md
60405a27 — Alexey Stepanov 1 year, 5 months ago
update README.md

You can also use your local clone with git send-email.

#base16-builder

This repo provides a builder.sh to create your base16 colorschemes.

#Dependecies

#Preparation

Make sure you have the following structure for your project:

├── colors
└── templates

Folder templates must contain the following files:

├── body.mustache
├── config.yaml
└── head.mustache

with the following content:

#config.yaml

default:
  supported-systems: [base16]
  filename: "colors/{{scheme-system}}-{{scheme-slug}}.theme"

#*.mustache

The file body.mustache must contain a template for the program for which the color scheme is made, for example, for the program wlr-which-key it will be as follows:

background: "#{{base00-hex}}"
color: "#{{base06-hex}}"
border: "#{{base0D-hex}}"

The file head.mustache contains metadata about the colorscheme:

#
#
# name: {{scheme-name}}
# author: {{{scheme-author}}}
# slug: {{scheme-slug}}
# slug-underscored: {{scheme-slug-underscored}}
# system: {{scheme-system}}
# variant: {{scheme-variant}}
# is-{{scheme-variant}}-variant: {{hasVariant}}
#
#

If you will use this file, change the comment symbols to match the extensions of the final colorscheme file, if for example the colorscheme will be base16-google-light.css, then replace the symbol # with /* */, etc.

#Usage

Put builder.sh in your project directory, make it executable and launch it:

cp base16-builder/builder.sh /path/to/your/project

chmod +x builder.sh

./builder.sh

#Summary

I tried to make this build according to the official spec, i may have missed something, if so - create a ticket in todo.

#License

MIT