1.0.0 • Published 5 years ago

shadow-pro v1.0.0

Weekly downloads
7
License
ISC
Repository
github
Last release
5 years ago

What is this?

Get perfect shadows every time for the non-designer.

Installation

npm i shadow --save

then...

import { shadow } from 'shadow';

shadow({
  shadow_type: 'soft';
  padding: false
});

Options

Shadow supports 2 options, both of wich are optional:

  • shadow_type - hard | soft (Default to soft)

  • padding - boolean (Default to false)