fix(ui): add dark theme visibility to Newsletter component text#5399
Conversation
✅ Deploy Preview for asyncapi-website ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesTheme-aware text styling
🎯 1 (Trivial) | ⏱️ ~3 minutes
🚥 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 |
|
|
@coderabbitai full review |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## website-ui #5399 +/- ##
============================================
Coverage 100.00% 100.00%
============================================
Files 22 22
Lines 830 830
Branches 159 159
============================================
Hits 830 830 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
✅ Actions performedFull review triggered. |
There was a problem hiding this comment.
Pull request overview
This PR updates the NewsletterSubscribe component’s default styling so its title/subtitle remain readable under the site-wide dark theme (without relying on a parent text-black).
Changes:
- Removes the default
text-blackfrom the component wrapperclassName. - Sets explicit Tailwind text color classes for heading/subtitle when
darkisfalse, includingdark:variants.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@sammy200-ui what is the reason behind marking this suggestion as resolved? https://github.com/asyncapi/website/pull/5399/changes#r3220548995 |
|
@princerajpoot20 my mistake - I should i have taken those in consideration , I should have checked how everything was looking on the light theme as well . I totally forgot that , will be more patient when reviewing the PR from next time |



fixes #5253 (review)

before
after

Summary by CodeRabbit