1.0.1 • Published 3 years ago
@themerdev/wallpaper-dot-grid v1.0.1
@themerdev/wallpaper-dot-grid
A wallpaper template for themer. Here is a preview rendered with themer's default color set:
Installation & usage
Install this module wherever you have themer
installed:
npm install @themerdev/wallpaper-dot-grid
Then pass @themerdev/wallpaper-dot-grid
as a -t
(--template
) arg to themer
:
themer -c my-colors.js -t @themerdev/wallpaper-dot-grid -o gen
@themerdev/wallpaper-dot-grid
will generate PNG wallpapers to the output directory (gen/
in this example).
Default resolutions
By default, @themerdev/wallpaper-dot-grid
will output wallpapers at the following sizes:
- 2880 by 1800 (desktop)
- 750 by 1334 (device)
Custom resolutions
@themerdev/wallpaper-dot-grid
adds the following argument to themer
:
--themer-wallpaper-dot-grid-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-dot-grid --themer-wallpaper-dot-grid-size 1024x768 --themer-wallpaper-dot-grid-size 320x960 -o gen
1.0.1
3 years ago