npm pairs an exuberant, gradient-drenched marketing voice with a dense, utilitarian developer surface. Giant Poppins headlines and wombat illustrations float on a signature magenta-to-orange gradient under a thin rainbow strip, while pill-shaped CTAs — sunshine yellow with black text — punctuate the heroes. Underneath, the product runs tight and square: Source Sans Pro body copy, Fira Mono for anything code-shaped, hairline borders instead of shadows, and small flat controls, all anchored by the wombat-red brand color and reskinnable through a Primer-style token layer with a real dark mode.
NPM 및 관련 상표는 해당 권리 소유자에게 귀속됩니다. DesignMD Pro는 NPM와 제휴하거나 승인을 받지 않은 독립 프로젝트이며, 이 DESIGN.md는 참고 목적으로 공개 웹사이트에서 추출되었습니다.
npm is the largest software registry in the world, and its website wears two personalities at once. The marketing surface — home, Pricing, Pro, Teams — is exuberant and warm: huge Poppins headlines floating on a signature magenta-to-orange gradient, soft mascot illustrations (the wombat, npm's mascot), pill-shaped CTAs, and generous centered layouts. The product surface — package pages, sign-in, registry UI — flips to dense, utilitarian developer tooling: Source Sans Pro body text, Fira Mono for anything code-shaped, hairline borders, small square buttons, and data-dense sidebars.
The brand personality is friendly, community-minded, and slightly playful ("Build amazing things", wombat art, the rainbow strip) while remaining credible infrastructure. Emotional tone: energetic on landing pages, invisible and out-of-the-way on product pages. Imagery is dominated by CSS gradients and flat mascot illustration rather than photography. The npm red #cb3837 is the anchor: it's the wombat's color, the link color in content, and the fill state on ghost CTAs. The rainbow gradient strip (linear-gradient(139deg, #fb8817, #ff4b01, #c12127, #e02aff) — orange → red-orange → deep red → electric magenta) appears as a hairline under the announcement banner, under active tabs, and atop comparison tables — it's the single most recognizable decorative motif.
Under the hood the system is built on Tachyons utility classes plus a semantic custom-property layer (--color-fg-*, --color-bg-*, --color-border-*) that mirrors GitHub Primer naming — appropriate, since npm is GitHub-owned. A real dark mode exists (moon/sun toggle in the sub-navigation) and reskins every chrome and content surface; only the decorative gradient heroes are exempt.
#c40b0a is used on hover states.--wombat-yellow: #ffcd3a powers the active-tab underline and its 20% tint highlight.#0969da for emphasis, #afcee9 borders, #ddf4ff subtle fills).#ffffff default, #f7f7f7 subtle (code blocks, install boxes, gray step cards), #f2f2f2 inset (header search field), #262626 emphasis.Activated by the moon/sun toggle ([data-color-mode="dark"] on <html>). The semantic layer reskins everything: surfaces become #1a1a1a / #242424 / #2d2d2d, text becomes #e6e6e6 / #b3b3b3 / #999999, borders #3d3d3d, brand red brightens to #ff6b6b, accent blue to #58a6ff, attention to #d29922 on #2e2a1a, and the dark "Search" button lightens to #6e7681. The gradient heroes are decorative and do not change — white headline text keeps working over them.
Three typefaces with strict territorial roles:
Key rules behind the numbers:
--header-letter-spacing token), visible as a subtle 0.2px spread at 14px.1536px max-width canvas; the package page uses tighter 1200–1440px reading widths; auth cards are 480px centered islands.30em, 45rem, 60em are the canonical steps; assorted px breakpoints (480–1200px) also exist in legacy code.Depth is used sparingly and purposefully:
rgba(0,0,0,0.1) 0 4px 13px -3px under the white header.rgba(0,0,0,0.4) 0 10px 30px (auth card: rgba(0,0,0,0.2) 0 10px 20px) — dramatic elevation reserved for conversion moments.#e6e6e6 hairlines and tonal shifts (#ffffff vs #f7f7f7 vs #f2f2f2), not shadows.rgba(0,0,0,0.1) 0 0 0 5px ring.A dual-radius system — marketing is round, product is square:
Motion is minimal and functional — this is a registry, not a playground.
150ms ease-in on color and opacity — the dominant transition across links and buttons. Hover on text links adds text-decoration: underline; ghost pills fill with wombat red.all 0.2s ease (--standardCardTransition) on hover-liftable surfaces.transform 0.3s ease for surfaces entering view (e.g., the sign-in avatar treatment).prefers-reduced-motion is honored in the stylesheet.Components below are tokenized in light mode; sibling *-dark variants (e.g. nav-header-dark, input-search-dark, card-auth-dark, button-utility-dark, button-inverted, banner-attention-dark, button-danger-dark, badge-beta-dark, link-dark, meta-text-dark) carry the reskinned values applied under [data-color-mode="dark"].
Two parallel families that never mix on one surface:
button-cta, button-ghost, button-red): 50px-radius or square statement buttons, Poppins 16/700, 16px 32px padding, ~55px tall, heavy 0 10px 30px rgba(0,0,0,0.4) shadow. The yellow pill keeps black text; the white-bordered ghost pill fills #cb3837 on hover; the red rectangle stays sharp-cornered.button-dark, button-utility, button-danger): Source Sans Pro 16/500 with 0.016em tracking, 8px 16px padding, 36px tall, 4px radius. Utility buttons are white with a 1px rgba(22,22,22,0.4) border; danger outlines pair #bb2e3e text with a #f1b8bc border; disabled state collapses to a rgba(0,0,0,0.02) wash with ~10% black text.#231f20, Poppins 14/700 at 0.021em tracking, 8px 32px padding, 52px tall. In dark mode it inverts to #6e7681.#f2f2f2 inset field, zero radius, Fira Mono 16/300 — the monospace input is a signature detail.1px #767676 border, 4px radius, ~38px tall, Source Sans Pro 16/400; label above in 16/600 at 90% black. Adornments (the "Show" button) live inside the field.#f7f7f7 with the signature gradient as a top accent strip and a circled step number.0 10px 20px rgba(0,0,0,0.2), wombat avatar on top.#f7f7f7, 2px radius, Fira Mono (16px/24px lh in blocks; 14px in the sidebar install box), with a borderless copy affordance.#1a1a1a in dark mode, light in light mode.#ffcd3a underline + 20% yellow tint on the active tab; the tab strip's bottom edge is the signature rainbow gradient. The "Beta" badge is a green-outlined pill (#107010 family).#cb3837 for content links and hover fills; the deeper #c12127 is reserved for solid red marketing buttons and the gradient.#e6e6e6 hairlines and #f7f7f7/#f2f2f2 tonal steps.--color-* token layer.이 페이지에서 다운로드하거나 https://www.designmdpro.app/websites/npm.md에서 직접 가져오거나, DesignMD Pro MCP 서버에서 slug "npm"로 get_design_md 도구를 호출하세요.
Claude Code, Cursor, Codex 등 코딩 에이전트가 찾을 수 있도록 AGENTS.md 또는 CLAUDE.md 옆에 파일을 배치하세요.
예시: "DESIGN.md에 있는 NPM 디자인 시스템의 색상, 타이포그래피, 간격 토큰을 사용해 설정 페이지를 만들어 줘."
NPM (npmjs.com)의 DESIGN.md 디자인 시스템을 따라 동일한 시각 스타일의 반응형 랜딩 페이지를 구축해 주세요.
## Colors
- ink: #231F20
- error: #BB2E3E
- outline: #E6E6E6
- primary: #CB3837
- success: #107010
- on-error: #FFFFFF
- tertiary: #196CB2
- attention: #886701
- secondary: #FFC329
- on-primary: #FFFFFF
- on-tertiary: #FFFFFF
- on-secondary: #000000
- primary-deep: #C12127
- primary-hover: #C40B0A
- error-container: #FFDBDB
- outline-variant: #F2F2F2
## Typography
- body-lg: "Source Sans Pro", 18px, weight 400, line-height 1.65, letter-spacing 0.006em
- code-lg: "Fira Mono", 36px, weight 700, line-height 0.67
- eyebrow: "Poppins", 14px, weight 600, line-height 1.5, letter-spacing 0.1em
## Corner radius
- lg: 8px
- md: 4px
- sm: 2px
- full: 9999px
- none: 0px
- pill: 50px
## Spacing
- lg: 32px
- md: 16px
- sm: 8px
- xl: 64px
- xs: 4px
- base: 4px
- gutter: 16px
- margin: 32px
## Components
- card-auth: padding 32px, rounded 8px, textColor {colors.light.on-surface}, backgroundColor {colors.light.surface}
- card-plan: padding 32px, rounded 4px, textColor {colors.light.on-surface}, backgroundColor {colors.light.surface}
- link-dark: textColor {colors.dark.brand}, typography Source Sans Pro 16px
- meta-text: textColor {colors.light.on-surface-muted}, typography Source Sans Pro 16px
- badge-beta: padding 4px, rounded 9999px, textColor #107010, typography Source Sans Pro 16px
- button-cta: padding 16px, rounded 50px, textColor #000000, typography Poppins 16px, backgroundColor #FFC329
## Rules
- 배경, 텍스트, 테두리, 강조 요소에는 위에 명시된 색상만 사용하고 임의로 새 색상을 만들지 마세요.
- 모든 텍스트에 위 타이포그래피 스타일을 적용하고 크기 및 굵기 계층을 유지하세요.
- 컴포넌트의 일관성을 유지하기 위해 위 스케일에서 모서리 반경과 간격 값을 선택해 사용하세요.
전체 DESIGN.md: https://www.designmdpro.app/websites/npm.mdV0 프롬프트 생성기에서 커스터마이즈 →NPM의 기본 브랜드 색상은 크림슨(#CB3837)입니다. DESIGN.md에는 총 19개의 색상 토큰이 정의되어 있습니다.
NPM의 기본 서체는 Source Sans Pro 및 Fira Mono입니다.
네. Source Sans Pro는 무료 오픈소스 폰트이며 Google Fonts에서 이용할 수 있습니다.
이 DESIGN.md를 다운로드해 Tailwind 테마 생성기 또는 shadcn 테마 생성기에 붙여넣으면 NPM의 기본 색상 #CB3837와 나머지 토큰이 반영된 테마를 바로 얻을 수 있습니다.
아니요. DesignMD Pro가 공개된 npmjs.com 웹사이트에서 추출한 자료이며, NPM와 제휴하거나 승인을 받은 공식 문서가 아닙니다.
버전 1.0.0은(는) 2026년 11월 20일에 캡처되었습니다.
#262626 default, #4d4d4d muted, #666666 subtle; pure #000000 is also common on older elements, and rgba(0,0,0,0.7) styles footer links.#e6e6e6 default hairline, #f2f2f2 muted, #767676 strong (form inputs).