1.0.2 • Published 4 years ago

kenji_shadowizard v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

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")