Scope Slack package
This commit is contained in:
parent
6731e7c4b0
commit
a95fb62bc5
@ -272,7 +272,7 @@ Refer to the [base16 repository](https://github.com/chriskempson/base16#scheme-r
|
||||
|
||||
### Other
|
||||
|
||||
* [themer-slack](https://github.com/mjswensen/themer/tree/master/cli/packages/themer-slack)
|
||||
* [@themer/slack](https://github.com/mjswensen/themer/tree/master/cli/packages/slack)
|
||||
* [@themer/alfred](https://github.com/mjswensen/themer/tree/master/cli/packages/alfred)
|
||||
* [@themer/firefox-addon](https://github.com/mjswensen/themer/tree/master/cli/packages/firefox-addon)
|
||||
* [@themer/firefox-color](https://github.com/mjswensen/themer/tree/master/cli/packages/firefox-color)
|
||||
@ -311,7 +311,7 @@ module.exports.render = function(colors, options) {
|
||||
|
||||
Your JS file can then be passed to a `--template` argument of `themer`. That's it!
|
||||
|
||||
Here's an [example template render function](https://github.com/mjswensen/themer/blob/master/cli/packages/themer-slack/lib/index.js) that generates a Slack sidebar theme from a `themer` color set.
|
||||
Here's an [example template render function](https://github.com/mjswensen/themer/blob/master/cli/packages/slack/lib/index.js) that generates a Slack sidebar theme from a `themer` color set.
|
||||
|
||||
Once you've developed your template, consider publishing it on npm (with repository name starting with `themer-`) so that others can use it!
|
||||
|
||||
|
2
cli/packages/slack/.yarnrc
Normal file
2
cli/packages/slack/.yarnrc
Normal file
@ -0,0 +1,2 @@
|
||||
version-tag-prefix @themer/slack-v
|
||||
version-git-message @themer/slack-v%s
|
@ -1,4 +1,4 @@
|
||||
# themer-slack
|
||||
# @themer/slack
|
||||
|
||||
A Slack sidebar theme generator for [themer](https://github.com/mjswensen/themer).
|
||||
|
||||
@ -6,10 +6,10 @@ A Slack sidebar theme generator for [themer](https://github.com/mjswensen/themer
|
||||
|
||||
Install this module wherever you have `themer` installed:
|
||||
|
||||
npm install themer-slack
|
||||
npm install @themer/slack
|
||||
|
||||
Then pass `themer-slack` as a `-t` (`--template`) arg to `themer`:
|
||||
Then pass `@themer/slack` as a `-t` (`--template`) arg to `themer`:
|
||||
|
||||
themer -c my-colors.js -t themer-slack -o gen
|
||||
themer -c my-colors.js -t @themer/slack -o gen
|
||||
|
||||
Installation instructions for the generated theme(s) will be included in `<output dir>/README.md`.
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "themer-slack",
|
||||
"name": "@themer/slack",
|
||||
"version": "2.1.0",
|
||||
"description": "A slack sidebar theme template for themer.",
|
||||
"main": "lib/index.js",
|
||||
@ -26,7 +26,7 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/mjswensen/themer/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mjswensen/themer/tree/master/cli/packages/themer-slack#readme",
|
||||
"homepage": "https://github.com/mjswensen/themer/tree/master/cli/packages/slack#readme",
|
||||
"keywords": [
|
||||
"themer",
|
||||
"slack",
|
@ -1,2 +0,0 @@
|
||||
version-tag-prefix themer-slack-v
|
||||
version-git-message themer-slack-v%s
|
Loading…
Reference in New Issue
Block a user