Get perfect shadows everytime for the non-designer.
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
})
Shadowizard supports 2 options, both of which are optional:
- shadow_type - hard | soft (Defaults to soft)
- padding - boolean (Defaults to false)
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