Skip to content

Rajdeepc/colorful-boxshadow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Colorful BoxShadow

A Simple npm package to make your images or elements have colorful box shadows.

Installation

npm i colorBoxShadow --save

How to use

import { colorBoxShadow } from 'colorBoxShadow';

colorBoxShadow({
    shadow_type: 'light-1',
    shadow_color: '#fafafa'
});

Options

colorBoxShadow supports two options, both of which are optional

  • shadow_type - light-1 | light-2 | medium-1 | medium-2 | hard | Defaults to light-1
  • shadow_color - defaults to #fafafa

Shadow Types:

light-1:

'light-1'

light-2:

'light-2'

medium-1:

'medium-1'

medium-2:

'medium-2'

hard:

'hard'

Releases

No releases published

Packages

No packages published