Skip to content

控制台整体观感收齐:字号收成两档、不再用加粗到 600 的字重,控件圆角统一成 8,内容区改白底 #36047

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #34571(专题:控制台核心页面体验,维护者直派)。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。

维护者说过的(2026-11-21)

  • 「已经开发完成的的列表页相关功能和记录详情页,再继续深度详细对照 attio 每一个细节的效果,关于界面美观度和用户体验提出优化改进意见,和我沟通」
  • 协调席给了 12 条对照意见,维护者:「其他你的其他Attio意见, 1 3 4 5 7 8 10 都同意,立卡」(本卡是其中第 1、3、4 条)

现状(主干 c00be39b74,本机环境浏览器实测,1440 宽,「客户」列表和「销售商机」记录页,量的是计算后的样式)

  • 字号和字重混用。同一页里有 12、13、14 三种字号和 400、500、600 三种字重:列表正文 13,标签 12 且字重 600;记录页页签「概览」13/500,旁边的「跟进记录」14/400;字段标签 12/400,字段值 13/400 和 13/500 都有;「更多详情」「最近动态」13/600,「其他相关」12/500;「编辑」按钮 14/500。text-[13px] 在 ui/packages 里有 169 处。
  • 圆角不统一。按钮和工具栏控件圆角 12(ui/apps/console/src/index.css:406 的 --radius: 0.875rem 一档派生),负责人小块圆角 4,标签全圆。
  • 内容区是灰底。页面底色 rgb(246,246,249)(ui/apps/console/src/index.css:410 --background: 240 24% 97%),列表的表格透明,直接铺在灰底上,没有白色承载面;记录页同样。

现状:我们的列表页(灰底、13 号字、圆角 12 的按钮)

现状:我们的记录页

参照(Attio,同样 1440 宽实测)

全站正文 14 号、字重 500,只有标签和分区小标题用 12 号;控件 28 高、圆角 8;整页白底,只有侧边栏是浅灰。

参照:Attio 列表页(白底、单一字号、圆角 8 的控件)

参照:Attio 记录页

