Get perfect shadows every time for the non-designer.
npm i shadowizard --save
Then...
import {shadowizard} from 'shadowizard';
shadowizard({
shadow_type: 'soft',
padding: false
})
Shadowizard supports 2 options, both of wich are optional:
- shadow_type - hard | soft (Defaults to soft)
- padding - boolean (Defaults to false)