docs: brand-aligned syntax theme for code blocks#3294
Conversation
📝 WalkthroughWalkthroughA new dark theme ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest Buf updates on your PR. Results from workflow CI / buf-check (pull_request).
|
|
Claude finished @auricom's task in 1m 32s —— View job Code Review: docs: brand-aligned syntax theme for code blocksSummary: Clean, well-structured docs-only PR. The theme follows standard VSCode/TextMate conventions, colors align with the brand palette in Checklist
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3294 +/- ##
==========================================
+ Coverage 62.45% 62.47% +0.01%
==========================================
Files 122 122
Lines 13047 13047
==========================================
+ Hits 8149 8151 +2
+ Misses 4012 4011 -1
+ Partials 886 885 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
78257b5 to
999af65
Compare
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
- Add `"type": "dark"` to ev-dark.json theme manifest - Raise punctuation token contrast from #505050 to #767676 (WCAG AA) - Align --vp-code-block-color CSS var with ev-dark default text (#dbd7ca) - Use ThemeRegistration type instead of `as any` in config.ts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: better code readability * chore: restore yarn.lock to main Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs(style): address PR review feedback - Add `"type": "dark"` to ev-dark.json theme manifest - Raise punctuation token contrast from #505050 to #767676 (WCAG AA) - Align --vp-code-block-color CSS var with ev-dark default text (#dbd7ca) - Use ThemeRegistration type instead of `as any` in config.ts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
Replaces the default Shiki theme (which used light-mode token colors on a black background, producing low-contrast dark-blue-on-black text).
Before
After
Test plan
yarn dev— open any guide page with code blocks and verify all token types are readable on the black background# …), YAML keys, string values, keywords, and numbers each render in a distinct, readable color🤖 Generated with Claude Code
Summary by CodeRabbit