kenji_shadowizard

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i kenji_shadowizard

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

1.92 kB

Total Files

3

Last publish

Collaborators

  • mkhira2