This package has been deprecated

Author message:

depth has been moved to @lendi-ui/commons/depth, see lendi.style docs

@lendi-ui/depth
TypeScript icon, indicating that this package has built-in type declarations

4.1.4 • Public • Published

@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)};
`;

/@lendi-ui/depth/

    Package Sidebar

    Install

    npm i @lendi-ui/depth

    Weekly Downloads

    185

    Version

    4.1.4

    License

    ISC

    Unpacked Size

    4.91 kB

    Total Files

    9

    Last publish

    Collaborators

    • joshua-derbe-lendi
    • michaelhuttonlendi
    • simon_lau_lendi
    • benjamintan
    • oliverfrance
    • kjartan.johansen
    • dapovey
    • nooshines
    • fernandogontijo_
    • sean-elliott-lendi
    • nghiato
    • sunny.niu
    • mfarshadmehr
    • jannes.mingram.lendi
    • antoine_lendi
    • bchiong
    • lendi-owner
    • andrealin
    • malkyfaith
    • brianduan
    • yihan_lu_lendi
    • nodemacross
    • samnevers
    • boris.gordon
    • leo.wei
    • bharadwajsampath
    • luissilvalendi
    • thomaslendi
    • dimitrioslendi
    • le-kang-lendi
    • yupeili