π€― LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
π docs(design): refresh design system docs and drop bold emphasis (#16628)
RenΓ© Wangdbab33a1e591
diff --git a/DESIGN.dark.md b/DESIGN.dark.mdindex 4aa3166cc33..c065e77872b 100644--- a/DESIGN.dark.md+++ b/DESIGN.dark.md@@ -77,18 +77,18 @@ controls:# LobeHub (Dark)-This is the **Dark theme** of LobeHub's design system. It is the companion to **[DESIGN.md](./DESIGN.md)** (Light) and shares everything but color: the same semantic token _names_, the same typography, spacing, radius, control, motion, shape, component, and voice rules, and the same four design values (Natural Β· Meaningful Β· Certainty Β· Growth).+This is the Dark theme of LobeHub's design system. It is the companion to [DESIGN.md](./DESIGN.md) (Light) and shares everything but color: the same semantic token _names_, the same typography, spacing, radius, control, motion, shape, component, and voice rules, and the same four design values (Natural Β· Meaningful Β· Certainty Β· Growth).-Read this file for the **dark color values**; read [DESIGN.md](./DESIGN.md) for all the guidance prose, which is theme-independent. As always: consume semantic tokens by name (`cssVar.colorText`, `cssVar.colorBgContainer`, β¦) so components follow the user's theme automatically β never hard-code the hex values below.+Read this file for the dark color values; read [DESIGN.md](./DESIGN.md) for all the guidance prose, which is theme-independent. As always: consume semantic tokens by name (`cssVar.colorText`, `cssVar.colorBgContainer`, β¦) so components follow the user's theme automatically β never hard-code the hex values below.## ColorsDark uses the same semantic-token model as Light, with the values inverted around a near-black canvas. A few things specific to dark:-- **Surfaces lift as they rise.** The page canvas `colorBgLayout` is pure black (`#000000`); `colorBgContainer` (`#0d0d0d`) sits above it, and `colorBgElevated` (`#1a1a1a`) is lighter still for popovers, menus, and modals. Depth reads through getting _lighter_, the opposite of light theme. Keep `colorBgLayout` and `colorBgContainer` distinct β don't flatten the stack.-- **Text is solid `gray`-scale neutrals**, not translucent: `colorText` `#ffffff` β `colorTextSecondary` `#aaaaaa` β `colorTextTertiary` `#6f6f6f` β `colorTextQuaternary` `#555555` (disabled). Rank information with this ramp rather than with color.-- **Borders and fills stay translucent white** (`colorFill*`, `rgba(255,255,255,β¦)`), so they layer correctly over any dark surface. Use `colorBorderSecondary` for the everyday divider and `colorBorder` for a stronger edge.-- **`colorPrimary` is monochrome by default** β near-white (`#eeeeee`) in dark β and only takes on a hue when the user picks a primary color, keeping the default UI calm.-- **Functional hues shift for dark legibility.** Dark draws `colorError` from `red` and `colorInfo` from `blue` (Light uses `volcano` and `geekblue`), and `colorSuccess` brightens to `lime`. This is intentional β read the token, not a fixed hue.+- Surfaces lift as they rise. The page canvas `colorBgLayout` is pure black (`#000000`); `colorBgContainer` (`#0d0d0d`) sits above it, and `colorBgElevated` (`#1a1a1a`) is lighter still for popovers, menus, and modals. Depth reads through getting _lighter_, the opposite of light theme. Keep `colorBgLayout` and `colorBgContainer` distinct β don't flatten the stack.+- Text is solid `gray`-scale neutrals, not translucent: `colorText` `#ffffff` β `colorTextSecondary` `#aaaaaa` β `colorTextTertiary` `#6f6f6f` β `colorTextQuaternary` `#555555` (disabled). Rank information with this ramp rather than with color.+- Borders and fills stay translucent white (`colorFill*`, `rgba(255,255,255,β¦)`), so they layer correctly over any dark surface. Use `colorBorderSecondary` for the everyday divider and `colorBorder` for a stronger edge.+- `colorPrimary` is monochrome by default β near-white (`#eeeeee`) in dark β and only takes on a hue when the user picks a primary color, keeping the default UI calm.+- Functional hues shift for dark legibility. Dark draws `colorError` from `red` and `colorInfo` from `blue` (Light uses `volcano` and `geekblue`), and `colorSuccess` brightens to `lime`. This is intentional β read the token, not a fixed hue.-For elevation, motion, shapes, components, typography, layout, voice, and the do's and don'ts, see **[DESIGN.md](./DESIGN.md)** β they apply unchanged in dark.+For elevation, motion, shapes, components, typography, layout, voice, and the do's and don'ts, see [DESIGN.md](./DESIGN.md) β they apply unchanged in dark.diff --git a/DESIGN.md b/DESIGN.mdindex 5ce9f4b0c60..2c33ee8841a 100644--- a/DESIGN.md+++ b/DESIGN.md@@ -84,80 +84,60 @@ controls:## Overview-LobeHub is an AI-native product suite (chat, agents, tools). Its design system is built on **lobe-ui** ([@lobehub/ui](https://github.com/lobehub/lobe-ui)) β LobeHub's own component and theming layer β and is themed at runtime through `ThemeProvider` with the cssVar key `lobe-vars`.+LobeHub is an AI-native product suite (chat, agents, tools). Its design system is built on `lobe-ui` ([@lobehub/ui](https://github.com/lobehub/lobe-ui)) β LobeHub's own component and theming layer β and is themed at runtime through `ThemeProvider` with the cssVar key `lobe-vars`.The aesthetic is calm and content-first: generous whitespace, restrained color, and a near-neutral canvas so the conversation and the user's content stay in focus. Color carries state and hierarchy, not decoration. Every surface is designed for both light and dark appearance and for desktop and mobile.-Two things make this system different from a fixed palette, and both matter when you build with it:--1. **It is themeable.** Users choose a **primary** color and a **neutral** color. Never hard-code a hex value from this file β read the **semantic token** (e.g. `cssVar.colorPrimary`, `cssVar.colorText`) so your UI follows the user's theme and adapts between light and dark automatically.-2. **It has design values.** LobeHub follows four product values β **Natural Β· Meaningful Β· Certainty Β· Growth** β that decide trade-offs the tokens can't. They are summarized under [Design Values](#design-values) and are the tie-breaker when guidance conflicts.--The YAML above lists the default **Light** theme. The Dark theme redefines the same token names with different values and lives in **[DESIGN.dark.md](./DESIGN.dark.md)** β every other section here (typography, layout, motion, shapes, components, voice, values) is theme-independent and applies to both. Build against token names, not values.--> **Scope β this file is the design _system_, not the interaction playbook.** DESIGN.md covers what the product looks and sounds like: tokens (color, typography, elevation, radius), the component inventory, and Voice & Content. It deliberately does **not** cover how a flow should behave over time. For any **interaction detail** β empty / loading / error states, lists at scale, selection & scroll restoration, pickers, number formatting, draft safety, action momentum & confirm flows, button hierarchy, entity lifecycle, capability guardrails, progressive disclosure β consult the **ux** skill (`.agents/skills/ux/`). Rule of thumb: **static look & wording β here; dynamic behavior β the ux skill.**--## Design Values--The philosophy behind every LobeHub interface. Read these before designing a flow.--- **Natural** β Minimize cognitive load. The next step should be obvious without thinking; carry the user forward with sensible defaults, AI assistance, and smooth transitions rather than making them stop and figure things out.-- **Meaningful** β Root every screen in the user's real goal. Make the objective clear, give immediate feedback on each action, and always point at the next meaningful step.-- **Certainty** β Low-entropy, predictable interactions. Reuse the same patterns, components, and wording. Keep one clear focus per surface and design **every** state β empty, loading, error, success. Restraint over cleverness.-- **Growth** β The product grows with the user. Surface advanced capability progressively, revealing features at the moment they become relevant without crowding the novice path.--**Priority when values conflict** (moment-to-moment interaction): **Meaningful β³ Natural > Certainty** β never sacrifice the user's goal or forward momentum just to keep things uniform. **Growth** is a longer-horizon lens for how a feature is discovered and scales, not a single-screen layout call.+The YAML above lists the default Light theme. The Dark theme redefines the same token names with different values and lives in [DESIGN.dark.md](./DESIGN.dark.md) β every other section here (typography, layout, motion, shapes, components, voice, values) is theme-independent and applies to both. Build against token names, not values.## Colors-LobeHub uses lobe-ui's **semantic token** model. A token's name encodes its **role**, so the same name resolves to the right value in light, dark, and under any user theme. Always consume tokens by name β `cssVar.colorText`, `cssVar.colorBgContainer`, and so on.+LobeHub uses lobe-ui's semantic token model. A token's name encodes its role, so the same name resolves to the right value in light, dark, and under any user theme. Always consume tokens by name β `cssVar.colorText`, `cssVar.colorBgContainer`, and so on.-**Text** uses solid neutrals from the `gray` scale that hold contrast on any surface β rank information with them rather than reaching for color:+Text uses solid neutrals from the `gray` scale that hold contrast on any surface β rank information with them rather than reaching for color:- `colorText` β primary text and icons- `colorTextSecondary` β secondary text, form labels- `colorTextTertiary` β placeholders, captions, metadata- `colorTextQuaternary` β disabled-**Surfaces** are a separate scale from text; do not swap one for the other. `colorBgLayout` is the page canvas, `colorBgContainer` is the primary card/panel surface, `colorBgContainerSecondary` gives subtle separation, `colorBgElevated` backs popovers, menus, and modals, and `colorBgSpotlight` backs tooltips.+Surfaces are a separate scale from text; do not swap one for the other. `colorBgLayout` is the page canvas, `colorBgContainer` is the primary card/panel surface, `colorBgContainerSecondary` gives subtle separation, `colorBgElevated` backs popovers, menus, and modals, and `colorBgSpotlight` backs tooltips.-**Borders and fills** are translucent (`rgba`/alpha), so they layer over any background. Use `colorBorderSecondary` for the everyday divider and `colorBorder` for a stronger edge; use the `colorFill*` ramp for hover/active washes (`colorFillTertiary` hover, `colorFillQuaternary` active).+Borders and fills are translucent (`rgba`/alpha), so they layer over any background. Use `colorBorderSecondary` for the everyday divider and `colorBorder` for a stronger edge; use the `colorFill*` ramp for hover/active washes (`colorFillTertiary` hover, `colorFillQuaternary` active).-**Functional color** is reserved for meaning: `colorPrimary` for the single most important action, focus, and links β note it is **monochrome by default** (near-black in light, near-white in dark) and only takes on a hue when the user picks a primary color, which keeps the default UI calm; `colorSuccess`, `colorWarning`, `colorError`, `colorInfo` for state. Each functional and accent color also exposes a derived ramp β `color{Name}`, `color{Name}Hover`, `color{Name}Active`, `color{Name}Bg`, `color{Name}Border`, `color{Name}Text`, and `color{Name}Fill*` β so you can build tinted backgrounds, borders, and text without picking raw values.+Functional color is reserved for meaning: `colorPrimary` for the single most important action, focus, and links β note it is monochrome by default (near-black in light, near-white in dark) and only takes on a hue when the user picks a primary color, which keeps the default UI calm; `colorSuccess`, `colorWarning`, `colorError`, `colorInfo` for state. Each functional and accent color also exposes a derived ramp β `color{Name}`, `color{Name}Hover`, `color{Name}Active`, `color{Name}Bg`, `color{Name}Border`, `color{Name}Text`, and `color{Name}Fill*` β so you can build tinted backgrounds, borders, and text without picking raw values.-**Applying tokens in components.** The text ramp and the functional tints are full token sets, but component prop shorthands expose only part of them β so apply the token directly when no shorthand covers it. In `@lobehub/ui`, the `Text` `type` prop accepts `secondary | success | warning | danger | info` only (there is no `tertiary` / `quaternary`), and `Tag` `color` has no `primary`. For `colorTextTertiary` / `colorTextQuaternary` text, and for any `colorPrimary` or functional tint a shorthand lacks, set the token via `color={cssVar.colorTextTertiary}` (or a styled class) instead of `type="tertiary"` / `color="primary"` β the invalid prop values fail silently (rendered as a literal color or ignored), not with an error.+Applying tokens in components. The text ramp and the functional tints are full token sets, but component prop shorthands expose only part of them β so apply the token directly when no shorthand covers it. In `@lobehub/ui`, the `Text` `type` prop accepts `secondary | success | warning | danger | info` only (there is no `tertiary` / `quaternary`), and `Tag` `color` has no `primary`. For `colorTextTertiary` / `colorTextQuaternary` text, and for any `colorPrimary` or functional tint a shorthand lacks, set the token via `color={cssVar.colorTextTertiary}` (or a styled class) instead of `type="tertiary"` / `color="primary"` β the invalid prop values fail silently (rendered as a literal color or ignored), not with an error.## Typography-**Geist** sets UI and prose; **Geist Mono** sets code, data, and tabular figures. The stacks above fall through to `-apple-system`, then **HarmonyOS Sans SC** and platform CJK faces, so Latin and CJK text stay visually consistent.+`Geist` sets UI and prose; `Geist Mono` sets code, data, and tabular figures. Use the scale tokens rather than setting size, weight, or line height by hand:-Use the scale tokens rather than setting size, weight, or line height by hand:--- **Body & labels** β `fontSize` (14px) covers most UI and body text; `fontSizeSM` (12px) for captions and dense metadata; `fontSizeLG` (16px) for emphasis and large controls. Line height is generous (\~1.57) for readability. The body/label scale is **12 / 14 / 16** β there is **no 13px token**. Some legacy UI hard-codes `fontSize={13}` for secondary text; treat that as drift and round to 12 or 14, and rank text with the `colorText*` opacity ramp rather than reaching for an in-between size. Don't introduce new off-scale sizes.-- **Headings** β `fontSizeHeading1`β`fontSizeHeading5` (38 β 16px) title pages and sections; pair with `fontWeightStrong` (600).-- **Code & numbers** β the `fontFamilyCode` stack; prefer tabular figures when numbers must align.+- Body & labels β `fontSize` (14px) covers most UI and body text; `fontSizeSM` (12px) for captions and dense metadata; `fontSizeLG` (16px) for emphasis and large controls. Line height is generous (\~1.57) for readability. The body/label scale is 12 / 14 / 16 β there is no 13px token. Some legacy UI hard-codes `fontSize={13}` for secondary text; treat that as drift and round to 12 or 14, and rank text with the `colorText*` opacity ramp rather than reaching for an in-between size. Don't introduce new off-scale sizes.+- Headings β `fontSizeHeading1`β`fontSizeHeading5` (38 β 16px) title pages and sections; pair with `fontWeightStrong` (600).+- Code & numbers β the `fontFamilyCode` stack; prefer tabular figures when numbers must align.## Layout-Spacing follows a **4px scale** via lobe-ui padding/margin tokens: `XXS` 4, `XS` 8, `SM` 12, base 16, `MD` 20, `LG` 24, `XL` 32. Keep a clear rhythm β tight space inside a group (8px), more between groups (16px), most between sections (24β32px). Cards use 16β24px padding.+Spacing follows a 4px scale via lobe-ui padding/margin tokens: `XXS` 4, `XS` 8, `SM` 12, base 16, `MD` 20, `LG` 24, `XL` 32. Keep a clear rhythm β tight space inside a group (8px), more between groups (16px), most between sections (24β32px). Cards use 16β24px padding.-The 4px scale governs **gaps, padding, and margins** β and only those. Two things are deliberately **not** on it: **radius is a separate scale** (see [Shapes](#shapes); it includes a 6px step, `borderRadiusSM`), so never reuse a radius value as spacing; and **icon pixel sizes** (12 / 14 / 16 / 18 / 20) and 1px hairline borders are dimensions, not spacing. Off-scale spacing values (6, 10, 13β¦) are drift β round to the nearest scale step. Reserve a one-off off-scale value for genuine optical tuning, never as a default.+The 4px scale governs gaps, padding, and margins β and only those. Two things are deliberately not on it: radius is a separate scale (see [Shapes](#shapes); it includes a 6px step, `borderRadiusSM`), so never reuse a radius value as spacing; and icon pixel sizes (12 / 14 / 16 / 18 / 20) and 1px hairline borders are dimensions, not spacing. Off-scale spacing values (6, 10, 13β¦) are drift β round to the nearest scale step. Reserve a one-off off-scale value for genuine optical tuning, never as a default.-Layouts must work across appearances and form factors: every surface ships **light and dark** and **desktop and mobile** variants. Mobile is not an afterthought β `src/routes/(mobile)` and `.mobile`/`.desktop` component variants exist for exactly this. Center primary content and let side padding grow at wider breakpoints.+Layouts must work across appearances and form factors: every surface ships light and dark and desktop and mobile variants. Mobile is not an afterthought β `src/routes/(mobile)` and `.mobile`/`.desktop` component variants exist for exactly this. Center primary content and let side padding grow at wider breakpoints.## Elevation & Depth-Hierarchy comes from **tonal surfaces and borders first**, so shadows stay subtle. Lift only what genuinely floats:+Hierarchy comes from tonal surfaces and borders first, so shadows stay subtle. Lift only what genuinely floats:- Raised cards / panels: `boxShadowTertiary`, barely-there β most cards need none, just a `colorBorderSecondary` edge.- Popovers and menus: `boxShadowSecondary`.- Modals and dialogs: `boxShadow`, the strongest tier.-The shadow tokens are **shared across light and dark** β only the surface and border colors change between themes. Tooltips take the lightest treatment on `colorBgSpotlight`. Pair each elevation with the matching radius below, and prefer a border over a shadow when both would read.+The shadow tokens are shared across light and dark. Only the surface and border colors change between themes. Tooltips take the lightest treatment on `colorBgSpotlight`. Pair each elevation with the matching radius below, and prefer a border over a shadow when both would read.## Motion-Motion clarifies change; it is never decoration. It is also **user-controllable** β LobeHub exposes an animation mode (`agile` β 0.05 motion unit, default β 0.1, or fully `disabled`), so motion must degrade gracefully and you must honor `prefers-reduced-motion` by dropping nonessential animation.+Motion clarifies change; it is never decoration. Honor `prefers-reduced-motion` by dropping nonessential animation.When motion helps β revealing, moving, or connecting elements β keep it short and physical: roughly 100β200ms for state changes and popovers, up to \~300ms for overlays and modals. Avoid long, looping, or attention-grabbing animation. For AI/loading moments, prefer the system's purpose-built loaders (skeletons, `NeuralNetworkLoading`) over ad-hoc spinners.@@ -176,42 +156,31 @@ Reserve fully round (`9999px`) for pills, avatars, and circular icon buttons. DoPrefer the system's components over bespoke markup, in this order:-1. **`@lobehub/ui/base-ui`** β headless primitives, first choice for new code (`Select`, `Modal` / `createModal` / `confirmModal`, `DropdownMenu`, `ContextMenu`, `Popover`, `ScrollArea`, `Switch`, `Toast`, `FloatingSheet`).-2. **`@lobehub/ui`** root β richer composed components when base-ui has no counterpart.+1. `@lobehub/ui/base-ui` β headless primitives, first choice for new code (`Select`, `Modal` / `createModal` / `confirmModal`, `DropdownMenu`, `ContextMenu`, `Popover`, `ScrollArea`, `Switch`, `Toast`, `FloatingSheet`).+2. `@lobehub/ui` root β richer composed components when base-ui has no counterpart.When base-ui has the component, use it β don't reach for the root version, and only drop to an underlying primitive when lobe-ui has no counterpart at all.-Default control height is **36px** (`controlHeight`); use `controlHeightSM` 28px and `controlHeightLG` 40px for the other sizes. Buttons follow lobe-ui's hierarchy β one **primary** (`colorPrimary` fill) per view for the most important action, **default** (surface fill + `colorBorder`) for ordinary actions, **text/link** for low-emphasis, and **danger** (`colorError`) for destructive actions. Hover and active states step through the `colorFill*` / `color{Name}Hover` ramps; disabled uses `colorTextQuaternary` text with a not-allowed cursor. Every interactive element shows a visible focus ring at `:focus-visible`.+Default control height is 36px (`controlHeight`); use `controlHeightSM` 28px and `controlHeightLG` 40px for the other sizes. Buttons follow lobe-ui's hierarchy β one primary (`colorPrimary` fill) per view for the most important action, default (surface fill + `colorBorder`) for ordinary actions, text/link for low-emphasis, and danger (`colorError`) for destructive actions. Hover and active states step through the `colorFill*` / `color{Name}Hover` ramps; disabled uses `colorTextQuaternary` text with a not-allowed cursor. Every interactive element shows a visible focus ring at `:focus-visible`.Style components with lobe-ui's styling layer: prefer `createStaticStyles` with `cssVar.*` (zero-runtime) and fall back to `createStyles` + `token` only when styles need runtime computation.## Voice & Content-Copy is part of the design β precise, calm, and free of filler. The voice is youthful, friendly, and modern on the surface; professional, reliable, and control-first underneath (reference points: Notion, Figma, Apple, Discord, OpenAI). Keys live in `src/locales/default`; LobeHub ships en-US and zh-CN by hand, so write a source string that translates cleanly without expanding much in length.--The brand promise is **For Collaborative Agents** β reinforce that LobeHub is not about one-shot "generation" but a collaborative agent system: shareable context, traceable outcomes, replayable runs, evolvable setup, and human-in-the-loop. Three principles to bake into structure and wording:+Copy is part of the design β precise, calm, and free of filler. The voice is youthful, friendly, and modern on the surface; professional, reliable, and control-first underneath (reference points: Notion, Figma, Apple, Discord, OpenAI).-- **Create** β idea to usable Agent in one sentence, with a clear next step.-- **Collaborate** β multiple agents and people aligned on the same shared Context, controlled and manageable.-- **Evolve** β Agents remember preferences only with consent and get more helpful over time; keep it explainable, editable, and replayable.--### Terminology--One concept maps to **one term** site-wide β never alternate synonyms (no "bot / assistant / AI agent" drift for **Agent**). Canonical terms: **Workspace**, **Agent**, **Agent Profile**, **Group**, **Context**, **Memory**, **Integration**, **Skill**, **Topic**, **Page**, **Community**, **Resource**, **Library**, **MCP**, **Provider**, **Evaluation**, **Benchmark**, **Dataset**, **Test Case**. Prefer plain words ("connect", "run", "context") over jargon; when a technical term is unavoidable, gloss it in plain English.--### Writing rules--- **Clarity first** β short sentences, strong verbs, few adjectives. No hype ("revolutionary", "epic", "100%").-- **Layered, not split** β one main line that is simple and actionable, plus an optional second line (subtitle, helper text, tooltip) for precision or boundaries. Don't ship "simple vs pro" variants.-- **Consistent verbs** β reuse the same verb for the same action everywhere: Create / Connect / Run / Pause / Retry / View details / Clear Memory.-- **Always actionable** β every message tells the user what to do next. Name actions with a verb and a noun (`Create Agent`, `Delete Session`), never a bare `Confirm`, `OK`, or `Submit`.-- **Confirm outcomes** by naming the specific thing that changed; skip "successfully" and superlatives.-- **Empty states** point to the first action ("No agents yet. Create one to get started."), not a blank screen.-- **In-progress** states use a present participle with an ellipsis (`Generatingβ¦`, `Savingβ¦`).+- Never alternate synonyms (no "bot / assistant / AI agent" drift for Agent). Canonical terms: Workspace, Agent, Agent Profile, Group, Context, Memory, Integration, Skill, Topic, Page, Community, Resource, Library, MCP, Provider, Evaluation, Benchmark, Dataset, Test Case.+- Prefer plain words over jargon; when a technical term is unavoidable, gloss it in plain English.+- Clarity first β short sentences, strong verbs, few adjectives. No hype ("revolutionary", "epic", "100%").+- Layered, not split β one main line that is simple and actionable, plus an optional second line (subtitle, helper text, tooltip) for precision or boundaries. Don't ship "simple vs pro" variants.+- Consistent verbs β reuse the same verb for the same action everywhere: Create / Connect / Run / Pause / Retry / View details / Clear Memory.+- Every message tells the user what to do next. Name actions with a verb and a noun (`Create Agent`, `Delete Session`), never a bare `Confirm`, `OK`, or `Submit`.+- Confirm outcomes by naming the specific thing that changed; skip "successfully" and superlatives.+- In-progress states use a present participle with an ellipsis (`Generatingβ¦`, `Savingβ¦`).### Human warmth-Reduce anxiety and restore control without being sentimental. Default to **80% information, 20% warmth**; at key moments (first run, empty state, long waits, failures, data-loss risk, collaboration conflicts) up to **70/30**. Hard cap: at most half a sentence to one sentence of warmth, always followed by a clear next step. Order every sensitive message as:+Reduce anxiety and restore control without being sentimental. Default to 80% information, 20% warmth; at key moments (first run, empty state, long waits, failures, data-loss risk, collaboration conflicts) up to 70/30. Hard cap: at most half a sentence to one sentence of warmth, always followed by a clear next step. Order every sensitive message as:1. Acknowledge the situation, without judgment.2. Restore control β pause, replay, edit, undo, clear Memory, view Context.@@ -219,26 +188,14 @@ Reduce anxiety and restore control without being sentimental. Default to **80% iAvoid preachy encouragement ("don't worry"), grand narratives, and over-anthropomorphizing ("I understand you", "I'll always remember you"). The stance: Agents accelerate output, but the user owns the judgment and the final decision.-Sample patterns:--- **Getting started** β "Starting with one sentence is enough. Describe your goal and I'll set up the first Agent."-- **Long run** β "Runningβ¦ You can switch tasks; I'll notify you when it's done." / "This may take a few minutes. To speed up: reduce Context or switch model."-- **Failure** β "That didn't run through. Retry, or view details to fix the cause." / "Connection failed. Re-authorize in Settings, or try again later."-- **Collaboration** β "Align everyone to the same Context β every Agent in the Group works from the same page."--### Errors and exceptions--Every error states **what happened**, optionally **why**, and **what to do next**. Offer concrete recovery β Retry / View details / Go to Settings / Contact support / Copy logs β rather than a dead end. Never blame the user, never show only an error code (put codes under "Details"). For data, security, and billing, stay neutral and thorough; here warmth comes from clarity, not emotion.-## Do's and Don'ts-- **Do** read semantic tokens (`cssVar.colorText`, `cssVar.colorPrimary`, β¦); they adapt to the user's theme and to light/dark. **Don't** hard-code hex values from this file.-- **Do** rank information with the text-opacity scale (`colorText` β `colorTextTertiary`). **Don't** signal state with color alone β pair it with an icon or label.-- **Do** keep solid `colorPrimary` for the single most important action and for state. **Don't** spread brand color as decoration.-- **Do** design all four data states β empty, loading, error, success. **Don't** ship only the happy path.-- **Do** build light + dark and desktop + mobile for every surface. **Don't** treat mobile or dark as an afterthought.-- **Do** keep `colorBg*` (surfaces) and the text/`colorFill` scales distinct. **Don't** swap a surface token for a text token.-- **Do** reach for `@lobehub/ui/base-ui` first, then `@lobehub/ui`. **Don't** rebuild a component the system already provides.-- **Do** honor `prefers-reduced-motion` and the user's animation mode. **Don't** add long or looping animation.-- **Do** hold WCAG AA contrast (4.5:1 for body text) and show a visible `:focus-visible` ring. **Don't** remove an outline without a visible replacement.-- **Do** keep one radius family and at most two font weights per view. **Don't** mix rounded and sharp corners.+- Read semantic tokens (`cssVar.colorText`, `cssVar.colorPrimary`, β¦); they adapt to the user's theme and to light/dark. Don't hard-code hex values from this file.+- Rank information with the text-opacity scale (`colorText` β `colorTextTertiary`). Don't signal state with color alone β pair it with an icon or label.+- Do keep solid `colorPrimary` for the single most important action and for state. Don't spread brand color as decoration.+- Do design all four data states β empty, loading, error, success. Don't ship only the happy path.+- Do build light + dark and desktop + mobile for every surface. Don't treat mobile or dark as an afterthought.+- Do keep `colorBg*` (surfaces) and the text/`colorFill` scales distinct. Don't swap a surface token for a text token.+- Do reach for `@lobehub/ui/base-ui` first, then `@lobehub/ui`. Don't rebuild a component the system already provides.+- Hold WCAG AA contrast (4.5:1 for body text) and show a visible `:focus-visible` ring.+- Don't mix rounded and sharp corners.