get perfect shadow every time for non-designer.
npm i shadow --save
Then...
import { shadow } from 'shadow';
shadow({
shadow_type: 'soft',
padding: false
});
shadow supports two optional, both of which are optional:
shadow_type - hard | soft (Default to soft) padding - boolean (default to false)