# OneOh Design System — Web Projects Only (Not for Apps) / 仅适用于 Web 项目约束,不适用于客户端 App > IMPORTANT / 重要声明:本规范(/llms.txt 及全部 /llms//*.txt 子文档)仅适用于 OneOh 的 Web 项目约束(官网、营销站、Web 用户控制台、Web 运营与管理后台),不适用于任何客户端 App 约束(iOS、Android、macOS、Windows 原生或桌面/移动客户端)。This specification (/llms.txt and every /llms//*.txt document) applies strictly to OneOh Web projects ONLY (websites, marketing pages, web consoles, and web admin panels) and does NOT apply to native mobile or desktop client Apps. Read it before generating UI or front-end code for any OneOh web project, so every web product looks and behaves consistently. Each topic exists in Chinese (/llms/zh/) and English (/llms/en/) with identical content. Core rules (Web projects only, never client Apps): monochrome minimal, Apple-inspired; visual hierarchy never uses lines; Tailwind CSS only; client-side network requests use SWR; bilingual parity; Lighthouse 100 across Performance, Accessibility, Best Practices and SEO. Directory layout: ``` /llms.txt this index (Web projects only, not for Apps) /llms//theme.txt design tokens /llms//principles.txt design principles /llms//guidelines.txt visual & web development guidelines /llms//apps.txt web application & admin interface guidelines /llms//backend.txt back-office system design (Stripe-aligned) /llms//performance.txt browser metric requirements /llms//testing.txt automated testing constraints = zh | en ``` Suggested reading order: principles → theme → guidelines → apps (for web consoles, web back offices and dashboards) → backend (for back-office system design) → performance → testing (before writing or running automated tests). ## 中文 - [设计原则](https://oneoh.cloud/llms/zh/principles.txt):按优先级排列的硬性 Web 设计原则(含交互聚焦与视觉极简) - [视觉主题](https://oneoh.cloud/llms/zh/theme.txt):颜色、字体、圆角、阴影、图标、标志的设计令牌 - [开发指南](https://oneoh.cloud/llms/zh/guidelines.txt):技术栈与 SWR 网络请求、版式、组件、动效、双语、可访问性、自检清单 - [Web 应用与后台界面](https://oneoh.cloud/llms/zh/apps.txt):Web 控制台与后台的版式例外、交互聚焦与工作区克制、SWR 数据请求、对话框与浮层、表格与控件 - [后台系统设计](https://oneoh.cloud/llms/zh/backend.txt):向 Stripe 对齐的资源标识、不可变事件、时间线、请求日志、高频数据分层(Valkey → 数据库 → 归档)、API 约定、系统监控 - [浏览器指标](https://oneoh.cloud/llms/zh/performance.txt):Lighthouse 与 Core Web Vitals 验收标准、实现规则、测量方法 - [测试约束](https://oneoh.cloud/llms/zh/testing.txt):测试的运行节奏、耗时指标、共享昂贵准备、并行、等待与断言、测试取舍 ## English - [Design principles](https://oneoh.cloud/llms/en/principles.txt): non-negotiable Web design principles in priority order (including interaction focus and mono minimal) - [Visual theme](https://oneoh.cloud/llms/en/theme.txt): design tokens for color, type, radius, shadow, icons and logo - [Development guidelines](https://oneoh.cloud/llms/en/guidelines.txt): stack & SWR network requests, layout, components, motion, i18n, accessibility, checklist - [Web application & admin interfaces](https://oneoh.cloud/llms/en/apps.txt): layout exceptions, interaction focus & workspace restraint, SWR fetching, dialogs & popovers, tables & controls - [Back-office system design](https://oneoh.cloud/llms/en/backend.txt): Stripe-aligned resource IDs, immutable events, timelines, request logs, high-frequency data tiering (Valkey → database → archives), API conventions and system monitoring - [Browser metrics](https://oneoh.cloud/llms/en/performance.txt): Lighthouse and Core Web Vitals targets, implementation rules, measurement - [Testing constraints](https://oneoh.cloud/llms/en/testing.txt): when to run tests, duration as an acceptance criterion, sharing expensive setup, parallelism, waiting and assertions, what to keep