@uibot/mcp-server 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/content.d.ts +15 -0
  2. package/dist/discovery.d.ts +40 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +0 -0
  5. package/dist/resources/design-md/claude.design.md +178 -0
  6. package/dist/resources/design-md/control-console.design.md +176 -0
  7. package/dist/resources/design-md/figma.design.md +102 -0
  8. package/dist/resources/design-md/frontend-principles.design.md +155 -0
  9. package/dist/resources/design-md/ibm.design.md +109 -0
  10. package/dist/resources/design-md/linear.design.md +175 -0
  11. package/dist/resources/design-md/notion.design.md +175 -0
  12. package/dist/resources/design-md/raycast.design.md +106 -0
  13. package/dist/resources/design-md/stripe.design.md +178 -0
  14. package/dist/resources/design-md/supabase.design.md +185 -0
  15. package/dist/resources/design-md/vercel.design.md +172 -0
  16. package/dist/resources/shells/app-shell-floating.yaml +42 -0
  17. package/dist/resources/shells/app-shell-icon-rail.yaml +42 -0
  18. package/dist/resources/shells/app-shell-inset.yaml +42 -0
  19. package/dist/resources/shells/app-shell-settings.yaml +56 -0
  20. package/dist/resources/shells/app-shell-sidebar.yaml +47 -0
  21. package/dist/resources/shells/app-shell-workspace.yaml +54 -0
  22. package/dist/resources/shells/shadcn-admin-shell.yaml +151 -0
  23. package/dist/resources/templates/admin-dashboard.yaml +183 -0
  24. package/dist/resources/templates/ai-chat.yaml +448 -0
  25. package/dist/resources/templates/analytics-dashboard.yaml +152 -0
  26. package/dist/resources/templates/auth.yaml +90 -0
  27. package/dist/resources/templates/blog.yaml +111 -0
  28. package/dist/resources/templates/crm.yaml +161 -0
  29. package/dist/resources/templates/ecommerce.yaml +169 -0
  30. package/dist/resources/templates/lms.yaml +459 -0
  31. package/dist/resources/templates/portfolio.yaml +139 -0
  32. package/dist/resources/templates/pricing.yaml +171 -0
  33. package/dist/resources/templates/saas-landing.yaml +199 -0
  34. package/dist/resources/templates/settings.yaml +151 -0
  35. package/dist/resources/templates/shadcn-admin.yaml +4660 -0
  36. package/dist/resources/templates/store.yaml +469 -0
  37. package/dist/resources/templates/support-inbox.yaml +96 -0
  38. package/dist/resources/templates/team-directory.yaml +98 -0
  39. package/dist/server.d.ts +23 -0
  40. package/dist/server.js +138 -0
  41. package/package.json +39 -4
  42. package/README.md +0 -3
