@themer/wallpaper-shirts

A wallpaper generator for themer.

Usage no npm install needed!

<script type="module">
  import themerWallpaperShirts from 'https://cdn.skypack.dev/@themer/wallpaper-shirts';
</script>

README

@themer/wallpaper-shirts

A wallpaper template for themer. Here's a preview rendered using the @themer/colors-monkey color set:

desktop dark desktop light

Installation & usage

Install this module wherever you have themer installed:

npm install @themer/wallpaper-shirts

Then pass @themer/wallpaper-shirts as a -t (--template) arg to themer:

themer -c my-colors.js -t @themer/wallpaper-shirts -o gen

@themer/wallpaper-shirts 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, @themer/wallpaper-shirts will output wallpapers at the following sizes:

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

Custom resolutions

@themer/wallpaper-shirts adds the following argument to themer:

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