Licence
ISC
Version
1.0.2
Deps
0
Size
2 kB
Vulns
0
Weekly
0
What is this?
Get perfect shadows every time for the non-designer. As seen on npm!
Installation
npm i shadowizard -- save
Then...
import { shadowizard } from "shadowizard";
shadowizard({
shadow_type: "soft",
padding: "15px" or 15 or true
});
Options
Shadowizard supports 2 configurations, both of which are optional:
shadow_type:
hard / soft (Defaults to soft)padding:
boolean (Default false - true converts to "10px"),
number (Converts to pixels),
string in pixels (eg "20px")