themer/README.md
2017-06-27 20:47:53 -06:00

1.0 KiB

themer-hyper Travis

A Hyper.app plugin generator for themer.

Installation & usage

Install this module wherever you have themer installed:

npm install themer-hyper

Then pass themer-hyper as a -t (--template) arg to themer:

themer -c my-colors.js -t themer-hyper -o gen

themer-hyper will generate a themer-hyper-dark/ or themer-hyper-light/ directory (or both), depending on which color set you passed to themer, which will contain the files for a Hyper theme plugin package.

To install your generated plugin, first symlink the outputted package directory to the Hyper local plugins directory:

ln -s <full path to themer output directory>/themer-hyper/themer-hyper-dark ~/.hyper_plugins/local/

Finally, edit ~/.hyper.js and add the package to the localPlugins array:

...
localPlugins: [
  'themer-hyper-dark`,
],
...