1.0.0 • Published 5 years ago

shadowmage v1.0.0

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

What is it?

Get shadows and paddings on images. Made for non-designers.

Installation

npm i shadowmage --save

Then..

import { shadowmage } from 'shadowmage';

shadowmage({
    shadow_type: 'soft',
    padding: false
});

Options

Shadowmage supports two options.

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

Inspired by DesignCourse's tutorial.