docs(ensnode.io): soften LinkCard hover with light blue background#2215
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
Warning Review limit reached
More reviews will be available in 51 minutes and 59 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)
📝 WalkthroughWalkthroughThis PR updates the Starlight documentation site link card styling. The ChangesLink card hover styling
🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
Greptile SummaryThis PR softens the hover effect on
Confidence Score: 5/5Safe to merge — a scoped CSS hover refinement with no functional or behavioral risk. The change is limited to hover appearance on link cards. It replaces previously hardcoded hex colors with color-mix() expressions built on existing CSS custom properties, making the tint correctly theme-adaptive in both light and dark mode. The aside-context override is explicit and targeted. No logic, data, or API surface is touched. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[.sl-link-card] -->|base styles| B["border-color: --sl-color-gray-4\ntransition: bg + border 0.2s"]
B --> C{hover?}
C -->|yes, normal context| D["bg: color-mix(accent 8%, transparent)\nborder: color-mix(accent 50%, transparent)"]
C -->|yes, inside aside| E["bg: --sl-color-black\nborder: color-mix(accent 50%, transparent)"]
C -->|no| F[unchanged]
D --> G[smooth tinted highlight]
E --> H[aside dark surface preserved]
Reviews (5): Last reviewed commit: "code suggestion" | Re-trigger Greptile |
There was a problem hiding this comment.
Pull request overview
This PR updates the docs site’s Starlight theme styling to make LinkCard hover states feel softer by introducing a light blue hover background and a matching border highlight.
Changes:
- Add a dedicated
.sl-link-card:hoverrule with a light blue background. - Adjust LinkCard hover border color to a lighter blue highlight (separate from pagination hover styling).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Actionable comments posted: 0 |
Lite PR
Tip: Review docs on the ENSNode PR process
Summary
Why
Requested by @lightwalker-eth
Testing
Notes for Reviewer (Optional)
Pre-Review Checklist (Blocking)