docs: catppuccin latte#2193
Conversation
…provider, context, hooks, and query utilities are now exported from `@namehash/namehash-ui`.
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
More reviews will be available in 59 minutes and 45 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 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 |
There was a problem hiding this comment.
Pull request overview
Updates the ENSNode docs site Starlight integration to use the Catppuccin Latte theme for Expressive Code syntax highlighting, aligning code block styling with the intended light-mode presentation.
Changes:
- Configure Starlight’s
expressiveCodeto use thecatppuccin-lattetheme for code blocks.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Greptile SummaryThis PR sets
Confidence Score: 4/5Safe to merge for light-mode users; dark mode code blocks will render with a light theme background until a dark counterpart is added. The change is a single-line config addition with no functional risk beyond the known single-theme / dark-mode rendering mismatch that has already been called out in a prior review comment. docs/ensnode.io/config/integrations/starlight/index.ts — only one file touched, limited to the expressiveCode theme option. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Starlight Config] --> B[expressiveCode]
B --> C["themes: ['catppuccin-latte']"]
C --> D{User Preference}
D -->|Light Mode| E[catppuccin-latte ✓]
D -->|Dark Mode| F[catppuccin-latte applied\n⚠️ Light theme in dark mode]
Reviews (2): Last reviewed commit: "Merge branch 'main' into docs/catppuccin..." | Re-trigger Greptile |
| expressiveCode: { | ||
| themes: ["catppuccin-latte"], | ||
| }, |
There was a problem hiding this comment.
Single theme breaks dark mode code blocks
Starlight's Expressive Code integration uses the first element for light mode and the second for dark mode. With only catppuccin-latte (a light theme) provided, code blocks will render with a light background even when the user has dark mode active. Since this config already overrides ThemeProvider and ThemeSelect, the site clearly supports dark mode — consider pairing catppuccin-latte with a dark counterpart such as catppuccin-mocha (e.g. themes: ["catppuccin-latte", "catppuccin-mocha"]).
Lite PR
Tip: Review docs on the ENSNode PR process
Summary
catppuccin-lattefor the expressive code themeWhy
Testing
Notes for Reviewer (Optional)
Pre-Review Checklist (Blocking)