Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@riiid/santa-closet-web

Package Overview
Dependencies
Maintainers
9
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@riiid/santa-closet-web

UI Design Kit for Santa's products

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
9
Weekly downloads
 
Created
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

Package last updated on 29 Apr 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc