4.0.2 • Published 3 years ago
@themerdev/wallpaper-octagon v4.0.2
@themerdev/wallpaper-octagon
A wallpaper template for themer. Here's a preview rendered using themer's default color set (@themerdev/colors-default):
Installation & usage
Install this module wherever you have themer
installed:
npm install @themerdev/wallpaper-octagon
Then pass @themerdev/wallpaper-octagon
as a -t
(--template
) arg to themer
:
themer -c my-colors.js -t @themerdev/wallpaper-octagon -o gen
@themerdev/wallpaper-octagon
will generate PNG wallpapers to the output directory (gen/
in this example).
The generated files will be listed in <output dir>/README.md
.
Default resolutions
By default, @themerdev/wallpaper-octagon
will output wallpapers at the following sizes:
- 2880 by 1800 (desktop)
- 750 by 1334 (device)
Custom resolutions
@themerdev/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 @themerdev/wallpaper-octagon --themer-wallpaper-octagon-size 1024x768 --themer-wallpaper-octagon-size 320x960 -o gen
4.0.2
3 years ago