@lendi-ui/depth

Depth that style box-shadow for HTML element. Depth receive integer paremeters from [ 1, 2, 3, 4].

Stats

StarsIssuesVersionUpdatedCreatedSize
@lendi-ui/depth
4.1.46 months ago3 years agoMinified + gzip package size for @lendi-ui/depth in KB

Readme

@lendi-ui/depth

Depth that style box-shadow for HTML element. Depth receive integer paremeters from [ 1, 2, 3, 4].

Installation

yarn add @lendi-ui/depth

Usage

import { depth } from '@lendi-ui/depth';
const Panel = styled.div`
  ${depth(4)};
`;

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.