Skip to content

chore(cli): readable dim text in the report's light theme; docs homepage - #56

Merged
lucasbraum merged 1 commit into
mainfrom
claude/report-contrast-homepage
Oct 10, 2026
Merged

lucasbraum merged 1 commit into
mainfrom
claude/report-contrast-homepage

Conversation

@lucasbraum

Copy link
Copy Markdown
Collaborator

What and why

  • Contrast. The HTML report's light theme dims text with #6A675F instead of #76736B. On the #F4F2EC background that is 5.05:1, up from 4.23:1, which was below WCAG AA's 4.5:1 for body text. A case-insensitive search of the whole repository found one use of #76736B: the light theme's --dim in packages/cli/src/html/assets.ts. No docs or screenshot generator references it. The dark theme (--dim:#918E83) and the print styles are untouched.
  • Homepage. packages/cli/package.json homepage is now https://uptide-dev.github.io/docs (was the GitHub README).
  • README screenshot. docs/screenshots/readme/check.png is rendered again from this build, following docs/screenshots/readme/README.md: uptide check zod --html on the public fixtures/repos/storefront fixture, header.hero, section.next and footer hidden, light color scheme, 1280 wide, trimmed below the zod section. The content is the same as before; the dim text (labels, versions, counts) is darker.

How it was verified

  • Contrast is computed with the WCAG relative-luminance formula: #76736B on #F4F2EC is 4.23:1, and #6A675F is 5.05:1.
  • The rendered report contains --dim:#6A675F in the light theme.
  • pnpm lint, pnpm typecheck and pnpm test pass (uptide 350/350; core 927 passed, 15 skipped).
  • The new homepage URL could not be opened from the environment this ran in, which blocks github.io. It should be checked once it's live.

Checklist

  • Tests for the change: a color value and a URL, covered by the existing tests
  • pnpm lint && pnpm typecheck && pnpm test pass
  • README and docs updated if behavior changed (README screenshot refreshed)
  • Changeset added (.changeset/report-dim-contrast.md, patch)
  • No new dependency
  • No private code, names or paths in fixtures, tests or docs: the screenshot is of the public storefront fixture
  • The rules in CONTRIBUTING.md ("Rules that do not bend") still hold

🤖 Generated with Claude Code

https://claude.ai/code/session_01B2T8GmEVnZwfNrugajEMqi


Generated by Claude Code

- The HTML report's light theme dims text with #6A675F instead of
  #76736B: 5.05:1 on the #F4F2EC background, up from 4.23:1, which was
  below WCAG AA's 4.5:1. It was the only use of #76736B in the
  repository. The dark theme is unchanged.
- packages/cli/package.json homepage is https://uptide-dev.github.io/docs.
- docs/screenshots/readme/check.png is rendered again from this build,
  following docs/screenshots/readme/README.md (`uptide check zod --html`
  on fixtures/repos/storefront, light, 1280 wide).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01B2T8GmEVnZwfNrugajEMqi
Signed-off-by: Claude <[email protected]>
@lucasbraum
lucasbraum marked this pull request as ready for review October 10, 2026 02:36
@lucasbraum
lucasbraum merged commit c64ba2c into main Oct 10, 2026
8 checks passed
@lucasbraum
lucasbraum deleted the claude/report-contrast-homepage branch October 10, 2026 02:37
@uptide-release uptide-release Bot mentioned this pull request Oct 10, 2026
lucasbraum pushed a commit that referenced this pull request Oct 10, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## [email protected]

### Patch Changes

- [#56](#56)
[`c64ba2c`](c64ba2c)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - The HTML report's
light theme uses `#6A675F` for dimmed text (5.1:1 on the page
background,
was 4.2:1, below WCAG AA's 4.5:1), and the package's homepage is
https://uptide-dev.github.io/docs.

- [#54](#54)
[`c502cc8`](c502cc8)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - `fix` and
`verify` install a repository that pins Yarn 2 or later in
`packageManager` even
when the `yarn` on PATH is classic 1.x or absent: the pinned version
runs through corepack
(`corepack yarn install ...`, download prompt off) without enabling
corepack or changing
anything on your machine outside corepack's cache. Before, Yarn stopped
the run with "the
current global version of Yarn is 1.22.22". When corepack is missing,
the run stops before
cloning with exit code 2 and the command to run (`corepack enable`);
when corepack cannot
fetch the pinned version, the message names `COREPACK_NPM_REGISTRY` for
corporate mirrors.

Co-authored-by: uptide-release[bot] <338861287+uptide-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants