Scope "Triangles" wallpaper package

This commit is contained in:
Matt Swensen 2020-04-25 14:40:05 -06:00
parent 194cfda2ff
commit 42afe7ad31
No known key found for this signature in database
GPG Key ID: 3F9E482BFC526F35
11 changed files with 14 additions and 14 deletions

@ -265,7 +265,7 @@ Refer to the [base16 repository](https://github.com/chriskempson/base16#scheme-r
* [@themer/wallpaper-block-wave](https://github.com/mjswensen/themer/tree/master/cli/packages/wallpaper-block-wave)
* [@themer/wallpaper-octagon](https://github.com/mjswensen/themer/tree/master/cli/packages/wallpaper-octagon)
* [themer-wallpaper-triangles](https://github.com/mjswensen/themer/tree/master/cli/packages/themer-wallpaper-triangles)
* [@themer/wallpaper-triangles](https://github.com/mjswensen/themer/tree/master/cli/packages/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/wallpaper-shirts)
* [@themer/wallpaper-diamonds](https://github.com/mjswensen/themer/tree/master/cli/packages/wallpaper-diamonds)

@ -4,7 +4,7 @@ An [Alfred.app](https://www.alfredapp.com/) theme generator for [themer](https:/
![themer Alfred preview](https://cdn.jsdelivr.net/gh/mjswensen/themer@a186c8585721d5defbf4cb1bc94165144d4dd35a/cli/packages/themer-alfred/assets/themer-alfred-preview.png)
(Generated with [themer's "Polar Ice" color set](https://github.com/mjswensen/themer/tree/master/cli/packages/colors-polar-ice) and shown with [themer's "Triangles" wallpaper template](https://github.com/mjswensen/themer/tree/master/cli/packages/themer-wallpaper-triangles).)
(Generated with [themer's "Polar Ice" color set](https://github.com/mjswensen/themer/tree/master/cli/packages/colors-polar-ice) and shown with [themer's "Triangles" wallpaper template](https://github.com/mjswensen/themer/tree/master/cli/packages/wallpaper-triangles).)
## Installation & usage

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

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

@ -1,4 +1,4 @@
# themer-wallpaper-triangles
# @themer/wallpaper-triangles
A wallpaper template for [themer](https://github.com/mjswensen/themer). Here's a preview using [themer's default color set](https://github.com/mjswensen/themer/tree/master/cli/packages/colors-default):
@ -8,29 +8,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-triangles
npm install @themer/wallpaper-triangles
Then pass `themer-wallpaper-triangles` as a `-t` (`--template`) arg to `themer`:
Then pass `@themer/wallpaper-triangles` as a `-t` (`--template`) arg to `themer`:
themer -c my-colors.js -t themer-wallpaper-triangles -o gen
themer -c my-colors.js -t @themer/wallpaper-triangles -o gen
`themer-wallpaper-triangles` will generate SVG wallpapers to the output directory (`gen/` in this example).
`@themer/wallpaper-triangles` will generate SVG wallpapers to the output directory (`gen/` in this example).
The generated files will be listed in `<output dir>/README.md`.
### Default resolutions
By default, `themer-wallpaper-triangles` will output wallpapers at the following sizes:
By default, `@themer/wallpaper-triangles` will output wallpapers at the following sizes:
* 2880 by 1800 (desktop)
* 750 by 1334 (device)
### Custom resolutions
`themer-wallpaper-triangles` adds the following argument to `themer`:
`@themer/wallpaper-triangles` adds the following argument to `themer`:
--themer-wallpaper-triangles-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-triangles --themer-wallpaper-triangles-size 1024x768 --themer-wallpaper-triangles-size 320x960 -o gen
themer -c my-colors.js -t @themer/wallpaper-triangles --themer-wallpaper-triangles-size 1024x768 --themer-wallpaper-triangles-size 320x960 -o gen

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

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