Repository navigation
fix(fields): the auto-number read display uses the theme foreground, not a fixed grey - #36008
Conversation
…not a fixed grey The read display hard-coded text-gray-700 with no dark-mode partner, so it dimmed in dark mode. It now reads in text-foreground, the token the summary face already uses, with the same "no fixed grey" pin. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CZiaBg6rk7dpy1s9Me
|
repo:objectstack#5 · os-bill · session_01Utp6CXsZsKmgG1EcKp5bY4 维护者速读
席位核对ACCEPT · head
R1: CI is running. Land when it is green. |
|
repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me Landing · head
Nit (changeset carries no Clause-② / Metadata-protocol lines): the changeset guards passed, so no push; the PR body carries both lines. Status: |
Requested by Bill · project thread
repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me
Fixes #35278
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
@object-ui/fieldsAutoNumberField: the read display'stext-gray-700(nodark:partner) becomestext-foreground, the theme tokenSummaryFieldmoved to in #34182 / PR #35269.Tests
autoNumberFace.darkColour-35278.test.tsx, same shape as the summary face's: a formatted and a bare value each read intext-foregroundand carry no fixedtext-(gray|slate|zinc|neutral|stone)-N. Ablation onorigin/main56fa31bca2: red; with the fix: green.summaryFaces.numberFace-11752and the four fields e2e suites that renderAutoNumberField(display-grid host channels, DOM leak, readonly host plumbing, aria-invalid registry): 6 files, all green.Self-land: 48 added / 1 removed lines, under the area's 50-line bar.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CZiaBg6rk7dpy1s9Me