跳至主要內容
WoofJS

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

Developer ToolsProv1.0.0 (最新)
woofjs.com•關聯於 2026年11月27日 上午04:00•審核 Bestony

A single-screen landing page for a Scratch-inspired JavaScript library — a monospace code sample with real syntax highlighting on white, and three candy-colored pill buttons as the entire interface.

Pro 網站

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

顯示 8 / 11 個色彩
深色 (0%)
Aa 測試範例#000000
code
rgb(0, 0, 0)
深色 (40%)
Aa 測試範例#1CB9D6
number
rgb(28, 185, 214)
深色 (14%)
Aa 測試範例#A70CE2
string
rgb(167, 12, 226)
深色 (22%)
Aa 測試範例#808080
comment
rgb(128, 128, 128)
深色 (8%)
Aa 測試範例#2A00FF
keyword
rgb(42, 0, 255)
深色 (18%)
Aa 測試範例#767676
outline
rgb(118, 118, 118)
淺色 (50%)
Aa 測試範例#6FCF97
primary
rgb(111, 207, 151)
淺色 (100%)
Aa 測試範例#FFFFFF
surface
rgb(255, 255, 255)
取得完整色票、CSS variables 與 DESIGN.md 原始碼

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

設計指南

Overview

WoofJS is a Scratch-inspired JavaScript library for making games, aimed at beginners and classrooms. The entire homepage is one screen: a commented-out code sample at the top that doubles as the welcome message, and three pill buttons at the bottom. There is no navigation, no hero image, no footer copy — the code sample is the hero, and it literally greets you ("// Hey there, welcome to WoofJS!").

The design is the smallest possible expression of the product: white space, monospace type, and three flat candy colors. It reads as a teaching tool that is confident enough to show its own source before asking for anything.

Colors

  • primary #6fcf97 — mint green, the lead "Start Coding" button.
  • secondary #56ccf2 — sky blue, "For Educators".
  • tertiary #ca65e6 — orchid, "Project Showcase".
  • on-primary #ffffff — the label on all three buttons; the three fills are the only saturated color on the page.
  • code #000000 — plain code text.
  • comment #808080 — the gray of // comment lines, which carry all of the page's prose.
  • string #a70ce2 — string literals ('seconds').
  • number #1cb9d6 — numeric literals (.001).
  • keyword #2a00ff — language keywords and member access (var, circle.mov).
  • surface #ffffff — the entire page ground.
  • outline #767676 — the input border on the share/email control.

The syntax palette is the site's only real color system: five token colors doing the job a brand palette usually does. The three button colors are unrelated to the code colors on purpose — they are navigation, not content. The social share rail on the left edge carries the standard third-party brand colors (Facebook blue, Pinterest red, X black) and is not part of this system.

Typography

Two families, split by role. Everything in the code sample is Consolas over the Monaco/Andale Mono/Ubuntu Mono stack, set at 22.4px/400 on a 1.3 line height — large enough that the syntax colors read at a glance, with keywords and strings picked out by color alone. The three buttons are Arial at 24px/400, and the small "10 Shares" label and share controls use Helvetica Neue at 16px/400. There is no bold, no uppercase and no tracking anywhere; the monospace/sans split is the entire typographic hierarchy.

Layout

A single full-viewport column, left-aligned with generous margin. The code block runs down the left third of the page, comments and statements alternating with blank lines exactly as they would appear in an editor. A vertical share rail is pinned to the left edge — a "10 Shares" count above four square icon buttons (Facebook, X, Pinterest, email). The three CTA pills sit alone on a row near the bottom, centered, with wide gaps between them. Nothing else competes for attention.

Elevation & Depth

Completely flat. There are no shadows in the captured styles — not on the buttons, the share rail or the input. The buttons are pure fills on white, and the share rail separates itself only by its position at the page edge. The flatness suits the content: the page is a screenshot of an editor, and editors have no depth.

Shapes

One radius, used once: 20px, turning all three buttons into full pills. Everything else on the page is square — the code block has no container at all, and the share icons are plain squares. The pills are the only shaped objects, which is why they read as the only interactive ones.

Motion & Micro-interaction

There is no motion. The captured styles contain no transitions, no animations and no transforms — buttons do not darken, lift or scale on hover in any captured rule. For a page this small, that is a feature: nothing moves until you click.

Voice & Content Strategy

The voice is the product's own. The headline is a code comment, the tagline is a code comment, and the invitation is a code comment ("// Want to code something together? :-)"). The sample itself is a complete, runnable idea — spawn a circle every millisecond and move it forever — with its own inline commentary ("// Go, little circles, go!"). The three buttons name their audiences plainly: Start Coding, For Educators, Project Showcase. There is no marketing sentence anywhere on the page.

Components

  • Code sample — Consolas 22.4px/400 on a 1.3 line height, comments in #808080, strings in #a70ce2, numbers in #1cb9d6, keywords in #2a00ff, plain code in #000000, on the bare white ground with no container.
  • CTA pill — a 20px-radius pill in one of the three flat colors with white Arial 24px/400 text and ~10px padding: primary green ("Start Coding"), secondary blue ("For Educators"), tertiary orchid ("Project Showcase").
  • Share rail — a left-edge vertical stack: a "10 Shares" count in Helvetica Neue 16px above four square brand-color icon buttons (Facebook #3b5998, X #000000, Pinterest #cb2027, email #aaaaaa).
  • Text field — a 30px white input with a #767676 border and the same 20px pill radius, set in Consolas 13.3px.

Do's and Don'ts

  • Do set all code in Consolas at 22.4px and let the five syntax colors carry the hierarchy; don't bold or uppercase code.
  • Do keep comments in #808080 — they are the page's only prose, and their grayness is what makes the colored tokens pop.
  • Do keep the three buttons as the only saturated shapes, in their fixed order and colors (green, blue, orchid); don't add a fourth or reorder them.
  • Do keep the page flat — no shadows, no transitions, no hover states in the captured styles; don't add lift or motion to the pills.
  • Do keep the 20px pill radius on buttons and inputs only; don't round the code block or the share icons.
  • Do leave the social rail's brand colors alone — they belong to Facebook, X and Pinterest, not to this system.
  • Don't treat the white-on-color button labels as accessible small text — white on primary green measures 1.90:1, on secondary blue 1.86:1 and on tertiary orchid 3.22:1, so the labels stay at the 24px Arial scale; and the cyan number token on white is 2.34:1, so keep syntax colors to code display rather than UI text.

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

  1. 取得 WoofJS 的 DESIGN.md

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

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

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

  3. 請你的 Agent 遵循該規範

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

WoofJS 風格 AI 提示詞

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

## 色彩
- code: #000000
- number: #1CB9D6
- string: #A70CE2
- comment: #808080
- keyword: #2A00FF
- outline: #767676
- primary: #6FCF97
- surface: #FFFFFF

## 字型
- body-md: "Helvetica Neue", 16px, weight 400, line-height 1.5, letter-spacing 0em
- code-lg: "Consolas", 22.4px, weight 400, line-height 1.3, letter-spacing 0em
- label-lg: "Arial", 24px, weight 400, line-height 1.2, letter-spacing 0em

## 圓角
- sm: 20px

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

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

常見問題

WoofJS 的主色是什麼?

WoofJS 的品牌主色為 翠綠(#6FCF97),其 DESIGN.md 共定義了 11 個色彩 tokens。

WoofJS 使用什麼字型?

WoofJS 的主要字型為 Helvetica Neue 與 Consolas。

Helvetica Neue 有哪些免費替代字型?

Helvetica Neue 為商用字型。Google Fonts 上相近的免費替代字型包括 Inter 與 Arimo。

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

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

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

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

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

版本 1.0.0 擷取於 2026年11月27日。

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