Skip to content

docs: catppuccin latte#2193

Open
notrab wants to merge 4 commits into
mainfrom
docs/catppuccin-latte
Open

docs: catppuccin latte#2193
notrab wants to merge 4 commits into
mainfrom
docs/catppuccin-latte

Conversation

@notrab
Copy link
Copy Markdown
Member

@notrab notrab commented May 25, 2026

Lite PR

Tip: Review docs on the ENSNode PR process

Summary

  • Set catppuccin-latte for the expressive code theme

Why

  • Why this change exists. Link to related GitHub issues where relevant.

Testing

  • Viewed various pages in docs, including GraphiQL.
image

Notes for Reviewer (Optional)

  • Anything non-obvious or worth a heads-up.

Pre-Review Checklist (Blocking)

  • This PR does not introduce significant changes and is low-risk to review quickly.
  • Relevant changesets are included (or are not required)

notrab added 2 commits May 25, 2026 11:51
…provider, context, hooks, and query utilities are now exported from `@namehash/namehash-ui`.
Copilot AI review requested due to automatic review settings May 25, 2026 11:38
@notrab notrab requested a review from a team as a code owner May 25, 2026 11:38
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 25, 2026

⚠️ No Changeset found

Latest commit: 40e306d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admin.ensnode.io Ready Ready Preview, Comment May 31, 2026 10:54pm
enskit-react-example.ensnode.io Ready Ready Preview, Comment May 31, 2026 10:54pm
ensnode.io Ready Ready Preview, Comment May 31, 2026 10:54pm
ensrainbow.io Ready Ready Preview, Comment May 31, 2026 10:54pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 25, 2026

Warning

Review limit reached

@lightwalker-eth, we couldn't start this review because you've reached your PR review rate limit.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 439bc7b4-51c1-4bfa-b334-129a3b023fb1

📥 Commits

Reviewing files that changed from the base of the PR and between 8a86fb4 and 40e306d.

📒 Files selected for processing (1)
  • docs/ensnode.io/config/integrations/starlight/index.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/catppuccin-latte

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 expressiveCode to use the catppuccin-latte theme for code blocks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 25, 2026

Greptile Summary

This PR sets catppuccin-latte as the Expressive Code syntax highlighting theme for the ENSNode documentation site's code blocks.

  • Adds expressiveCode: { themes: [\"catppuccin-latte\"] } to the Starlight integration config, replacing the default theme with Catppuccin Latte (a light theme).
  • Only a single light theme is configured; Starlight uses the first entry for light mode and the second for dark mode, so dark mode users will see a light-background code block — this was already flagged in a previous review thread.

Confidence Score: 4/5

Safe 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

Filename Overview
docs/ensnode.io/config/integrations/starlight/index.ts Adds expressiveCode.themes: ["catppuccin-latte"] to Starlight config to set a light syntax highlighting theme for code blocks; only a single light theme is provided, which affects dark mode rendering.

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]
Loading

Reviews (2): Last reviewed commit: "Merge branch 'main' into docs/catppuccin..." | Re-trigger Greptile

Comment on lines +10 to +12
expressiveCode: {
themes: ["catppuccin-latte"],
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 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"]).

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.

3 participants