Scope "Diamonds" wallpaper package

This commit is contained in:
Matt Swensen 2020-04-25 14:24:24 -06:00
parent 1a8e0e9762
commit 64b84a6536
No known key found for this signature in database
GPG Key ID: 3F9E482BFC526F35
11 changed files with 13 additions and 13 deletions

@ -268,7 +268,7 @@ Refer to the [base16 repository](https://github.com/chriskempson/base16#scheme-r
* [themer-wallpaper-triangles](https://github.com/mjswensen/themer/tree/master/cli/packages/themer-wallpaper-triangles)
* [themer-wallpaper-trianglify](https://github.com/mjswensen/themer/tree/master/cli/packages/themer-wallpaper-trianglify)
* [themer-wallpaper-shirts](https://github.com/mjswensen/themer/tree/master/cli/packages/themer-wallpaper-shirts)
* [themer-wallpaper-diamonds](https://github.com/mjswensen/themer/tree/master/cli/packages/themer-wallpaper-diamonds)
* [@themer/wallpaper-diamonds](https://github.com/mjswensen/themer/tree/master/cli/packages/wallpaper-diamonds)
### Other

@ -1,2 +0,0 @@
version-tag-prefix themer-wallpaper-diamonds-v
version-git-message themer-wallpaper-diamonds-v%s

@ -0,0 +1,2 @@
version-tag-prefix @themer/wallpaper-diamonds-v
version-git-message @themer/wallpaper-diamonds-v%s

@ -1,4 +1,4 @@
# themer-wallpaper-diamonds
# @themer/wallpaper-diamonds
A wallpaper template for [themer](https://github.com/mjswensen/themer). Here's a preview rendered using the [@themer/colors-finger-paint](https://github.com/mjswensen/themer/tree/master/cli/packages/colors-finger-paint) color set:
@ -10,29 +10,29 @@ A wallpaper template for [themer](https://github.com/mjswensen/themer). Here's a
Install this module wherever you have `themer` installed:
npm install themer-wallpaper-diamonds
npm install @themer/wallpaper-diamonds
Then pass `themer-wallpaper-diamonds` as a `-t` (`--template`) arg to `themer`:
Then pass `@themer/wallpaper-diamonds` as a `-t` (`--template`) arg to `themer`:
themer -c my-colors.js -t themer-wallpaper-diamonds -o gen
themer -c my-colors.js -t @themer/wallpaper-diamonds -o gen
`themer-wallpaper-diamonds` will generate SVG wallpapers to the output directory (`gen/` in this example). (You can then convert them to a bitmap format, if necessary, [using Chrome](https://umaar.com/dev-tips/156-element-screenshot/) or other tools.)
`@themer/wallpaper-diamonds` will generate SVG wallpapers to the output directory (`gen/` in this example). (You can then convert them to a bitmap format, if necessary, [using Chrome](https://umaar.com/dev-tips/156-element-screenshot/) or other tools.)
The generated files will be listed in `<output dir>/README.md`.
### Default resolutions
By default, `themer-wallpaper-diamonds` will output wallpapers at the following sizes:
By default, `@themer/wallpaper-diamonds` will output wallpapers at the following sizes:
* 2880 by 1800 (desktop)
* 750 by 1334 (device)
### Custom resolutions
`themer-wallpaper-diamonds` adds the following argument to `themer`:
`@themer/wallpaper-diamonds` adds the following argument to `themer`:
--themer-wallpaper-diamonds-size
to which you would pass `<width>x<height>`. For example, to forego the default resolutions and generate two wallpapers, one 1024 by 768 and one 320 by 960:
themer -c my-colors.js -t themer-wallpaper-diamonds --themer-wallpaper-diamonds-size 1024x768 --themer-wallpaper-diamonds-size 320x960 -o gen
themer -c my-colors.js -t @themer/wallpaper-diamonds --themer-wallpaper-diamonds-size 1024x768 --themer-wallpaper-diamonds-size 320x960 -o gen

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

@ -1,5 +1,5 @@
{
"name": "themer-wallpaper-diamonds",
"name": "@themer/wallpaper-diamonds",
"version": "1.1.0",
"description": "A wallpaper generator for themer.",
"main": "lib/index.js",
@ -21,7 +21,7 @@
"bugs": {
"url": "https://github.com/mjswensen/themer/issues"
},
"homepage": "https://github.com/mjswensen/themer/tree/master/cli/packages/themer-wallpaper-diamonds#readme",
"homepage": "https://github.com/mjswensen/themer/tree/master/cli/packages/wallpaper-diamonds#readme",
"dependencies": {
"@themer/utils": "^1.2.0"
},