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