Socket
Socket
Sign inDemoInstall

@riiid/santa-closet-web

Package Overview
Dependencies
13
Maintainers
10
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @riiid/santa-closet-web

UI Design Kit for Santa's products


Version published
Maintainers
10
Install size
366 kB
Created

Readme

Source

santa-closet-web

NPM

UI Design Kit for 🎅's products

Dependencies

  • React 에 의존성을 가집니다.

🚧👷 warning 👷🚧

  • foundation & component 추가 시 중복되는 명칭이 없도록 주의합니다. 👀

Installation

yarn add @riiid/santa-closet-web

Usage

foundation

santa-closet 의 색상, 아이콘, 쉐도우 스타일을 정의합니다.
기본 팔레트 색상 외에도 테마 색상 dark 또는 light 을 적용하실 수 있습니다.

foundation 구조는 아래와 같습니다.

PluginREADME
ALL@riiid/santa-closet-web
colors@riiid/santa-closet-web/colors
theme@riiid/santa-closet-web/theme
icons@riiid/santa-closet-web/icons
shadows@riiid/santa-closet-web/shadows

예시

import {white1, shadowDown1} from '@riiid/santa-closet-web'
import {dark as theme} from '@riiid/santa-closet-web/theme';
import {Arrow, Cart, Password} from '@riiid/santa-closet-web/icons'

class Example extends Component {
  render () {
    return (
      <div style={shadowDown1}>
        <Arrow/>
        <Cart width={30} height={30} fill={white1}/>
        <Password fill={theme.color1}/>
      </div>
    )
  }
}

icon list image

Example

Cheetsheet

cheat sheet - https://santa-closet.riiid.app

Example Project

yarn link 로 deploy 된 /lib 폴더와 연결하여 테스트합니다.🖐🏻

Deploy

yarn release 스크립트 실행 후 배포되는 폴더의 버전과 루트 폴더의 버전을 동일하게 올려줍니다.

License

Riiid © Riiid

FAQs

Last updated on 01 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc