Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Reorganize code to be a bit more bulletproof Aug 23, 2016
LICENSE Initial commit Aug 8, 2016
README.md Add baseXX-hex-bgr variable Sep 25, 2017
cmd_build.go Add --ignore-errors to build command Mar 8, 2019
cmd_update.go Add --ignore-errors to build command Mar 8, 2019
main.go
scheme.go Add comment about how scheme-slug-underscored is a base16 extension Sep 25, 2017
sources.yaml Initial code commit Aug 17, 2016
template.go
utils.go Add --ignore-errors to build command Mar 8, 2019

README.md

base16-builder-go

A simple builder for base16 templates and schemes, modeled off of base16-builder-php.

This currently implements version 0.9.0 of the base16 spec.

Commands

There are two main commands: update and build.

update will pull in any template and scheme updates (or clone the repos if they don't exist).

build will build all templates following the spec for all templates and schemes defined. If additional arguments are passed, only templates matching the given names will be built.

Notes

I'm open to making a few template-specific tweaks as long as they'll be useful to other templates. Below is a listing of the additions to the base16 spec which this builder supports.

Additional variables

  • scheme-slug-underscored - A version of the scheme slug where dashes have been replaced with underscores.
  • baseXX-hex-bgr - A version of baseXX-hex with the values reversed. This was requested here.
You can’t perform that action at this time.