Get perfect shadows every time for the non-designer.
npm i shadowwizard --save
Then...
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)