跳至主要內容
Box Dev

Box Dev DESIGN.md 設計系統與風格指南

Developer ToolsProv1.0.0 (最新)

Box Dev 的設計系統以藍色(#0061D5)為主色,字型用 Inter、Paper Mono。這份 DESIGN.md 從 developer.box.com 記錄了 18 種顏色、105 個設計 Token。

developer.box.com•關聯於 2026年12月3日 上午04:00•審核 Bestony

Box's developer documentation portal, built as a three-pane reference for the whole Box API with Box blue actions and inline Paper Mono code.

Pro 網站

你可以免費閱讀 Box Dev 的完整設計敘述與最多 8 色主色票。升級 Pro 即可取得全部 105 個設計 Token、完整 DESIGN.md 原始檔下載與 1 個歷史版本。

顯示 8 / 18 個色彩
淺色 (91%)
Aa 測試範例#EFF6FF
info
rgb(239, 246, 255)
深色 (7%)
Aa 測試範例#1E40AF
on-info
rgb(30, 64, 175)
淺色 (75%)
Aa 測試範例#DEE1E5
outline
rgb(222, 225, 229)
深色 (13%)
Aa 測試範例#0061D5
primary
rgb(0, 97, 213)
淺色 (100%)
Aa 測試範例#FFFFFF
surface
rgb(255, 255, 255)
淺色 (97%)
Aa 測試範例#FEFCE8
warning
rgb(254, 252, 232)
深色 (9%)
Aa 測試範例#0550AE
secondary
rgb(5, 80, 174)
淺色 (100%)
Aa 測試範例#FFFFFF
on-primary
rgb(255, 255, 255)
取得完整色票、CSS variables 與 DESIGN.md 原始碼

升級 DesignMD Pro,將所有色彩複製為 :root CSS variables、檢視元件 Token 引用關係,並下載完整原始檔。

設計指南

Overview

Box Dev is a documentation product, not a marketing site, and it is designed like one: the whole interface is optimized for scanning a very large API surface quickly. The mood is neutral, precise and unfussy — white surfaces, a single saturated blue, and almost no decoration. The homepage is built around a task router ("I want to…") whose six cards each name an outcome in plain language ("Connect AI agents", "Automate invoice intake", "Build an AI-powered DAM"), while the API reference page is a three-pane reading environment with a long alphabetical resource index down the left, the page content in the middle, and an "On this page" table of contents on the right. Density is high but never cramped: 20px gutters, 4px spacing increments, and generous 32px section gaps. Imagery is minimal — a handful of small blue line icons inside the outcome cards and the flat "boxDEV" wordmark — because the real content is code, and code gets the most visual real estate on the page.

Colors

The palette is defined once as space-separated RGB triplets on :root — --primary: 0 97 213, --primary-dark: 0 41 71, --primary-light: 246 250 253, and a thirteen-step --gray-50 … --gray-950 ramp — and consumed through Tailwind's rgb(var(--…)) indirection.

  • Box blue #0061d5 is the only saturated color and carries every action: the "Get started for free" pill, the active sidebar row, the underline on the current top-nav item, and inline links. It is never used for large background fills.
  • #002947 (--primary-dark) is the hover/pressed state for primary actions and the darkest blue in the system; #f6fafd (--primary-light) is the tint behind the selected navigation row.
  • #0550ae is the link color inside long-form prose, one step darker than the UI blue so it stays legible at body size on white.
  • Text greys run from #16191d (headings) through #3e4145 (body) to #6f7276 (metadata, nav labels, placeholders). Everything readable is a grey, never pure black.
  • Surface greys separate the three panes: white for content, #f2f5f9 for the left index, #eef0f4 for chips and code-block toolbars, and #e8edf2 for code itself.
  • Semantic tints are reserved for callouts and badges: #eff6ff / #1e40af for informational notes, #fefce8 / #854d0e for warnings, and a green #16a34a "New" pill that appears next to freshly shipped endpoints. Borders are #dee1e5, or a 10%-black hairline on card outlines.

Typography

Two families, both self-hosted variable fonts: Inter (100–900) for everything readable and Paper Mono (100–800) for anything a developer will copy. Both are wired through --font-inter and --font-paper-mono and fall back to the platform stack.

  • Headings are semibold (600) and negatively tracked at -0.025em: page titles at 32px/40px, section headings at 24px/32px, subsections at 20px/28px, and card titles at 16px/24px. Nothing on the site is bolder than 600.
  • Body copy is 16px at 1.75 line-height inside prose blocks and cards, dropping to 14px/1.43 for navigation, metadata and table cells. The hero lead paragraph is 18px.
  • Buttons and labels are 14px semibold (buttons, active nav rows) or 12px semibold (the smallest eyebrow labels).
  • Code is Paper Mono at 16px inside fenced blocks and 14px inline, where it also gets weight 500 so https://api.box.com/2.0 stands out mid-sentence. Inline code and kbd elements are the only places the mono family appears.

Layout

A fixed three-column shell inside a 1472px container with 20px gutters. The left pane is the documentation index (a long, alphabetical, collapsible tree of every API resource), the center column is capped at 1152px, and the right pane is a sticky "On this page" table of contents that highlights the current section. The top navigation is a 96px transparent bar holding the wordmark, six section links, a search pill and an "Ask Assistant" pill on the left, and "Log in" plus a filled "Get started for free" pill on the right. The homepage replaces the index with a centered hero and a responsive auto-fill grid of six outcome cards. Everything is built on a strict 4px spacing scale (Tailwind's --spacing: .25rem), so every gap, padding and margin on the page is a multiple of 4.

Elevation & Depth

This is an almost entirely flat system. Cards are white with a 1px border at 10% black — no shadow at all — and separation between panes comes from background tint alone (#f2f5f9 index against white content). The only shadows in the stylesheet are focus rings (outline: 2px solid #1660f3 on :focus-visible) and the small tooltip popovers used by the TypeScript hover cards, which get a soft #00000014 0 1px 4px. Interactive feedback is therefore carried by color, not by lift: nav rows swap to a light blue tint, links darken, and buttons change fill. Nothing translates, scales or rises on hover.

Shapes

Corner radii follow a tight ladder: 4px for inline code, 6px for the smallest controls, 12px for buttons, inputs, dropdowns and code blocks, 16px for cards and callouts, 20px for the search pill, and a full 9999px pill for the primary and secondary CTAs and the "New" badge. Cards and callouts consistently use the largest non-pill radius, which is what makes them read as containers rather than as raised panels. The only asymmetric rounding is the split "Install Box Agent Skills" button, whose left corners are 12px and right corners square where it joins its dropdown toggle.

Motion & Micro-interaction

Motion is fast, purposeful and standardized on one easing curve, cubic-bezier(0.4, 0, 0.2, 1). Color and background changes (link hover, nav row highlight, button fill) run 150ms; transform-driven feedback runs 150–200ms; and the collapsible navigation panes animate their height over 300ms so the index expands smoothly. prefers-reduced-motion: reduce disables every transition and animation globally. Nothing loops, nothing parallaxes, and no content animates in on scroll — the page is fully readable the moment it paints.

Voice & Content Strategy

The voice is plain, outcome-first and developer-to-developer. It assumes competence, states facts once, and never sells.

  • Tone of voice: Direct, calm and literal. It rules out exclamation marks, marketing adjectives and any sentence that restates the heading above it. The hero reads "Learn how to use Box to manage documents at scale with enterprise security, real-time collaboration, e-signatures, workflow automation, and AI built in," and the versioning note opens "This reference covers every Box API resource."
  • Capitalization: Title Case for page and section headings ("API Reference", "Box for Developers quick start", "Sign up for a free account"), sentence case for body copy, buttons and nav labels ("Get started for free", "Log in", "Ask Assistant").
  • Terminology: "Box Dev Docs" is the product; "developer account", "developer token" and "app" are the canonical nouns. Resources keep their exact API names ("Shared links (Files)", "Collaborations (List)") — never paraphrased — and the left index is sorted by them.
  • Button and action labels: Verb phrases naming the outcome ("Get started for free", "Install Box Agent Skills", "Try your first request", "Create a free developer account"), never generic "OK" or "Submit". The one imperative-plus-noun label, "Ask a question", sits in the assistant composer.
  • Empty, loading, and error states: The assistant composer shows a placeholder rather than an empty state ("Ask a question"), and warnings are stated as constraints with a remedy attached — "The maximum file size is 50MB. For larger files, use the chunked upload APIs." No spinner copy or error strings are exposed on the public pages.
  • Numbers, dates, and units: Units are written inline and compactly ("50MB", "2.0"), API versions appear as bare numbers in the base URL (https://api.box.com/2.0), and endpoints are named with their HTTP path rather than prose.

Components

  • button-primary — the Box blue pill. 10px/24px padding, 42px tall, 14px semibold white label, fully rounded. Used exactly once per view for the single most important action ("Get started for free"). Hover deepens the fill to #002947; there is no shadow and no border.
  • button-secondary — the same pill geometry at 36px with a white fill, #3e4145 label and a 1px #dee1e5 border ("Log in", "API reference"). It is always visually quieter than the primary.
  • search-field / assistant pill — a 20px-radius, 36px-tall pill on a 3% near-black tint of white, holding a magnifier glyph, the word "Search…" and a ⌘K hint. The "Ask Assistant ⌘I" pill beside it is the same component with a sparkle glyph.
  • nav — a 96px transparent bar over white. Section links are 16px grey; the current one is underlined in blue. The active row in the left index uses nav-item-active: a #f6fafd fill, blue text and a 12px radius.
  • sidebar — the documentation index on #f2f5f9. Group headings are 12px semibold, entries 14px grey at 1.43 line-height, and expandable groups animate their height over 300ms.
  • card — white, 16px radius, 24px padding, 1px 10%-black border, no shadow. Anatomy: a blue line icon, a 16px semibold title, and two lines of 16px body copy. Six of them form the "I want to…" router on the homepage.
  • code-block — #e8edf2 fill, 12px radius, 20px padding, Paper Mono at 16px, with a floating toolbar (code-block-toolbar) on #eef0f4 holding copy and assistant actions. Inline code uses the same family at 14px/500 on the page white.
  • callout-info / callout-warning — 16px-radius tinted panels with a leading glyph, a bolded first sentence and 16px body copy. Info is #eff6ff on #1e40af; warning is #fefce8 on #854d0e. They are the only colored surfaces on the page.
  • link / link-hover — #0550ae in prose, #0061d5 in the UI chrome, both darkening to #002947 on hover. Links are underlined only inside running text.

Do's and Don'ts

  • Do use Box blue for exactly one action per view. The "Get started for free" pill is the only saturated fill on the page; a second filled button in the same view halves its authority.
  • Don't add shadows to cards or panels. Separation comes from the 1px 10%-black border and from surface tint (#f2f5f9 index, #eef0f4 chips), not from elevation.
  • Do keep body text on the grey ramp (#3e4145, #16191d) rather than pure black, and reserve #6f7276 for metadata, nav labels and placeholders — never for body copy.
  • Don't mix the two type families outside their roles: Inter for anything a human reads, Paper Mono for anything a machine copies.
  • Do keep every spacing value on the 4px scale and every radius on the 4/6/12/16/20/9999 ladder; 8px and 24px radii do not exist here.
  • Don't let callouts carry more than one idea. Each is a single bolded constraint plus its remedy, as in "The maximum file size is 50MB. For larger files, use the chunked upload APIs."
  • Do keep the left index exhaustive and alphabetically sorted — it is the primary navigation for the whole API surface, and resource names must match the API exactly.
  • Don't use a transition longer than 300ms or any easing other than cubic-bezier(0.4, 0, 0.2, 1), and never animate content in on scroll.
  • Don't rely on the green "New" pill alone to signal freshness — it is a 3.3:1 pairing on the site itself, so pair it with a date or a version note in the surrounding copy.
  • Do preserve the three-pane shell (index / content / "On this page") on every reference page; collapsing it to a single column loses the scanning speed the site is built for.

如何在 AI Agent 中使用 Box Dev 的 DESIGN.md

  1. 取得 Box Dev 的 DESIGN.md

    存取 https://www.designmdpro.app/websites/box-dev.md 或透過 DesignMD Pro MCP 伺服器以 slug "box-dev" 呼叫 get_design_md 工具以取得公開版本。完整 token 集合需訂閱 Pro。

  2. 將其儲存為專案根目錄中的 DESIGN.md

    將檔案放在 AGENTS.md 或 CLAUDE.md 旁,讓 Claude Code、Cursor、Codex 與其他程式開發 Agent 能夠讀取。

  3. 請你的 Agent 遵循該規範

    例如:「請依照 DESIGN.md 中的 Box Dev 設計系統建構設定頁面,使用其中的色彩、字型與間距 tokens。」

Box Dev 風格 AI 提示詞

請依照 Box Dev(developer.box.com) 的 DESIGN.md 設計系統,以相同的視覺風格建構一個響應式到達頁。

## 色彩
- info: #EFF6FF
- on-info: #1E40AF
- outline: #DEE1E5
- primary: #0061D5
- surface: #FFFFFF
- warning: #FEFCE8
- secondary: #0550AE
- on-primary: #FFFFFF

## 字型
- body-lg: "Inter", 18px, weight 400, line-height 1.56
- code-md: "Paper Mono", 16px, weight 400, line-height 1.75

## 圓角
- lg: 16px
- md: 12px
- sm: 6px

## 規則
- 背景、文字、邊框與強調色僅使用上述色彩,請勿自行發明新顏色。
- 所有文字皆套用上述字型樣式,並維持其字級與字重層級。
- 圓角與間距請取自上述比例尺,確保各元件外觀一致。

完整 DESIGN.md:https://www.designmdpro.app/websites/box-dev.md
在 v0 提示詞產生器中自訂 →

常見問題

Box Dev 的主色是什麼?

Box Dev 的品牌主色為 藍色(#0061D5),其 DESIGN.md 共定義了 18 個色彩 tokens。

Box Dev 使用什麼字型?

Box Dev 的主要字型為 Inter 與 Paper Mono。

Inter 是免費字型嗎?

是的。Inter 是免費開源字型,可在 Google Fonts 上取得。

如何在 Tailwind CSS 或 shadcn/ui 中使用 Box Dev 的 design tokens?

本頁已公開 Box Dev 的主色(#0061D5)。產生完整的 Tailwind 或 shadcn 主題需要完整的 DESIGN.md,可透過 DesignMD Pro 取得。

這份 Box Dev DESIGN.md 是官方發布的嗎?

不是。此檔案由 DesignMD Pro 擷取自公開的 developer.box.com 網站,與 Box Dev 無任何關聯亦未獲其背書。

Box Dev 的 DESIGN.md 最後一次更新是什麼時候?

版本 1.0.0 擷取於 2026年12月3日。

在 Google 中收藏本站

Box Dev 及其商標均歸各自所有者所有。DesignMD Pro 為獨立專案,與 Box Dev 無任何關聯亦未獲其背書;此 DESIGN.md 擷取自公開網站,僅供參考。