@@ -0,0 +1,109 @@
1
+ ---
2
+ id: ibm-design
3
+ name: IBM Carbon Design System
4
+ title: IBM Carbon Design System
5
+ category: brand
6
+ tags: [enterprise, admin, carbon, light-first, square, ibm-blue, saas-chrome, 企业, 后台, 管理系统, 严谨]
7
+ origin: github:VoltAgent/awesome-design-md
8
+ sourceUrl: https://github.com/VoltAgent/awesome-design-md/blob/main/design-md/ibm/DESIGN.md
9
+ version: "1.0.0"
10
+ layer: auto
11
+ ---
12
+
13
+ Adapted from the public VoltAgent awesome-design-md IBM / Carbon analysis
14
+ (MIT). Tokens follow the documented Carbon-shaped marketing canvas. Rewritten
15
+ as a UIBot 9-section seed with Spec recipes. Not a verbatim copy.
16
+
17
+ ## 1. Visual Theme & Atmosphere
18
+
19
+ Enterprise gravitas reframed for cloud: white surfaces, charcoal type, IBM
20
+ Blue `#0f62fe` as the single accent, and a flat-square aesthetic (0–4px
21
+ radius). Cards are thin-bordered tiles without shadow. This is the admin /
22
+ SaaS chrome lane when the brief wants Carbon, not shadcn-dark.
23
+
24
+ ## 2. Color Palette & Roles
25
+
26
+ | Role | Token | Value | Notes |
27
+ | --- | --- | --- | --- |
28
+ | Background | `--bg` | `#ffffff` | canvas |
29
+ | Surface | `--surface` | `#f4f4f4` | rows / well |
30
+ | Surface 2 | `--surface-2` | `#e0e0e0` | |
31
+ | Foreground | `--fg` | `#161616` | ink |
32
+ | Muted | `--fg-muted` | `#525252` | |
33
+ | Subtle | `--fg-subtle` | `#8c8c8c` | |
34
+ | Inverse bg | `--bg-inverse` | `#161616` | |
35
+ | Inverse fg | `--fg-inverse` | `#ffffff` | |
36
+ | Accent | `--accent` | `#0f62fe` | IBM Blue 60 |
37
+ | Accent hover | `--accent-hover` | `#0050e6` | |
38
+ | Accent deep | `--accent-deep` | `#002d9c` | |
39
+ | Border | `--border` | `#e0e0e0` | |
40
+ | Border strong | `--border-strong` | `#161616` | |
41
+ | Success | `--success` | `#24a148` | |
42
+ | Warning | `--warning` | `#f1c21b` | |
43
+ | Danger | `--danger` | `#da1e28` | |
44
+
45
+ ## 3. Typography Rules
46
+
47
+ IBM Plex Sans: display at weight 300 (the brand signature), body 400, emphasis
48
+ 600. In UIBot, set `className` with a Plex stack when available; otherwise a
49
+ light grotesque — not Inter-as-default-marketing.
50
+
51
+ | Role | Size | Weight | Line-height |
52
+ | --- | --- | --- | --- |
53
+ | Display | `2.625rem` | `300` | `1.2` |
54
+ | Headline | `2rem` | `400` | `1.25` |
55
+ | Body | `1rem` | `400` | `1.5` |
56
+ | Caption | `0.75rem` | `400` | `1.33` |
57
+ | Button | `0.875rem` | `400` | `1.29` |
58
+
59
+ ## 4. Component Stylings
60
+
61
+ - Primary button: square-ish (`rounded-none` / `rounded-[2px]`), IBM Blue fill,
62
+ white label. Hover `#0050e6`.
63
+ - Cards: 1px `#e0e0e0`, zero shadow, 0–4px radius.
64
+ - Inputs: 1px strong border, square corners, clear focus ring in Blue.
65
+
66
+ ```yaml
67
+ - type: PageLayout
68
+ props: { title: Catalog, variant: sidebar }
69
+ children:
70
+ - type: Heading
71
+ props: { level: 1, text: "Resource catalog", className: "font-light tracking-tight" }
72
+ - type: Table
73
+ props: { striped: false, emptyText: No resources in this space. }
74
+ - type: Button
75
+ props: { text: "Create resource", className: "rounded-none bg-[#0f62fe] text-white" }
76
+ ```
77
+
78
+ ## 5. Layout Principles
79
+
80
+ - Section bands alternate `#ffffff` / `#f4f4f4`.
81
+ - Spacing 4 / 8 / 16 / 24 / 32 / 48. Content max ~ `99rem` for enterprise, but
82
+ UIBot pages should stay readable (`max-w-6xl` for app chrome).
83
+ - Radius: `0` / `2px` / `4px` only.
84
+
85
+ ## 6. Depth & Elevation
86
+
87
+ None on cards. Inverse header (`#161616`) is the only dramatic surface.
88
+ Focus is a 2px Blue outline.
89
+
90
+ ## 7. Do's and Don'ts
91
+
92
+ - Do: one blue, square corners, Plex-light display, honest empty states.
93
+ - Do: pair with `control-console` recipes for tables and KPIs.
94
+ - Don't: rounded-xl marketing cards, purple gradients, drop shadows, fake
95
+ "trusted by 4,821 enterprises" metrics.
96
+ - Don't: unscoped element CSS to force Carbon; scope tokens on the root `Box`.
97
+
98
+ ## 8. Responsive Behavior
99
+
100
+ 375: stack sider offcanvas, full-width blue CTA, table as cards or scroll.
101
+ 768: compact header + filters. 1440: sider + data table. Touch ≥ 44px.
102
+
103
+ Quick tokens: `--bg: #ffffff` `--fg: #161616` `--accent: #0f62fe` `--danger: #da1e28`
104
+
105
+ ## 9. Agent Prompt Guide
106
+
107
+ Use for enterprise admin, Carbon-like SaaS chrome, documentation hubs.
108
+ Quick colors: `#ffffff` `#161616` `#0f62fe` `#da1e28`. If the user wants a
109
+ dark ops wall, prefer `control-console` + zinc tokens instead of inverting Blue.
@@ -0,0 +1,175 @@
1
+ ---
2
+ id: linear-design
3
+ title: Linear Design System
4
+ category: brand
5
+ tags: [dark-first, minimal, product, tight-tracking, indigo, low-elevation, 暗色, 深色, 极简, 产品]
6
+ layer: auto
7
+ ---
8
+
9
+ ## 1. Visual Theme & Atmosphere
10
+
11
+ Linear feels like a precision instrument: dark, quiet, and fast. The canvas is
12
+ near-black, surfaces are barely lifted off it, and a single cool indigo carries
13
+ all the energy. Nothing decorative competes for attention — type is tightly
14
+ tracked, borders are hairlines, motion is short and snappy. The mood is
15
+ focused, engineered, calm under load. Build for keyboard-first power users who
16
+ value density without clutter; every pixel should feel intentional and every
17
+ interaction should feel instant.
18
+
19
+ ## 2. Color Palette & Roles
20
+
21
+ | Role | Token | Value | Notes |
22
+ | --- | --- | --- | --- |
23
+ | Background | `--bg` | `#08090a` | app canvas, near-black |
24
+ | Surface | `--surface` | `#0f1011` | cards, panels |
25
+ | Surface raised | `--surface-2` | `#16171a` | popovers, menus |
26
+ | Foreground | `--fg` | `#f7f8f8` | primary text |
27
+ | Muted foreground | `--fg-muted` | `#8a8f98` | secondary text, labels |
28
+ | Subtle foreground | `--fg-subtle` | `#62666d` | timestamps, hints |
29
+ | Accent | `--accent` | `#5e6ad2` | primary action, focus |
30
+ | Accent hover | `--accent-hover` | `#6e79e0` | hover state |
31
+ | Accent foreground | `--accent-fg` | `#ffffff` | text on accent |
32
+ | Border | `--border` | `#23252a` | hairlines, dividers |
33
+ | Border strong | `--border-strong` | `#34373d` | input borders |
34
+ | Success | `--success` | `#4cb782` | done, healthy |
35
+ | Warning | `--warning` | `#f2c94c` | attention |
36
+ | Danger | `--danger` | `#eb5757` | destructive, blocked |
37
+
38
+ ## 3. Typography Rules
39
+
40
+ - **Sans:** `"Inter", "Inter var", system-ui, -apple-system, sans-serif`
41
+ - **Mono:** `"Berkeley Mono", "SF Mono", ui-monospace, monospace`
42
+
43
+ Inter is used as a variable font; favor fractional weights for optical balance.
44
+ Tracking is consistently negative at display sizes and neutral at body.
45
+
46
+ | Role | Size | Weight | Line-height | Tracking |
47
+ | --- | --- | --- | --- | --- |
48
+ | Display | `2.5rem` | `560` | `1.05` | `-0.03em` |
49
+ | H1 | `1.75rem` | `538` | `1.1` | `-0.022em` |
50
+ | H2 | `1.3125rem` | `538` | `1.2` | `-0.018em` |
51
+ | H3 | `1.0625rem` | `510` | `1.3` | `-0.012em` |
52
+ | Body | `0.9375rem` | `400` | `1.5` | `-0.006em` |
53
+ | Label | `0.8125rem` | `510` | `1.4` | `-0.004em` |
54
+ | Caption | `0.75rem` | `400` | `1.4` | `0` |
55
+ | Code | `0.8125rem` | `400` | `1.5` | `0` |
56
+
57
+ ## 4. Component Stylings
58
+
59
+ ### Buttons
60
+
61
+ - **Primary:** bg `#5e6ad2`, text `#ffffff`, radius `0.5rem`, padding
62
+ `0.4375rem 0.75rem`, weight `510`, font-size `0.8125rem`. Hover bg
63
+ `#6e79e0`. Active scale `0.98`. Focus ring `0 0 0 2px rgba(94,106,210,0.4)`.
64
+ - **Secondary:** bg `#16171a`, text `#f7f8f8`, border `1px solid #23252a`.
65
+ Hover bg `#1c1d21`.
66
+ - **Ghost:** transparent bg, text `#8a8f98`. Hover bg `rgba(255,255,255,0.04)`,
67
+ text `#f7f8f8`.
68
+ - **Disabled:** opacity `0.45`, no hover, `cursor: not-allowed`.
69
+
70
+ ### Cards
71
+
72
+ - bg `#0f1011`, border `1px solid #23252a`, radius `0.75rem`, padding `1rem`.
73
+ - No drop shadow at rest (level 1 only on hover for interactive cards).
74
+
75
+ ### Inputs
76
+
77
+ - bg `#0f1011`, border `1px solid #34373d`, radius `0.5rem`, height `2rem`,
78
+ padding `0 0.625rem`, text `#f7f8f8`, placeholder `#62666d`.
79
+ - Focus: border `#5e6ad2`, ring `0 0 0 2px rgba(94,106,210,0.3)`.
80
+
81
+ ### Badges
82
+
83
+ - Pill, radius `9999px`, font-size `0.75rem`, weight `510`, padding
84
+ `0.125rem 0.5rem`. Tinted: bg `rgba(94,106,210,0.14)`, text `#a3abef`.
85
+
86
+ ### Navigation
87
+
88
+ - Left sidebar, bg `#0c0d0e`, width `13.5rem`. Item height `1.875rem`, radius
89
+ `0.375rem`, text `#8a8f98`. Active: bg `rgba(255,255,255,0.06)`, text
90
+ `#f7f8f8`. Hover: bg `rgba(255,255,255,0.04)`.
91
+
92
+ ## 5. Layout Principles
93
+
94
+ - **Spacing scale:** `0.25rem · 0.5rem · 0.75rem · 1rem · 1.5rem · 2rem · 3rem`.
95
+ - **Container max-width:** `64rem` for content; full-bleed app shell.
96
+ - **Grid:** 12-column, gutter `1rem`; dense list rows ~`2.25rem` tall.
97
+ - **Whitespace:** tight but breathing — section gaps `1.5rem`, never crowd
98
+ controls.
99
+ - **Radius scale:** `sm 0.375rem · md 0.5rem · lg 0.75rem · xl 1rem · full 9999px`.
100
+
101
+ ## 6. Depth & Elevation
102
+
103
+ Elevation is deliberately restrained — depth comes from borders and subtle
104
+ background steps, not heavy shadows.
105
+
106
+ | Level | Use | Shadow |
107
+ | --- | --- | --- |
108
+ | 0 | flat surfaces | `none` |
109
+ | 1 | hovered card | `0 1px 2px rgba(0,0,0,0.3)` |
110
+ | 2 | dropdown, popover | `0 4px 16px rgba(0,0,0,0.4)` |
111
+ | 3 | modal, command menu | `0 16px 48px rgba(0,0,0,0.55)` |
112
+
113
+ ## 7. Do's and Don'ts
114
+
115
+ **Do**
116
+
117
+ - Keep the canvas near-black and lift surfaces only one or two steps.
118
+ - Use indigo `#5e6ad2` sparingly as the single source of color energy.
119
+ - Apply negative tracking to headings; keep body close to neutral.
120
+ - Prefer hairline borders and subtle background steps over shadows.
121
+ - Keep motion under 150ms and use ease-out.
122
+
123
+ **Don't**
124
+
125
+ - Don't introduce a second saturated accent color.
126
+ - Don't use pure black `#000000` or pure white `#ffffff` for large fills.
127
+ - Don't add large drop shadows or glows on resting surfaces.
128
+ - Don't loosen letter-spacing or use rounded, friendly type.
129
+ - Don't pad controls generously — density is the point.
130
+
131
+ ## 8. Responsive Behavior
132
+
133
+ | Breakpoint | Min width | Behavior |
134
+ | --- | --- | --- |
135
+ | `sm` | `640px` | sidebar collapses to icon rail or drawer |
136
+ | `md` | `768px` | two-pane (list + detail) |
137
+ | `lg` | `1024px` | full three-region shell (nav + list + detail) |
138
+ | `xl` | `1280px` | wider detail pane, persistent peek panel |
139
+
140
+ - **Touch targets:** minimum `36px` height for rows, `44px` for primary
141
+ controls on touch.
142
+ - **Collapsing strategy:** detail pane stacks below list on `sm`; sidebar
143
+ becomes an overlay drawer; keep dense rows but increase tap height.
144
+
145
+ ## 9. Agent Prompt Guide
146
+
147
+ ### Quick Color Reference
148
+
149
+ - Accent: `#5e6ad2` (hover `#6e79e0`)
150
+ - Background: `#08090a` · Surface: `#0f1011` · Raised: `#16171a`
151
+ - Text: `#f7f8f8` · Muted: `#8a8f98` · Subtle: `#62666d`
152
+ - Border: `#23252a` (strong `#34373d`)
153
+ - Success `#4cb782` · Warning `#f2c94c` · Danger `#eb5757`
154
+
155
+ ### Example prompts (copy-paste)
156
+
157
+ 1. "Generate an issue-list row in the Linear system: near-black canvas
158
+ `#08090a`, `0.9375rem` Inter at weight 400 with `-0.006em` tracking, a
159
+ `9999px` status badge tinted `rgba(94,106,210,0.14)`/`#a3abef`, a `36px`
160
+ tall row with a `rgba(255,255,255,0.06)` hover, hairline `#23252a` divider."
161
+ 2. "Build a command-menu (cmd-k) modal: surface `#16171a`, radius `0.75rem`,
162
+ level-3 shadow `0 16px 48px rgba(0,0,0,0.55)`, search input with focus border
163
+ `#5e6ad2` and ring `rgba(94,106,210,0.3)`, results in muted `#8a8f98` with
164
+ the active item highlighted on a `rgba(255,255,255,0.06)` background."
165
+ 3. "Create a primary + secondary button pair: primary bg `#5e6ad2` / text white
166
+ / radius `0.5rem` / weight `510` / `0.4375rem 0.75rem` padding / active scale
167
+ `0.98`; secondary bg `#16171a` with a `1px #23252a` border. Both `0.8125rem`."
168
+
169
+ ### Iteration guide
170
+
171
+ 1. Start dark: lock background `#08090a` and one surface step `#0f1011`.
172
+ 2. Add exactly one accent (`#5e6ad2`); resist a second hue.
173
+ 3. Tighten type — apply negative tracking and Inter fractional weights.
174
+ 4. Replace any shadows on resting elements with hairline borders.
175
+ 5. Compress spacing toward the dense end of the scale; verify rows ≤ `36px`.
@@ -0,0 +1,175 @@
1
+ ---
2
+ id: notion-design
3
+ title: Notion Design System
4
+ category: brand
5
+ tags: [light-first, warm-neutral, serif-accents, soft, content-first, calm, 笔记, 文档, 内容, 温暖, 柔和]
6
+ layer: auto
7
+ ---
8
+
9
+ ## 1. Visual Theme & Atmosphere
10
+
11
+ Notion feels like a calm, well-lit page — paper-like, warm, and unhurried. The
12
+ background is an off-white that's easy on the eyes, ink is a soft near-black, and
13
+ color appears only as gentle highlight tints. Serif type adds an editorial,
14
+ documentary warmth at headings while a humanist sans keeps the body friendly.
15
+ Chrome recedes; content leads. Borders are barely-there, radii are soft, and
16
+ interaction states are quiet. Build interfaces that feel like a thoughtfully
17
+ typeset notebook: approachable, flexible, and content-first.
18
+
19
+ ## 2. Color Palette & Roles
20
+
21
+ | Role | Token | Value | Notes |
22
+ | --- | --- | --- | --- |
23
+ | Background | `--bg` | `#ffffff` | page |
24
+ | Background warm | `--bg-warm` | `#f7f6f3` | sidebar, soft panels |
25
+ | Surface | `--surface` | `#ffffff` | cards, blocks |
26
+ | Foreground | `--fg` | `#37352f` | primary ink, warm near-black |
27
+ | Muted foreground | `--fg-muted` | `#787066` | secondary text |
28
+ | Subtle foreground | `--fg-subtle` | `#9b9588` | placeholders, meta |
29
+ | Accent | `--accent` | `#2383e2` | links, primary action (Notion blue) |
30
+ | Accent foreground | `--accent-fg` | `#ffffff` | text on accent |
31
+ | Border | `--border` | `#ebeae8` | hairlines |
32
+ | Highlight yellow | `--hl-yellow` | `#fbf3db` | text highlight |
33
+ | Highlight blue | `--hl-blue` | `#e7f3f8` | callout/highlight |
34
+ | Success | `--success` | `#448361` | done |
35
+ | Warning | `--warning` | `#cb912f` | caution |
36
+ | Danger | `--danger` | `#d44c47` | error, delete |
37
+
38
+ ## 3. Typography Rules
39
+
40
+ - **Serif (headings/accents):** `"Lyon", "Georgia", "Times New Roman", serif`
41
+ - **Sans (body/UI):** `"Inter", -apple-system, "Segoe UI", sans-serif`
42
+ - **Mono:** `"iA Writer Mono", "SF Mono", ui-monospace, monospace`
43
+
44
+ Headings may use the serif for editorial warmth; UI and body use the humanist
45
+ sans. Generous line-height keeps long documents comfortable.
46
+
47
+ | Role | Size | Weight | Line-height | Tracking | Family |
48
+ | --- | --- | --- | --- | --- | --- |
49
+ | Title | `2.5rem` | `700` | `1.2` | `-0.01em` | serif |
50
+ | H1 | `1.875rem` | `600` | `1.3` | `-0.005em` | serif |
51
+ | H2 | `1.5rem` | `600` | `1.3` | `0` | serif |
52
+ | H3 | `1.25rem` | `600` | `1.4` | `0` | sans |
53
+ | Body | `1rem` | `400` | `1.65` | `0` | sans |
54
+ | Small | `0.875rem` | `400` | `1.5` | `0` | sans |
55
+ | Caption | `0.75rem` | `400` | `1.4` | `0.01em` | sans |
56
+ | Code | `0.85rem` | `400` | `1.5` | `0` | mono |
57
+
58
+ ## 4. Component Stylings
59
+
60
+ ### Buttons
61
+
62
+ - **Primary:** bg `#2383e2`, text `#ffffff`, radius `0.375rem`, padding
63
+ `0.375rem 0.75rem`, weight `500`, font-size `0.875rem`. Hover bg `#1a73d1`.
64
+ Focus ring `0 0 0 2px rgba(35,131,226,0.3)`.
65
+ - **Subtle (default UI):** bg `transparent`, text `#37352f`. Hover bg
66
+ `rgba(55,53,47,0.06)`. This is the most common button in product chrome.
67
+ - **Disabled:** opacity `0.5`.
68
+
69
+ ### Cards / Blocks
70
+
71
+ - bg `#ffffff`, radius `0.5rem`, padding `1rem`, border `1px solid #ebeae8`.
72
+ - Callouts: tinted bg (`#f7f6f3` / `#e7f3f8`), radius `0.375rem`, padding
73
+ `1rem`, with a leading emoji/icon slot.
74
+
75
+ ### Inputs
76
+
77
+ - bg `#ffffff`, border `1px solid #ebeae8`, radius `0.375rem`, height `2.25rem`,
78
+ padding `0 0.625rem`, text `#37352f`, placeholder `#9b9588`.
79
+ - Focus: border `#2383e2`, ring `0 0 0 2px rgba(35,131,226,0.2)`.
80
+ - Inline editing: borderless until hover (bg `rgba(55,53,47,0.04)`).
81
+
82
+ ### Badges / Tags
83
+
84
+ - Pill, radius `0.25rem`, font-size `0.75rem`, weight `500`, padding
85
+ `0.0625rem 0.375rem`. Soft tints, e.g. bg `#fbf3db`, text `#7a5c1e`.
86
+
87
+ ### Navigation
88
+
89
+ - Left sidebar, bg `#f7f6f3`, width `15rem`. Item height `1.75rem`, radius
90
+ `0.375rem`, text `#787066`. Hover bg `rgba(55,53,47,0.06)`. Active bg
91
+ `rgba(55,53,47,0.08)`, text `#37352f`.
92
+
93
+ ## 5. Layout Principles
94
+
95
+ - **Spacing scale:** `0.25rem · 0.5rem · 0.75rem · 1rem · 1.5rem · 2rem · 3rem`.
96
+ - **Container max-width:** `45rem` for reading documents; full-width app shell.
97
+ - **Grid:** content is single-column and centered; optional 2–3 column block
98
+ galleries with `0.75rem` gaps.
99
+ - **Whitespace:** soft and even; comfortable reading measure (~70ch).
100
+ - **Radius scale:** `sm 0.25rem · md 0.375rem · lg 0.5rem · xl 0.75rem`.
101
+
102
+ ## 6. Depth & Elevation
103
+
104
+ Depth is minimal and warm — content sits on the page, popovers lift gently.
105
+
106
+ | Level | Use | Shadow |
107
+ | --- | --- | --- |
108
+ | 0 | inline content | `none` |
109
+ | 1 | hovered block | `0 1px 2px rgba(15,15,15,0.08)` |
110
+ | 2 | popover, menu | `0 3px 12px rgba(15,15,15,0.12)` |
111
+ | 3 | modal, page peek | `0 12px 36px rgba(15,15,15,0.16)` |
112
+
113
+ ## 7. Do's and Don'ts
114
+
115
+ **Do**
116
+
117
+ - Use warm neutrals (`#ffffff` / `#f7f6f3`) and warm ink `#37352f`.
118
+ - Let content lead; keep chrome quiet and borders barely-there.
119
+ - Reach for serif at titles/headings for editorial warmth.
120
+ - Use soft tint highlights (`#fbf3db`, `#e7f3f8`) for callouts and tags.
121
+ - Keep generous line-height (`1.65`) for readable documents.
122
+
123
+ **Don't**
124
+
125
+ - Don't use cold pure-gray neutrals or stark pure black `#000000`.
126
+ - Don't over-border or box every element; prefer hover-revealed affordances.
127
+ - Don't use heavy shadows or saturated fills on content blocks.
128
+ - Don't crowd the reading measure beyond ~75 characters.
129
+ - Don't let UI chrome compete visually with the content.
130
+
131
+ ## 8. Responsive Behavior
132
+
133
+ | Breakpoint | Min width | Behavior |
134
+ | --- | --- | --- |
135
+ | `sm` | `640px` | sidebar collapses to drawer; single-column doc |
136
+ | `md` | `768px` | persistent sidebar peek; doc centered |
137
+ | `lg` | `1024px` | full sidebar + centered `45rem` reading column |
138
+ | `xl` | `1280px` | wider gallery grids, comments panel |
139
+
140
+ - **Touch targets:** minimum `36px` for list rows, `44px` for primary controls.
141
+ - **Collapsing strategy:** sidebar becomes an overlay drawer below `md`; block
142
+ galleries stack to one column; keep the reading measure centered and calm.
143
+
144
+ ## 9. Agent Prompt Guide
145
+
146
+ ### Quick Color Reference
147
+
148
+ - Accent (Notion blue): `#2383e2`
149
+ - Background: `#ffffff` · Warm panel: `#f7f6f3`
150
+ - Ink: `#37352f` · Muted: `#787066` · Subtle: `#9b9588`
151
+ - Border: `#ebeae8`
152
+ - Highlights: yellow `#fbf3db` · blue `#e7f3f8`
153
+ - Success `#448361` · Warning `#cb912f` · Danger `#d44c47`
154
+
155
+ ### Example prompts (copy-paste)
156
+
157
+ 1. "Generate a document page in the Notion system: warm `#ffffff` canvas, a
158
+ serif title at `2.5rem`/700, body in Inter `1rem`/`1.65` line-height in warm
159
+ ink `#37352f`, centered to a `45rem` reading column with a calm, chrome-light
160
+ feel."
161
+ 2. "Build a callout block: tinted bg `#e7f3f8`, radius `0.375rem`, `1rem`
162
+ padding, a leading emoji slot, body text `#37352f`, no hard border. Keep it
163
+ soft and editorial."
164
+ 3. "Create a left sidebar nav: `#f7f6f3` panel, `15rem` wide, rows `1.75rem`
165
+ tall with `0.375rem` radius, text `#787066`, hover `rgba(55,53,47,0.06)`,
166
+ active `rgba(55,53,47,0.08)` with ink `#37352f`."
167
+
168
+ ### Iteration guide
169
+
170
+ 1. Warm the neutrals: replace cold grays with `#ffffff`/`#f7f6f3` and ink
171
+ `#37352f`.
172
+ 2. Promote content: shrink and quiet the chrome, reveal affordances on hover.
173
+ 3. Add serif at titles/headings for editorial character.
174
+ 4. Apply soft tint highlights for callouts/tags instead of saturated fills.
175
+ 5. Loosen line-height to `1.65` and constrain the reading measure.
@@ -0,0 +1,106 @@
1
+ ---
2
+ id: raycast-design
3
+ name: Raycast Design System
4
+ title: Raycast Design System
5
+ category: brand
6
+ tags: [dark-first, command-palette, dense, developer-tools, monochrome, product, 命令面板, 效率, 开发者, 暗色, 深色, 单色]
7
+ origin: github:VoltAgent/awesome-design-md
8
+ sourceUrl: https://github.com/VoltAgent/awesome-design-md/blob/main/design-md/raycast/DESIGN.md
9
+ version: "1.0.0"
10
+ layer: auto
11
+ ---
12
+
13
+ Adapted from the public VoltAgent awesome-design-md Raycast analysis (MIT).
14
+ Tokens below are the publicly documented marketing/product chrome from that
15
+ file, rewritten as a UIBot 9-section seed with Spec recipes. Not a verbatim
16
+ copy of the upstream DESIGN.md.
17
+
18
+ ## 1. Visual Theme & Atmosphere
19
+
20
+ Raycast reads as an extended product screenshot: near-black canvas, command
21
+ palette chrome at marketing scale, hairline borders, and rare saturated
22
+ category accents. The page never leaves dark mode. Energy comes from a red
23
+ diagonal hero stripe and real UI captures, not from purple SaaS gradients.
24
+
25
+ ## 2. Color Palette & Roles
26
+
27
+ | Role | Token | Value | Notes |
28
+ | --- | --- | --- | --- |
29
+ | Background | `--bg` | `#07080a` | inky canvas |
30
+ | Surface | `--surface` | `#0d0d0d` | panels |
31
+ | Surface raised | `--surface-2` | `#101111` | elevated chrome |
32
+ | Card | `--surface-card` | `#121212` | palette rows |
33
+ | Foreground | `--fg` | `#f4f4f6` | ink |
34
+ | Body | `--fg-body` | `#cdcdcd` | secondary |
35
+ | Muted | `--fg-muted` | `#9c9c9d` | meta |
36
+ | Border | `--border` | `#242728` | 1px hairline |
37
+ | CTA | `--cta` | `#ffffff` | white pill on dark |
38
+ | CTA ink | `--cta-fg` | `#000000` | |
39
+ | Accent red | `--accent-red` | `#ff6161` | hero stripe / danger |
40
+ | Accent yellow | `--accent-yellow` | `#ffc533` | category |
41
+ | Accent green | `--accent-green` | `#59d499` | category |
42
+ | Accent blue | `--accent-blue` | `#57c1ff` | category |
43
+
44
+ ## 3. Typography Rules
45
+
46
+ Upstream marketing uses Inter with `ss03`. For UIBot, prefer a quiet grotesque
47
+ already in the runtime (or Geist) rather than inventing a new webfont. Keep
48
+ the **product** scale tight:
49
+
50
+ | Role | Size | Weight | Line-height |
51
+ | --- | --- | --- | --- |
52
+ | Display | `3.5rem` | `600` | `1.1` |
53
+ | H1 | `1.5rem` | `500` | `1.2` |
54
+ | Body | `1rem` | `400` | `1.6` |
55
+ | Meta | `0.875rem` | `500` | `1.4` |
56
+
57
+ ## 4. Component Stylings
58
+
59
+ - Primary CTA: white pill (`rounded-full`), black label. One per hero.
60
+ - Cards: 6–10px radius, 1px `#242728`, no heavy shadow.
61
+ - Command-row recipe: icon slot + title + shortcut kbd on the right.
62
+ - Category color is for tiles/illustrations, not for every badge.
63
+
64
+ ```yaml
65
+ - type: Box
66
+ props:
67
+ className: "rounded-[10px] border border-[#242728] bg-[#121212] px-3 py-2 flex items-center gap-3"
68
+ children:
69
+ - type: Paragraph
70
+ props: { text: "Switch Window" }
71
+ - type: Badge
72
+ props: { text: "⌘ Tab" }
73
+ ```
74
+
75
+ ## 5. Layout Principles
76
+
77
+ - Continuous dark canvas. Section rhythm ~ `6rem` on marketing; `0.5–0.75rem`
78
+ inside a palette.
79
+ - Max content ~ `72rem`. Hero can full-bleed the red stripe.
80
+ - Radius scale: `6px` / `10px` / pill.
81
+
82
+ ## 6. Depth & Elevation
83
+
84
+ Almost flat. Surfaces step `#07080a → #0d0d0d → #121212`. No drop-shadow
85
+ ladders. Focus is a 1px light hairline or accent ring.
86
+
87
+ ## 7. Do's and Don'ts
88
+
89
+ - Do: command-palette density, keyboard hints, monochrome chrome.
90
+ - Do: one white pill CTA; saturate only category art.
91
+ - Don't: light-mode marketing, purple gradient hero, Inter-as-personality
92
+ without the dark palette around it.
93
+ - Don't: fake extension counts or store ratings.
94
+
95
+ ## 8. Responsive Behavior
96
+
97
+ 375: stack hero, hide shortcut kbd or wrap. 768: two-column feature tiles.
98
+ 1440: palette mock + copy rail. Touch targets ≥ 44px outside the dense list.
99
+
100
+ Quick tokens: `--bg: #07080a` `--surface-card: #121212` `--cta: #ffffff` `--accent-red: #ff6161`
101
+
102
+ ## 9. Agent Prompt Guide
103
+
104
+ Use for launcher / command palette / dark developer-tool chrome. Quick colors:
105
+ `#07080a` `#121212` `#ffffff` `#ff6161`. Prefer `Box` + `Badge` + `Input` over
106
+ custom CSS. If the brief is a bright landing page, pick another brand.