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