themer/cli/packages/prism/README.md

16 lines
459 B
Markdown
Raw Normal View History

2020-04-25 19:19:07 +00:00
# @themer/prism
2019-08-01 19:15:15 +00:00
2020-03-12 13:19:12 +00:00
A [PrismJS](https://prismjs.com/) theme generator for [themer](https://github.com/mjswensen/themer).
2019-08-01 19:15:15 +00:00
## Installation & usage
Install this module wherever you have `themer` installed:
2020-04-25 19:19:07 +00:00
npm install @themer/prism
2019-08-01 19:15:15 +00:00
2020-04-25 19:19:07 +00:00
Then pass `@themer/prism` as a `-t` (`--template`) arg to `themer`:
2019-08-01 19:15:15 +00:00
2020-04-25 19:19:07 +00:00
themer -c my-colors.js -t @themer/prism -o gen
2019-08-01 19:15:15 +00:00
Installation instructions for the generated theme file(s) will be included in `<output dir>/README.md`.