Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

coolshadow

Mansour-Tumeh4ISC1.0.0

styling your images with a nice shadow for the non designer people

softshadow

readme

What is this?

Get perfect shadows every time for the non-designer.

installation


npm i softshadow

then ...


import {  softshadow } from 'softshadow';

softshadow({
    shadow_type : 'soft',
    padding: false
})

options

Softshadow support 2 options, both of which are optional:

  • shadow_type - hard | soft (Default to soft)
  • padding - boolean (Default to false)