§
Theorem Docs
v2.4
Search theorems…
⌘K
260 / 760 / 260 · FLAT 1PX
§ 02 · Technical Documentation System
Theorem
Docs
Three-column technical clarity · burnt-orange bookmark
VERIFIED PROOFS
1,284
+12.4% vs Sep
§ 02 · Core Theorems
12
§ 03 · API Ledger
99.4%
Publish spec
Verified
Theorem Docs Pro Theorem Docs is a UI guide written for AI. Hand it to Claude Code, Cursor, or another AI coding tool, and the pages it builds look like this.
Best for: developer docs, API references, knowledge bases
Sign in to unlock Copy the prompt Click "Copy prompt". It copies an English prompt — no need to read it. Paste into your AI coding tool Works in Claude Code, Cursor, or Codex. It downloads this guide on its own. Say what you want to build For example, "build an SDK documentation portal". Every page follows these rules. Requires an AI coding tool that can run commands. The download link in the prompt works for 24 hours; come back here to copy a fresh one.
Examples Web app Single HTML Slides Video App Poster
Spec ledger Proof assistant Doc settings
LF Lena Fischer lena@theorem.dev
§ 02 · Operations
Orders Ledger
All Paid Pending Refunded
8 / 1,284
Order Customer Status Amount Channel Date
§ 10482 LF Lena FischerPaid $129.00 Stripe Nov 27
§ 10481 KW Ken WatanabePending $79.00 Dodo Nov 27
§ 10480 AS Ana SouzaPaid $9.99 Stripe Nov 26
§ 10479 OH Omar HaddadRefunded $516.00 WeChat Pay Nov 26
§ 10478 ML Mia LaurentPaid $79.00 Dodo Nov 25
§ 10477 JB Jonas BergPaid $249.00 Stripe Nov 25
§ 10476 PN Priya NairPending $39.00 Stripe Nov 24
§ 10475 LR Leo RossiPaid $129.00 Dodo Nov 24
Customer Ana Souza
Email ana@theorem.dev
Product Theorem Docs · Pro
Channel Stripe · Visa 4242
Downloaded Not yet
TIMELINE
Receipt sent
Nov 26 · 09:13
Auto refund window
Dec 3 · 09:13
Resend Refund
Order list
LF Lena Fischer lena@theorem.dev
§ 03 · Roadmap
v2.4 Spec Board
Backlog 3
BibTeX exporter
CLI Dec 12 JB
Multi-lang TOC
Docs Dec 15 PN
CSV ledger v2
Data Dec 18 LR
In progress 3
Citation graph check
Core Dec 2 LF
Dark obsidian parity
Tokens Dec 4 KW
OpenAPI sandbox
API Dec 5 ML
Review 2
Zero-leftbar linter
QA Nov 29 AS
Webhook retries
API Nov 30 OH
Verified 3
Arvind 1440px grid
Layout Nov 18 LF
85 component audit
UI Nov 20 KW
WCAG AA contrast
Tokens Nov 22 PN
Project board§
Theorem Research · 体验复盘 2026 年 11 月 · § 03
§ 01 · 接入体验
研发团队接入设计系统的第一周,卡在旧样式隔离 我们跟访了 18 个首次迁移至 Theorem Docs 的前端团队。情绪最低点不在令牌安装,在旧全局 CSS 与新组件混用那一环。
周 周以宁 用户体验研究 · 2026-11-20 · 阅读 6 分钟
十月,我们请 18 个工程团队连续七天记录接入过程,每日给出 −3 到 +3 的体验分。
出现频次最高的词是「全局样式串味」:126 条记录里有 41 条发生在第三天迁移旧页时。
第四天跑通自动对比度与零左竖条巡检后,评分升至全周最高 +2.4。
§ RESEARCH COHORT
一周内上线11 完成校验4 迁移中3
图 1 首次接入七日旅程 (阶段 × 触点 × 情绪)
STAGE
01 发现
02 接入
03 迁移旧组件
04 首次验收
05 持续维护
ACTION
从开源 README 点进文档站首页
复制提示词并同步 tokens.css
替换旧按钮与表单,遇到自定义类名冲突
跑通 leftbar 与对比度自检脚本
每周新增业务页,需要统一范式参考
SCORE +3 0 −3
+1.2 +0.7 −2 +2.4 +0.4
最低点 · 样式冲突 32% 团队在旧样式覆盖处卡壳
最高点 · 零告警过检 18 组团队里 14 组当天合入主干
QUOTE
「三栏排版很干净,马上能找到安装项」
「两分钟就把浅深双套主题套进去了」
「旧页面的全局样式把表头挤偏了」
「全部 0 告警通过的那一刻很踏实」
「组件选型表比翻旧代码快太多」
来源:Theorem Docs 访谈 2026-10 · 斜线阴影区为负情绪区间
§ 02
改进清单 按影响排序
§ 改进项 具体做法 阶段 预期 状态
3 局域 CSS 隔离 默认提供 .vn-gx 作用域与 --vn-tw-* 变量前缀,零污染旧页 迁移组件 冲突 −90% 已上线
1 CLI 首屏命令 文档首页顶部放一键复制安装命令与依赖检测 发现 接入 −5m 已上线
4 过检徽章 门禁全绿后自动生成 README 规范认证标 首次验收 分享 ×2 开发中
样例数据 · Theorem Docs 研究报告版式 docs.theorem.dev/research/03
§
Theorem Research · 体验复盘 2026 年 11 月 · § 03
§ 01 · 接入体验
研发团队接入设计系统的第一周,卡在旧样式隔离 我们跟访了 18 个首次迁移至 Theorem Docs 的前端团队。情绪最低点不在令牌安装,在旧全局 CSS 与新组件混用那一环。
周 周以宁 用户体验研究 · 2026-11-20 · 阅读 6 分钟
十月,我们请 18 个工程团队连续七天记录接入过程,每日给出 −3 到 +3 的体验分。
出现频次最高的词是「全局样式串味」:126 条记录里有 41 条发生在第三天迁移旧页时。
第四天跑通自动对比度与零左竖条巡检后,评分升至全周最高 +2.4。
§ RESEARCH COHORT
一周内上线11 完成校验4 迁移中3
图 1 首次接入七日旅程 (阶段 × 触点 × 情绪)
STAGE
01 发现
02 接入
03 迁移旧组件
04 首次验收
05 持续维护
ACTION
从开源 README 点进文档站首页
复制提示词并同步 tokens.css
替换旧按钮与表单,遇到自定义类名冲突
跑通 leftbar 与对比度自检脚本
每周新增业务页,需要统一范式参考
SCORE +3 0 −3
+1.2 +0.7 −2 +2.4 +0.4
最低点 · 样式冲突 32% 团队在旧样式覆盖处卡壳
最高点 · 零告警过检 18 组团队里 14 组当天合入主干
QUOTE
「三栏排版很干净,马上能找到安装项」
「两分钟就把浅深双套主题套进去了」
「旧页面的全局样式把表头挤偏了」
「全部 0 告警通过的那一刻很踏实」
「组件选型表比翻旧代码快太多」
来源:Theorem Docs 访谈 2026-10 · 斜线阴影区为负情绪区间
§ 02
改进清单 按影响排序
§ 改进项 具体做法 阶段 预期 状态
3 局域 CSS 隔离 默认提供 .vn-gx 作用域与 --vn-tw-* 变量前缀,零污染旧页 迁移组件 冲突 −90% 已上线
1 CLI 首屏命令 文档首页顶部放一键复制安装命令与依赖检测 发现 接入 −5m 已上线
4 过检徽章 门禁全绿后自动生成 README 规范认证标 首次验收 分享 ×2 开发中
样例数据 · Theorem Docs 研究报告版式 docs.theorem.dev/research/03
Journey review§
Theorem Docs · 产品规划 2026-11-24 · v2.4 · 内部
§ 规划 · 2027
2027 年路线图:六条轨道,十八项规格,先交付六项 中心为年度目标,中层为六大能力域,外层标注优先级与交付季度。焦橙方标为 Q1 必达 P0。
陈 陈屿 产品负责人 · 评审:Lena Fischer、Ana Souza
图 1 Theorem 2027 规划脑图 (18 项)
浅深双套校验
Q1
WCAG 门禁
Q1
主题导出 CLI
Q3 01 令牌引擎
OpenAPI 同步
Q1
Webhook 日志
Q2
SDK 模板
Q3 02 开放平台
模板市场
Q2
基准对比
Q2
贡献者计划
Q4 03 生态增长
⌘K 极速索引
Q1
多语言同步
Q2
离线 PDF
Q3 04 三栏阅读
引用溯源
Q1
推理节点轨
Q2
代码直跑
Q4 05 AI 助手
断链巡检
Q2
热区分析
Q3
BI 导出
Q4 06 遥测台账 Theorem 2027 6 TRACKS · 18 SPECS
来源:2026 年 11 月规划评审,访谈 42 个研发团队
§ 02
核心 P0 按 RICE 排序 得分 = 触达 × 影响 × 信心 ÷ 投入
§ 事项 轨道 触达 影响 信心 人周 得分
1 ⌘K 极速索引 三栏阅读 4,200 3 90% 4 1,680
2 浅深双套校验 令牌引擎 5,200 2 90% 3 1,560
3 OpenAPI 同步 开放平台 3,600 2 80% 4 1,440
4 引用溯源 AI 助手 2,400 3 85% 4 1,215
样例数据 · Theorem Docs 规划文档版式 docs.theorem.dev/plan-2027
Product plan
§
Theorem Docs / RFC / 042 查看源码 评论 · 14
ON THIS PAGE
01 背景
02 目标与非目标
03 发布流水线
04 规则配置
05 风险与回滚
06 上线计划
§ RFC-042 · Specification Gate
文档发布前自动门禁校验
在 CI 阶段自动核对令牌对比度、锚点完整性与零左竖条规则,通过后 2 秒内发布到全球边缘节点。
状态 评审中 作者 林 林小舟
关联 PR #1182 · #1190 更新 2026-11-21
§ 01
发布流水线 五条泳道
作者 Theorem CLI CI 门禁 对比引擎 CDN
push
parse
0 hits
publish
2s edge
提交 MDX 1 解析锚点 2 构建快照 3 令牌核对 4
校验通过?
生成静态包 6 全球分发 7 通知上线 8
§ 02
规则配置 rules/spec_gate.yaml
rules/spec_gate.yaml YAML
1 rule : theorem_spec_gate
2 checks :
3 contrast_min : 4.5 # WCAG AA
4 leftbar_hits : 0 # 零左竖条
5 inline_shadow : none
6 on_pass :
7 publish : docs.theorem.dev
样例数据 · Theorem Docs 技术方案版式 docs.theorem.dev/rfcs/042
Tech RFC§
Theorem Cloud · 投资人月报 2026 年 11 月 · § 14
§ 月报 · 11 月
11 月流水 $482k,净收入首次覆盖月度开支 GitHub 开源文档引导来的团队持续转化,Team 套餐占一半流水。净收入 $24.1k,月支出 $21.7k。
陈 陈屿 创始人 · 2026-12-02
各位好。十一月最关键的变化是盈亏平衡:净收入 $24.1k,比月开支多出 $2.4k。
GitHub 渠道十月贡献 $48k,十一月升至 $121k,全部来自研发团队自发挂出的规范徽章。
图 1 11 月每一美元流向 (渠道 → 套餐 → 去向,千美元)
自然搜索 $186k
GitHub $121k
技术社区 $74k
直接访问 $63k
合作伙伴 $38k
Starter $96k
Team $238k
Scale $148k
生态分成 $431.8k
算力费 $17.4k
退款 $8.7k
Theorem 净收入 $24.1k
焦橙路径为 Theorem Cloud 净收入流向 · 来源:财务后台 2026-11-30
样例数据 · Theorem Docs 投资人月报版式 theorem.dev/investor/2026-11
Investor update§
Theorem Research · 竞品分析 2026 Q4 · § 02
§ 竞品 · 文档平台
四个象限,只剩一个空位 五家竞品按配置门槛与规格深度展开:好上手且支持完整设计令牌校验的左上象限依然空缺。
周 周以宁 市场研究 · 2026-11-28
图 1 文档平台定位矩阵 (2026 Q4)
配置门槛 高 → 低
好上手 · 规格深 ReadStack DocGrid SpecHub WikiLite NoteBox
Theorem 现在
Theorem 2027
01 右上太重 两家老牌平台功能全,但搭建周期动辄两周,自定义主题门槛高。
02 左下太浅 轻文档工具缺少令牌校验、组件沙箱与深色一致度保障。
03 左上空白 Theorem Docs 把三栏阅读与 85 组件门禁打通,10 分钟即可上线。
§ 02
逐项对比
能力 Theorem Docs ReadStack DocGrid WikiLite
首站上线 10 分钟 14 天 2 天 5 分钟
样例数据 · Theorem Docs 竞品分析版式 docs.theorem.dev/research/q4-02
Competitive map
§
Theorem Cloud v2.4
战略会内部 · 规格 2027.01.08Berlin / Remote 第 01 版共 05 页 § 01 / 05
§ 00 · DOCUMENTATION PLATFORM STRATEGY
2027
STRATEGIC SPEC
从静态文档站, 到研发团队的活规格平台
三件事:把引用校验与 API 台账做进来,开团队版,开放 OpenAPI。
2027
文档平台
2024 · 文档引擎
三栏静态站
2026 · 规格校验
引用图谱与 API
3,860
付费研发团队
§
Theorem Cloud v2.4
战略会内部 · 规格 2027.01.08Berlin / Remote 第 01 版共 05 页 § 01 / 05
§ 00 · DOCUMENTATION PLATFORM STRATEGY
2027
STRATEGIC SPEC
从静态文档站, 到研发团队的活规格平台
三件事:把引用校验与 API 台账做进来,开团队版,开放 OpenAPI。
2027
文档平台
2024 · 文档引擎
三栏静态站
2026 · 规格校验
引用图谱与 API
3,860
付费研发团队
1 · Cover
MARKET
§ 02 市场测算
能吃到的盘子是 2.4 亿美元 TAM · SAM · SOM
从全部技术文档工具支出,收窄到三年内够得着的开发者平台 LF Lena Fischer · Spec Strategy
TAM $18.4B
SAM $3.1B
SOM $240M
同心圆示意,不按金额比例
§ TAM · 全部 全球研发团队的文档、API 门户与知识库支出
$18.4B
620 万团队 × $2,970 / 年 行业基准报告,2026
§ SAM · 可服务 中大型 SDK 与开源商业团队(50–500 人)
$3.1B
86 万团队 × $3,600 / 年 按多语言与 API 需求筛选
§ SOM · 三年能拿 先从 AI 研发工具与 API 优先团队切入
$240M
SAM × 7.7% 份额 2026 收入 $6.8M,占 SOM 2.8%
来源:Developer Tools Report 2026 · Theorem Cloud 后台测算 Theorem Cloud · 2027 § 02 / 05
2 · Market size
MATRIX
§ 03 格局分析
右上角还空着,2027 要走过去 定位矩阵
横轴看多语言与 API 覆盖,纵轴看规格校验深度 LF Lena Fischer · Spec Strategy
多语言与 API 覆盖 → 少
规格深度:静态页 → 活文档系统 →
垂直手册 活文档平台 单页工具 托管通道
ReadStack DocGrid SpecHub ProofBox WikiLite ApiDeck
2027
Theorem 2026
AI 校验 + OpenAPI
三个判断 圆面积 = 托管页面数
01 托管很宽,但只做静态页 ReadStack 与 DocGrid 托管稳定,但引用校验和 API 沙箱都留给团队自己拼。
02 校验很深,但部署太重 ProofBox 能力全,只支持英文单库,跨语言研发团队半途就会换掉。
03 我们要补的是多语 + OpenAPI 把实时校验接入三栏阅读系统,Theorem Cloud 落到右上角没有正面对手。
1M 5M 20M Theorem
来源:各平台公开文档与 2026 年度基准抽样 Theorem Cloud · 2027 § 03 / 05
3 · Positioning
FLYWHEEL
§ 04 增长模型
先把索引延迟压下去,飞轮自己会转 增长飞轮
五个节点首尾相接,每一环的输出是下一环的输入 LF Lena Fischer · Spec Strategy
§ 01
校验提速
18ms / 页
§ 02
团队迁入
+410 / 月
§ 03
索引规模
3.4M 节点
§ 04
引用零错
断链 0.02%
§ 05
开源推荐
44% 来自推荐
闭环周期
47 天
2025 年为 63 天
§ 先推 01:把全站索引压到 18ms 实测飞轮周期能快 9 天。边缘缓存成本增 1.8%,靠团队版转化在第三季度补回。
来源:Theorem Cloud 遥测 2026 年 7–12 月中位数 Theorem Cloud · 2027 § 04 / 05
4 · Growth flywheel
ROADMAP
§ 05 实施路线
2027 分三步走 路线图
先打地基,再做团队平台,最后把校验引擎开放给生态 LF Lena Fischer · Spec Strategy
2027 三个里程碑
§ 01 打地基 1–6 月
§ 02 做平台 7–9 月
§ 03 开生态 10–12 月
1 月 2 月 3 月 4 月 5 月 6 月 7 月 8 月 9 月 10 月 11 月 12 月
v2.4 发布 3/31 团队版公测 7/15 开放 API 10/31
文档引擎 三栏 260/760 栅格
多语索引同步
团队评审权限
OpenAPI 实时台账
来源:Theorem Cloud 产品规划 2027 v2.4 Theorem Cloud · 2027 § 05 / 05
5 · RoadmapProduct launch Feature demo Kinetic type Customer quote Live orders
§
Theorem Docs v2.4 · 12 online
§ TODAY TELEMETRY 14:00 UTC
$2,418.60
+18.2% vs yesterday
订单 46 +9
转化率 3.1% +0.4
访客 1,482 +12%
待处理 6 项
1 · Home
今天 $1,284.50
LF Lena Fischer $129.00
Theorem Pro · 终身 · 14:02 待处理
KW Ken Watanabe $98.00
Team × 2 · 13:48 已付款
OH Omar Haddad $29.00
CLI Add-on · 12:31 退款中
AS Ana Souza $12.00
Spec Kit · 11:05 已付款
昨天 $2,049.00
ML Mia Laurent $129.00
Theorem Pro · 21:40 已完成
JB Jonas Berg $49.00
Team Seat · 19:12 已完成
2 · Orders
待处理 $129.00 Nov 27 · 14:02 · Stripe
商品 Theorem Docs Pro
小计 $129.00
手续费 −$4.04
实收 $124.96
LF Lena Fischer lena@theorem.dev
3 · Order detail
渠道分布 1,284 笔
Stripe58% Dodo24% WeChat12% 其他6%
4 · Analytics
§
Theorem Docs · Pro 已售 170 · 永久更新
−10% −20% −30% 自定
保存新价格
5 · Price sheet
§ Theorem Docs 规格笔记 第 07 期 2026.11 v2.4 Spec 08 09 10 三个月
§ 01 · VERIFIED GROWTH Q3–Q4 BENCHMARK
+18%
迁到三栏文档, 检索转化涨了 18% 。
索引 1,284 页 延迟 18ms 断链 0 条
图 1 · 每半月文档检索量(千次) § 02 · 焦橙聚焦
208 8月上
244 8月下
232 9月上
280 9月下
328 10月上
384 10月下
THREE-COLUMN CLARITY · BURNT-ORANGE BOOKMARK
统一冷白纸面配 1px 细线,阅读零干扰。
85 组件 + 浅深双套主题,即抄即用。
theorem.dev
§ Theorem Docs 规格笔记 第 07 期 2026.11 v2.4 Spec 08 09 10 三个月
§ 01 · VERIFIED GROWTH Q3–Q4 BENCHMARK
+18%
迁到三栏文档, 检索转化涨了 18% 。
索引 1,284 页 延迟 18ms 断链 0 条
图 1 · 每半月文档检索量(千次) § 02 · 焦橙聚焦
208 8月上
244 8月下
232 9月上
280 9月下
328 10月上
384 10月下
THREE-COLUMN CLARITY · BURNT-ORANGE BOOKMARK
统一冷白纸面配 1px 细线,阅读零干扰。
85 组件 + 浅深双套主题,即抄即用。
theorem.dev
Social 3:4
§ v2.42026.11
TheoremDocs
260 / 760 / 260 · FLAT 1PX
§ 02 · 三栏技术文档系统 · 浅深双套
一套说明书, 统一全部技术文档。
85 组件 1px 细线 焦橙书签 黑曜石 KPI
00:00 06:00 12:00 18:00 24:00
X header 3:1
§
Theorem Docs v2.4 § 01 · Technical Documentation Portal
§ 02 · 260 / 760 / 260px Measured Grid
三栏秩序,一笔焦橙书签。
冷白纸面与哑光黑曜石双主题,85 个实测组件、零投影、零左侧竖条。
查看规范 docs.theorem.dev
§ 02 · Core Theorems 12
§ 03 · API Reference 99.4%
OG 1.91:1
§ Theorem Docs 年度遥测 2026 · 全年 · 样例数据
一个文档站, 一年回答 120 万次查询
三栏阅读框架与 ⌘K 全文索引上线后的第一年数据
§ 01 查什么内容
API 规格46%
数学/算法说明32%
快速上手22%
§ 02 看哪块模块
令牌表 34%
组件库 24%
模板页 16%
CLI 13%
其他 9%
§ 03 每月检索量
1月
2月
3月
4月
5月
6月
7月
8月
9月
10月
11月
12月
v2.4 发布月 168k
§ 04 几点在查文档
周一 周二 周三 周四 周五 周六 周日 0 6 12 18
方块越大,文档检索越密集。周三下午 3 点峰值最高。
§ 06 最热页面
01 tokens.css 令牌表 214k
02 Data Table 规格 162k
03 零左竖条自检清单 118k
来源:Theorem Docs Telemetry · 2026 docs.theorem.dev
Annual report
§ Theorem Docs 规格发布会 v2.4 Spec 12.10 20:00 线上直播 LIVE 2026
2. 4
三栏文档、85 组件、零左竖条。四十分钟讲清整套规范。
20:00 20:10 20:20 20:30 20:40
开场
三栏网格
焦橙书签
开放 CLI
THEOREM DOCS 2.4 · LIVE SPEC · 12.10.2026
§ ADMIT ONE · 免费 No. 002 401
扫码预约直播, 开播前发你文档链接
Launch 4:5
Components 85 components · 145 states
Forms 18 components · 29 states New lemma Export specPreview Cancel ArchiveRead § 04 409 variants
4 templates
2 themes
Sign in to unlock
Brand guide 12 rules · from STYLE.md Three-column clarity, one burnt-orange bookmark.
Measured from Arvind's 1440px documentation specimen: neutral paper (#f9fafb), 1px structural hairlines, 15% burnt-orange bookmark washes, and flat obsidian proof blocks — zero inline shadows and zero left accent bars.
Rules
Colour & planes3 rules
01 Keep burnt-orange scarce and purposeful. Light mode pairs cold paper --background (#f9fafb) and --card (#ffffff) with burnt-orange #c44c14; dark mode switches to matte obsidian #111214 and ember #f07c3e.
02 Never hard-code hex, rgb or hsl colours. Pull every surface and label from tokens: bg-background, bg-card, bg-(--vn-tint), bg-(--vn-wash), text-(--vn-accent-ink) and var(--chart-1…5).
03 No gradients on cards or KPIs; invert to obsidian. Lead metrics (<Kpi tone="gold" />), tooltips and bulk action bars invert into flat obsidian .vn-proof (#14161b with #f3f4f6 ink) — never CSS gradients.
Structure & zero left bars3 rules
04 Zero drop shadows on inline surfaces. Cards (.vn-theorem), top bars (.vn-topbar), inputs and tables carry zero shadow or blur. Only floating overlays (.vn-float) cast --vn-float.
05 Never draw coloured left vertical bars. Active nav, menu, tab and table rows use full-row 15% burnt-orange .vn-bookmark wash. Quotes (.vn-quote) and alerts use full 1px frames; active TOC items use plain .vn-anchor text.
06 Honour the 260 / 760 / 260px reading grid. Top bar is 76px (--vn-nav-h), left and right rails are 260px (--vn-rail-w), prose measure is 760px (--vn-prose-w), with 40px gutters (--vn-gutter).
Controls & icons3 rules
07 One primary .vn-cta button per section. Default controls are 37px (26/31/37/44px) with 8px corners. Use .vn-cta once, paired with .vn-tonal or .vn-outlined — never pill buttons.
08 Use the 6 / 8 / 10 / 12px radius ladder. Tags and keycaps use 6px (never pills), buttons and nav rows 8px, cards and inputs 10px, and floating overlays 12px.
09 Respect icon stroke hierarchy (1.25 / 1.5 / 2px). Search fields use 1.25px strokes; navigation, buttons and cards use 1.5px; reserve 2px strictly for tiny 12–13px checkmarks.
Type, charts & motion3 rules
10 Keep the three typographic voices distinct. Upright Space Grotesk (-0.02em, never italic) for headings and KPIs; IBM Plex Sans (16px / 1.75) for prose; JetBrains Mono for § indices, headers and tags.
11 Render charts as technical monograph figures. All 8 charts pair dashed reference grids, 4px-beveled bars, flat-ended (butt) arcs, diagonal SVG hatch radar fills, squared legend keys and mono ticks.
12 Crisp 120ms tactile response & reduced motion. Motion uses --vn-quick: 120ms with a 1px .vn-press press and disables transitions and shimmers under prefers-reduced-motion.
Which component39 common situations · from choose.md
Buttons & actions5 Forms & selection10 Navigation & structure6 Overlays & menus3 Data, containers & feedback7 Charts (dashed grids · 4px bars)4 AI assistant & technical prose4
Situation Use
Primary action on the screen
default (.vn-cta): flat burnt-orange 37px, 8px radius, one per section
Secondary or supporting actions
secondary (.vn-tonal wash), outline (.vn-outlined) or ghost
Destructive confirmation
Full-bordered destructive Alert (zero left bar) + Button + .vn-float Dialog
Tactile press on cards or rows
120ms tactile press honoring reduced motion
Bulk actions for selected rows
Obsidian .vn-proof floating bar with .vn-index count
Situation Use
Text, search or specification prose
37px 10px-radius hairline (.vn-field) with 8px 16px padding
Form single-select dropdown
37px trigger with 22px chevron chip and .vn-float bookmark list
Long lists or native mobile picker
Native <select> matched to 37px Input geometry
Parameter choice inside prose
6px mono bookmark chip with dashed burnt-orange underline
Single choice with spec description
10px .vn-theorem rows flooding 15% burnt-orange wash
Multi-select toggles or cards
37px outlined buttons or 10px cards with .vn-bookmark tiles
Instant toggle vs form-save checkbox
40×22px 6px-radius Switch; 19px 5px-radius Checkbox
Range, numeric step or file upload
8px Slider, 37px hairline Stepper, dashed .vn-theorem DropZone
Grouped settings rows
Shared .vn-theorem frame with 1px row hairlines
Formatted prose or emoji picker
10px hairline editor (full-framed quote); .vn-float emoji panel
Situation Use
Top bar, left rail & On-This-Page TOC
76px .vn-topbar, 260px transparent .vn-bookmark rail, 260px .vn-anchor TOC
App workspace shell & split panes
40px desktop gutter and 1px burnt-orange focus divider
Filter table status or time range
10px tinted well with 15% burnt-orange active segment
Switch major views on a page
Horizontal 2px burnt-orange underline; vertical & well use .vn-bookmark
⌘K quick search & path trail
.vn-float ⌘K palette and .vn-index terminal chip
Pagination & multi-step flow
.vn-theorem mono page cells; zero-padded .vn-index steps
Situation Use
Confirmations, forms or side drawers
12px .vn-float overlays with 1px header rule and tinted footer
Action or right-click menus
37px .vn-bookmark rows with .vn-label mono headings
Icon tooltips or hover previews
Obsidian .vn-proof mono tooltip; 288px .vn-float preview card
Situation Use
Content cards, modules or widgets
Flat 10px .vn-theorem 1px frames, zero drop shadow
Spec tables, grids or lists
--vn-tint mono headers, 42px rows, full-row .vn-bookmark selection
Hero KPIs, formatted numbers & deltas
tone="gold" flips to obsidian .vn-proof; 6px .vn-tag deltas
Status tags, keycaps & ratings
24px 6px-radius mono .vn-tag (never pills); 23px beveled Kbd
Timeline, kanban, agenda & file tree
Centered 9px squared Timeline nodes (zero left bar); --vn-tint Kanban
Carousel, holo card, map & avatars
Square dot-matrix Map with obsidian tooltip; double-ring Avatars
Toasts, inline alerts, empty & progress
Full semantic frames (zero left bar); dashed Empty; 8px Progress
Situation Use
Single metric or stacked bars
4px-beveled bars, --vn-bar-muted baseline, burnt-orange focal bar
Trends, area curves & sparklines
1.75px strokes, dashed crosshair & 2px squared markers
Donut, composed, radar & radial
Flat-cut arcs, diagonal hatch radar, 15% burnt-orange hover column
Chart hover readout tooltip
12px .vn-float card with 7px squared keys and dashed total
Situation Use
Prompt input, suggestions & messages
User in .vn-wash bookmark frame; assistant in .vn-theorem 16px prose
Conversation viewport, list & files
760px stream, 37px .vn-bookmark active thread & 3px progress
Tool calls, chain of thought & sources
Squared-node derivation trace (zero left bar) & .vn-index citations
Code blocks, Markdown & loaders
--vn-code-bg code, full-framed .vn-quote & 6px squared loaders
Don't do
Drop shadows or backdrop-blur on inline cards, bars, inputs, buttons or tables Coloured left vertical bars on nav items, alerts, blockquotes, cards or timelines CSS gradients on cards, buttons or KPIs (use flat obsidian .vn-proof instead) Pill-shaped rounded-full buttons or badges breaking the 6 / 8 / 10px ladder Two or more .vn-cta burnt-orange primary buttons in the same section Italicizing Space Grotesk headings or hard-coding hex values inside components Signature looks
Publish spec Export tokensPreview § 04 Burnt-orange CTA & bookmark tonal .vn-cta · .vn-tonal · .vn-outlined
Measured 37px height, 8px corners, zero shadow: flat burnt-orange CTA paired with 15% wash secondary and 1px hairline outline.
15% burnt-orange bookmark row .vn-bookmark · .vn-index
Active sidebar, menu and table rows flood the full 8px row with --vn-wash and mono § indices — zero left vertical bars.
§ 01 · VERIFIED PROOFS
1,284 +12.4%
Obsidian proof block .vn-proof · .vn-num
Lead KPIs and tooltips invert to matte #14161b obsidian with a 1px dark rim and upright Space Grotesk numerals — zero gradients.
Colors 24 tokens · cold paper light & matte obsidian dark sets Token Used for Light Dark Paper & hairlines --backgroundCold paper / matte obsidian canvas #f9fafb
#111214
--card10px .vn-theorem cards & inputs #ffffff
#181a1e
--popover12px .vn-float dialogs & menus #ffffff
#181a1e
--vn-tintTable headers, footers & quotes #f2f4f7
#191b20
--secondarySecondary surface & skeletons #eef0f4
#22252b
--border1px structural hairlines & rules #e2e5ea
#272a31
--vn-line-strongInteractive borders & strong rules #cdd2dc
#383d47
Ink, burnt-orange & obsidian --foregroundHeadings & primary ink #111318
#f3f4f6
--muted-foreground16px/1.75 prose & metadata #525866
#969ca8
--vn-placeholderPlaceholders, disabled & ticks #767d8c
#7e8594
--primaryBurnt-orange CTA, eyebrow & anchor #c44c14
#f07c3e
--primary-foregroundPrimary CTA label ink #ffffff
#160a03
--vn-accent-inkInk on 15% bookmark wash #a33c0d
#f69d6d
--vn-ink-surfaceObsidian .vn-proof KPI & tooltip #14161b
#0b0c0f
Semantic feedback --vn-successVerified, passed, up #15803d
#4ade80
--vn-warningDraft, pending, stale anchor #b45309
#fbbf24
--destructiveArchive, error, validation fail #dc2626
#f87171
--vn-infoInfo callouts & annotations #1d4ed8
#60a5fa
--vn-bar-mutedBaseline muted chart columns #dce0e8
#2a2e38
Chart series --chart-1Series 1 · Burnt orange #c44c14
#f07c3e
--chart-2Series 2 · Cobalt #2563eb
#60a5fa
--chart-3Series 3 · Teal #0d9488
#2dd4bf
--chart-4Series 4 · Violet #7c3aed
#a78bfa
--chart-5Series 5 · Slate #64748b
#94a3b8
Contrast
Pair Use Light Dark foreground on backgroundBody, 4.5:1 min Aa 17.8 Pass
Aa 17.0 Pass
foreground on cardCard body, 4.5:1 min Aa 18.6 Pass
Aa 15.8 Pass
muted-foreground on cardProse muted, 4.5:1 min Aa 7.1 Pass
Aa 6.3 Pass
muted-foreground on backgroundCanvas muted, 4.5:1 min Aa 6.8 Pass
Aa 6.8 Pass
primary-foreground on primaryPrimary CTA, 4.5:1 min Aa 4.8 Pass
Aa 7.1 Pass
vn-accent-ink on cardBookmark ink, 4.5:1 min Aa 6.5 Pass
Aa 8.3 Pass
vn-success on cardStatus graphics, 3:1 min Aa 5.0 Pass
Aa 10.0 Pass
destructive on cardError state, 3:1 min Aa 4.8 Pass
Aa 6.3 Pass
vn-placeholder on cardPlaceholder/ticks Aa 4.1 Not for text
Aa 4.7 Not for text
Type & scale Space Grotesk · IBM Plex Sans · JetBrains Mono Chapter H1 28 / 34 · 600 · Space Grotesk
Orders & Revenue Telemetry
Proof KPI figure 26 / 32 · 600 · Space Grotesk
1,284 · 99.4%
Section H2 22 / 28 · 600 · Space Grotesk
Three-Column Reading Grid
Reading prose 16 / 28 · 500 · IBM Plex Sans
Every surface sits on a flat neutral plane divided by crisp 1px hairlines.
UI & navigation 14 / 21 · 500 · IBM Plex Sans
Search theorems, symbols, and component specifications across v2.4.
Index & mono tag 11 / 16 · 600 · JetBrains Mono
§ 04.1 · VERIFIED · 128 CHECKS
Shadows
Inline plane (flat) Cards, inputs, bars and tables separate via 1px hairlines only
border: 1px var(--border)Floating overlay Reserved strictly for dialogs, menus, sheets and toasts
var(--vn-float)Sizes
Control
37 · sm 31 · xs 26Row height
42 · --vn-row-hSide rails
260 · --vn-rail-wIcon stroke
16 · 1.25 / 1.5px
Patterns 5 patterns · each completes one user task § 00 · Access Sign in to Theorem Docs
Enter your maintainer credentials to publish specs.
Sign in 10px hairline card with burnt-orange eyebrow, 37px fields, and one flat burnt-orange primary button
Copy prompt § 06 · Drafts
Pending Proofs Import BibTeXNo unverified drafts
Every lemma in v2.4 has passed automated citation and contrast verification.
Empty state 1px ruled header with Space Grotesk heading and outlined secondary button above a dashed tinted Empty State
Copy prompt All (7) Verified Draft Deprecated
Section Theorem Track Status Checks § 04.1 Banach Fixed-Point Core Spec Verified128 § 04.2 Cauchy Completeness Core Spec Verified94 § 04.3 Spectral Decomposition Linear Draft62 § 04.4 Legacy Ring Homomorphism Archive Deprecated18
Filterable ledger table 37px search field and 15% burnt-orange Segment above a 42px hairline theorem ledger with full-row bookmark selection
Copy prompt Documentation build
Configure anchor indexing and default export format.
Default archive bundle MDX + tokens.css Monograph PDF Cancel Save settings
Settings form 6px-radius architectural switches and 37px Native Select inside a 10px hairline Card with a tinted footer band
Copy prompt Danger zone · Archive § 04
Removing this chapter breaks 14 cross-section citations permanently.
Archive chapter
Confirm chapter archive
This action cannot be undone. Export the AST snapshot first.
Cancel Archive permanentlyDestructive confirm Isolate destructive actions in a full-bordered Alert destructive (zero left bar) and confirm in a 12px .vn-float Dialog
Copy prompt
Assets 3 fonts · 84 icons Fonts
§ 02 · Theorem Docs
Space Grotesk Variable 300 to 700 · Upright geometric display & KPI numerals · SIL OFL 1.1 styles/theorem/fonts/SpaceGrotesk-Variable-latin.woff2
Aa Bb Cc 123
IBM Plex Sans Variable 100 to 700 · 16px/1.75 technical prose & UI controls · SIL OFL 1.1 styles/theorem/fonts/IBMPlexSans-Variable-latin.woff2
§ 04.1 · 1,284
JetBrains Mono Variable 100 to 800 · Section indices, tags, keycaps & code · SIL OFL 1.1 styles/theorem/fonts/JetBrainsMono-Variable-latin.woff2
Icons lucide · ISC licence · every icon used across Theorem Docs components & templates
alert-circle
grip-vertical
italic
more-horizontal
square