npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@teamsparta/design-system

v2.7.8

Published

팀스파르타의 디자인 시스템

Downloads

5,333

Readme

추가/변경 후 배포 방법

배포는 자동화되어 있습니다.

  1. pnpm changeset
  • 추가 및 변경한 내용을 토대로 major, minor, patch 버전 업데이트
    • 패치 변경 시: 1.0.0 -> 1.0.1 (ex. components/icon/foundation/font 등 무엇을 수정했을 때)
    • 마이너 변경 시: 1.0.0 -> 1.1.0 (ex. components/icon/foundation/font 등 무엇을 추가 및 삭제 했을 때)
    • 메이저 변경 시: 1.0.0 -> 2.0.0 (ex. 시스템 변경 시)
  1. git push
  2. pr review -> merge
  3. main에 merge된 후 changeset pr 생성
  4. 해당 pr 다시 main에 merge 하면 자동으로 배포

사용설명서

Foundation/Color

  1. 변수명
  • 흑백: neutralDay
  • 다크모드 흑백: neutralDark
  • 메인: scc
  • 창: chang
  • 항해99: hanghae
  • 인텔리픽: intellipick
  • 기타: additional
  1. 사용방법 (auto complete)
color: ${scc.red100};

Font

  1. 변수명 예시
  • Figma Ag: Web/Header1_700 => wHeader1
  • Figma Ag: Mobile/Title1_600 => mTitle1
  1. 사용방법 (auto complete/import)
import { scc, wTitle1 } from "@teamsparta/design-system";

export const Title = styled.h1`
  ${wTitle1};
  color: ${scc.red100};
`

Icon

  1. 변수명 예시
  • v1
    • Figma Ag: arrow_drop_down, line, 16: <ArrowDropDownLine size={16} color={"red"}/>
    • Figma Ag: close_circle_fill, 20 => <CloseCircleFill size={20} primaryColor={"red"} secondaryColor={"blue"}/>
  • v2
    • Figma 상 명시된 Icon Props들 중 ${Category}${Name}의 조합
    • Screenshot 2023-11-15 at 11 40 16 AM
    • 위 이미지에서의 아이콘 이름은 ArrowChevronRightCircle
  1. Props
  • v1
    • 아이콘 이름에 line이 있는 경우: color
    • 아이콘 이름에 fill이 있는 경우: primaryColor & secondaryColor
    • 색 관련 props 작성 안할 시, 기본색 (neutralDay.gray100) 제공
  • v2
    • Figma에서 Style 존재 시, style ('line' | 'fill') & size (16 | 20 | 24) 필수
    • Figma에서 Style 없을 시, size 필수
    • color props 작성 안할 시, 기본색 (neutralDay.gray90) 제공
  1. 사용 방법 (auto complete)

export const LoginPage = () => {
  return (
    <S.Wrapper>
      <ArrowChevronRightCircle size={16} style={"line"} color={"red"}/>
    </S.Wrapper>
  )
}