farhansoftshadow

Get perfect shadows every time for the non-designer.

Usage no npm install needed!

<script type="module">
  import farhansoftshadow from 'https://cdn.skypack.dev/farhansoftshadow';
</script>

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)