Repository navigation
fix(www): plain code blocks are readable in light mode - #8120
Conversation
A code block without a language isn't highlighted, so its text took the typography plugin's own color, which is for a dark background. The site now sets every color of the plugin for both themes, and a test checks that none is left out. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019Un67hQz9cZvbcHHkJ5eKL
|
The latest updates on your projects. Learn more about Vercel for GitHub.
6 Skipped Deployments
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
@trpc/client
@trpc/next
@trpc/openapi
@trpc/react-query
@trpc/server
@trpc/tanstack-react-query
@trpc/upgrade
commit: |
|
Generated by Claude Code |
trpc-bot
left a comment
There was a problem hiding this comment.
Sets every typography plugin color in .prose for both themes. Plain code blocks are now readable in light mode. The test fails without the fix and names the missing colors. kbd-shadows is a full color in plugin 0.5.20, so var(--border) is valid. The openapi-codegen failure is unrelated and not required.
Generated by Claude Code
|
This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you. |
Why
What
precolor, which is for a dark background..prosenow sets every color of the plugin for both themes: thepretext and background,lead,captionsandkbd. Before, any it didn't set kept a default meant for one theme.Links
Alternatives considered
text: it fixes code blocks only, and leaves the other plugin defaults to leak the same way.Testing
the site sets every color of the typography plugin, so none is for one theme onlyinwww/src/prose.test.tsfails without this change, listing the colors left out.AI model
Claude, via Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_019Un67hQz9cZvbcHHkJ5eKL