Repository navigation
chore: land 1 reviewed pull request (batch 41) - #12916
Conversation
…k, pages reset hash)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec 62ea6bf |
|
/approve-spec 62ea6bf |
There was a problem hiding this comment.
Changes requested: one claim in the description does not match the record it describes.
- The writing-rubric line for
architecture:theme-tokensINV14 says the measured contrast stays out of the record, but INV14's last sentence records it ("The lowest pair is--color-background-grayover the page body (4.52:1)",docs/architecture/theme-tokens.md:229); drop that sentence (a record edit needs a fresh/approve-spec) or correct the rubric line.
The token change itself holds up: light secondary text now meets 4.5:1 on all ten stock tints over the surface and the page body. Every copy of the old value is updated, and dark mode, forced colours and the first-party themes render identically. Three of the dashboard templates touched here grade below 75 on the template rubric, and three pages run past 1,000 lines; all of that is unchanged from main and does not block.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: the branch merges the reviewed change onto current
mainas a merge commit: verified (the head is a two-parent merge;maingained only an unrelated docs commit afterwards). - Claim: the light secondary-text default moves to
#445564and reaches 4.5:1 on the stock tints: verified (tokens.stylex.ts:45; lowest pair 4.52:1; tests pass). - Claim: the templates and docs that name the old value follow: verified (eight template fallbacks, the token doc, the lint README, both
reset.csscopies). - Claim: the scope and records lines describe the change: verified.
- Claim: rubric R1 and R2, R4 to R7 report nothing to fix: verified.
- Claim: rubric R3, the measured contrast stays out of the record: false (
theme-tokens.md:229). - Changeset: secondary text on a gray Card or any hue tint meets 4.5:1 over the surface and the body: verified for Core's defaults.
- Changeset: the dark value is unchanged, and
light-dark(#4E606F, #B0B5BB)restores the old colour: verified. - Files:
docs/architecture/theme-tokens.md: finding above. - Files:
tokens.stylex.ts, bothreset.csscopies, the pages manifest,contrast.test.ts,expandColorScale.test.ts,reset.a11y.chromium.spec.ts, the eight page templates,tokens-color.doc.mjs,DefaultTheme.swift, the lint README, the changeset: clear.
PR Analysis Report🔎 Preview ·
|
|
/approve-spec 16047d7 |
|
/approve-spec 16047d7 |
There was a problem hiding this comment.
Approved pending CI: CI has not finished on this head yet.
The one blocking point from the last review is resolved: the writing-rubric line for architecture:theme-tokens INV14 now says the record names its lowest measured pair, which is what INV14 states. The token change holds up, with light secondary text at 4.5:1 or more on all ten stock tints over the surface and the page body, every copy of the old value updated, and dark mode, forced colours and the first-party themes unchanged. Three dashboard templates touched here grade below 75 on the template rubric and three pages run past 1,000 lines; both are unchanged from main and do not block.
Claims and files checked
Review mode: incremental; reason: none
- Claim: the branch merges the reviewed change onto
mainas a merge commit: verified (a two-parent merge of the base and the change's head, then an empty commit; the theme tests also pass merged onto today'smain). - Claim: the light secondary-text default moves to
#445564and reaches 4.5:1 on the stock tints: verified (tokens.stylex.ts:45; lowest pair 4.52:1; the new test fails on the base and passes here). - Claim: the templates and docs that name the old value follow: verified (eight template fallbacks, the token doc, the lint README, both
reset.csscopies). - Claim: the scope and records lines describe the change: verified.
- Claim: rubric R1, R2 and R4 to R7 report nothing to fix: verified.
- Claim: rubric R3, the record names its lowest measured pair as evidence with no change reference: verified (
theme-tokens.md:229). - Claim: the merged change's own pull request is closed afterwards: a landing-process statement, not checked against code.
- Changeset: secondary text on a gray Card or any hue tint meets 4.5:1 over the surface and the body: verified for Core's defaults.
- Changeset: the dark value is unchanged, and
light-dark(#4E606F, #B0B5BB)restores the old colour: verified. - Files: the eight dashboard and table page templates: clear for this change; the template-rubric and page-size notes above are inherited.
- Files:
tokens.stylex.ts, bothreset.csscopies, the pages manifest,contrast.test.ts,expandColorScale.test.ts,reset.a11y.chromium.spec.ts,theme-tokens.md,tokens-color.doc.mjs,DefaultTheme.swift, the lint README, the changeset: clear.
Merges this reviewed pull request onto current main as a merge commit. This branch checks that it builds and tests on today's main.
Core's light
--color-text-secondarydefault moves from #4E606F to #445564, so secondary text reaches 4.5:1 on the stock palette tints; the templates and docs that name the old value follow.Scope
Components: Core theme tokens (
--color-text-secondarylight default), CLI color-token docs, templates that name the old value, the docsite reset stylesheetRecords
architecture:theme-tokensINV14: Core's light secondary text default and the contrast it meets on the stock palette tints. (fix(core): secondary text meets 4.5:1 on the stock palette tints #12269)Writing rubric results
architecture:theme-tokensINV14 (#12269): R1 present tense; states the default and the contrast it meets. R2 none. R3 the record names its lowest measured pair (--color-background-grayover the page body, 4.52:1) as the evidence for the 4.5:1 requirement, with no change reference. R4 none. R5 none. R6 none. R7 none.When this merges, the pull request above is closed with a note that names this one.