themer/cli/packages/themer-wallpaper-octagon
2020-04-15 06:44:01 -06:00
..
assets Lossless image Optimization 2020-04-15 06:28:23 -06:00
lib Fix test name 2020-03-20 07:11:11 -06:00
.gitignore Move packages into cli/. 2018-10-09 06:35:01 -06:00
.yarnrc Move packages into cli/. 2018-10-09 06:35:01 -06:00
package.json themer-wallpaper-octagon-v3.1.0 2020-03-20 07:14:45 -06:00
README.md Update image references 2020-04-15 06:44:01 -06:00

themer-wallpaper-octagon

A wallpaper template for themer. Here's a preview rendered using themer's default color set (themer-colors-default):

desktop dark desktop light

Installation & usage

Install this module wherever you have themer installed:

npm install themer-wallpaper-octagon

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

themer -c my-colors.js -t themer-wallpaper-octagon -o gen

themer-wallpaper-octagon 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-octagon will output wallpapers at the following sizes:

  • 2880 by 1800 (desktop)
  • 750 by 1334 (device)

Custom resolutions

themer-wallpaper-octagon adds the following argument to themer:

--themer-wallpaper-octagon-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-octagon --themer-wallpaper-octagon-size 1024x768 --themer-wallpaper-octagon-size 320x960 -o gen