1.0.0 • Published 2 years ago

shadowizard-stephenfong v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

What is this?

Get perfect shadows everytime for the non-designer.

Installation

npm i shadowizard --save

// you often see people take their index.js (without the line module.exports.shadowizard = shadowizard;) and // host it on a CDN, so that people who aren't using webpack or other bundlers can use the package.

Then... multiple code lines

import { shadowizard } from 'shadowizard';

shadowizard({
    shadow_type: 'soft',
    padding: false
})

Options

Shadowizard supports 2 options, both of which are optional:

  • shadow_type - hard | soft (Defaults to soft)
  • padding - boolean (Defaults to false)

Explanation of versions

e.g. in 1.2.0 1 indicates the major version, like when you make incompatible api changes or other major changes. 2 indicates minor version, when you want to add new functionalities in a backward compatible manner. 0 indicates patch version, when you make backward compatible bug fix