要做的

  1. 字号两档:正文 14,次要信息 12。次要信息指:字段标签、分区小标题、表头、时间和计数这类说明文字、标签小块里的字。页面里不再出现 13。
  2. 字重两档:正文 400;记录名称、页签、按钮、分区标题、表头用 500。不再用 600(页面大标题除外)。
  3. 控件圆角统一成 8:按钮、输入框、下拉、工具栏控件、页签小块、人员和关联小块。弹出框、抽屉、卡片这类大的面不在这里改(弹出框看 弹出框外观收紧:背后不再模糊、遮罩减淡,边改成两层(半透明外圈加白色内卡),白底,宽度跟着字段数走,控件降一档,底部加「连续创建」 #35980,抽屉看 贴边的右侧整高抽屉四角是 20px 圆角;改成直角(记录抽屉除外,它改成悬浮卡片) #35411)。
  4. 内容区白底:列表页、记录页的内容区底色改成白色;侧边栏保持浅灰,和内容区之间留一条细线。深色主题按同样的关系处理(内容区用最深的那档底色,侧边栏浅一档)。
  5. 改在主题变量和公共组件上,不要逐页覆盖。列表页、记录页、看板、弹出框里的表单都跟着变。

不做的

验收

  • 「客户」列表、「销售商机」记录页上逐个量文字:字号只有 14 和 12 两种(页面大标题除外),字重只有 400 和 500 两种。
  • 记录页的页签:选中和未选中的字号相同。
  • 按钮、输入框、下拉、人员小块、关联小块的圆角都是 8。
  • 列表页、记录页内容区底色是白色;侧边栏是浅灰;深色主题下两者也分得开。
  • 弹出框、抽屉的圆角和改动前一样。
  • PR 正文附列表页、记录页、看板、新建弹出框在浅色和深色下的改动前后截图。

协调席自己加的(不是维护者原话)

维护者同意的是三条方向:「字号和字重收成两档」「圆角统一成一个值」「列表区和记录区改成白底,灰色只留给侧边栏」。下面这些具体取值是协调席定的:

  • 字号取 14 和 12;字重取 400 和 500,以及各自用在哪些地方。Attio 是全部 500,中文字体的 500 比拉丁字体显得重,所以正文取 400。
  • 圆角取 8,以及大的面不在本卡改。
  • 第 4 项里深色主题的处理、侧边栏和内容区之间的细线。
  • 第 5 项和「不做的」五条。

没有核对的

  • 只量了「客户」列表和「销售商机」记录页两处,看板、仪表盘、设置页没有逐个量。
  • 正文从 13 改到 14 后,列表每列能显示的字会变少,没有评估对现有列宽的影响。

Reader: domain:ui 车道。ui/apps/console/src/index.css(主题变量,:179-210、:406-419)、ui/packages/components/src/index.css、ui/packages/components 里的按钮、输入框、页签、标签。

Dedupe: 字号 字重 统一、圆角 统一 控件、页面底色 白底(objectstack,open)→ 都是 0。相关:#35980(弹出框外观)、#35411(抽屉边角)、#35985(对象图标颜色)。

附图补于 2026-11-21T11:25Z(维护者:「你没有带截图吗」「用 attio 的截图」)。

Activity

  1. added
    enhancement
    priority:p2
    domain:ui
    on Nov 21, 2026
  2. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim: card thread · 2026-11-21T11:30Z · slice 1 of 2 of #36047 (Part of #36047); card given to this seat by the maintainer at 2026-11-21 11:23Z (epic #34571). Slice 2 (font sizes and weights across pages, Fixes #36047) is built in parallel in a new session and lands last.
    Area: b1-CX
    Session: session_01L6bhgVDwx4yqxWdY3Rurnk (card thread, dev-thread rule)
    Account: os-sales
    Branch: claude/project-thread-o4uuda
    Seat: repo:objectstack#1
    Domain: domain:ui
    File surface (slice 1): ui/apps/console/src/index.css theme tokens (--radius-md 8, --radius-sm 6, --background white for the content area, the sidebar light grey with a hairline, dark theme by the same relation); the Badge weight 600 → 500 as a declared patch in ui/scripts/shadcn-local-patches.mjs; the people and lookup chips' radius 8; tests; a changeset.
    Container & model: L card cut in two, own card thread, model: opus, effort: high
    Clause-②: no (theme tokens and internal component styles; no export, prop or i18n key)
    Metadata-protocol: none
    Premise (thread, main 8145424b, /mnt/project-files/build-seat1/36047/premise.md): holds. Sizes 12/13/14 and weights 400/500/600 are mixed; controls use radius 12 from --radius; the content area sits on a grey page background.
    Basis: card #36047 (epic #34571; the card marks the values the coordinator chose).
    Scope, the seat's reading: slice 1 changes the theme variables and the shared pieces only; slice 2 sweeps 13 → 14/12, 600 → 500 and 11/10 → 12 on the console pages (not Studio or metadata admin) and takes EDITOR_DENSITY_CLASS. Three questions from the premise (white background everywhere or only list and record pages; whether default column widths grow with 13 → 14; whether coloured option chips go to radius 8) go to the maintainer after a fable review. Slice 1 is built locally on the recommended answers and is not pushed until they are known.
    Resume-from: none
    Fold-or-serial: slice 1 lands right after #36038 (#35980 dialog look) and touches few lines other PRs edit; slice 2 overlaps most in-flight UI PRs (listed in the premise, section 3) and lands last after merging main. overlap-check.mjs before each push. L1 at L1-a. The branch is the card thread's harness push branch, a measured platform exception to claude/issue-<n>-<slug>.

  3. added
    pm:dispatched
    on Nov 21, 2026
  4. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: pm:dispatched to seat 1 (as set); rationale: area:ux · Feature · the console's overall look tightened after Attio: two text sizes, no 600 weight, control radius 8, white content area; maintainer: 「其他你的其他Attio意见, 1 3 4 5 7 8 10 都同意,立卡」 (items 1, 3, 4) → p2 as set by the coordinator · size M.

  5. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Maintainer ruling · 2026-11-21T13:12Z · #36047 item 4 (content area white background)

    The maintainer (os-sales) chose option A on the seat's decision card at 2026-11-21T13:11Z: the whole console's content area turns white, not only the list and record pages. The option was reviewed by fable before the card went out (build-seat1/36047/fable-three.md in the project folder). Slice 1 therefore sets the white --background globally in the console, with the sidebar on a light grey, and its PR body names every page that changes.

  6. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Claim amendment · 2026-11-21T13:51Z · #36047 slice 2 (claim 7061948886 covered slice 1, PR #36093, armed)
    Area: b1-CX
    Session: session_01L6bhgUUrNKCZdu79ooP61V (card thread for slice 2)
    Account: os-sales
    Branch: claude/project-thread-5f2iq5
    Seat: repo:objectstack#1
    Domain: domain:ui
    File surface: about 445 sites in about 148 files of the console's runtime pages and shared parts (app-shell outside Studio and settings, plugin-grid, plugin-list, plugin-detail, plugin-kanban, plugin-form, fields, components/renderers, apps/console), plus 17 shared parts outside that list (four shadcn menu group labels through declared patches, ShareDialog, Snackbar), the 8 test files that pin the class names, and the mapping script. No Tier H.
    Container & model: L, card thread, model: opus, effort: high
    Clause-②: no (no export or i18n key; re-read on the built declarations before landing)
    Metadata-protocol: none
    Premise (thread, read on main 493ad095 plus #36093 merged locally, file build-seat1/36047/S2/premise-read.md in the project folder): 579 sites in 176 files on the premise's package list; settings pages (41), developer and Studio surroundings (57), dev-only (49) and phone-only (4) are left out per the card's "do not change the layout of Studio and settings pages", leaving 428 sites in 138 files (13px 110, 11/10px 137, other 21, semibold 168, bold 16).
    Basis: card #36047; the maintainer's ruling 7063106408; the fable review 36047/fable-three.md.
    Scope, the seat's reading: each 13 becomes 14 (body, cells, field values) or 12 (labels, headers, counts, times, tag text); 600 becomes 500 except page titles; 11/10 become 12; EDITOR_DENSITY_CLASS 13 → 14; colour tags stay a full pill (body says so); a before/after count of visible list columns on one screen.
    Resume-from: none
    Fold-or-serial: serial, lands LAST for the card. Overlaps by file: #36024 (9), #36054 (4), #36095 and #36088 (3 each), #36069, #36039, #36096, #36026 (2 each), #36033 (1). It merges main and re-runs the mapping script before landing; overlap-check.mjs before each push. L1 at L1-a. The PR carries Fixes #36047.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpm:dispatchedpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions