Skip to content

fix: roadmap model dark theme#5398

Merged
princerajpoot20 merged 1 commit into
asyncapi:website-uifrom
sammy200-ui:website-ui-roadmap-dark-theme
May 12, 2026
Merged

fix: roadmap model dark theme#5398
princerajpoot20 merged 1 commit into
asyncapi:website-uifrom
sammy200-ui:website-ui-roadmap-dark-theme

Conversation

@sammy200-ui
Copy link
Copy Markdown
Contributor

@sammy200-ui sammy200-ui commented May 11, 2026

fixes the Roadmap modal theme #5253 (comment)

Screenshot 2026-05-11 at 8 12 19 PM

Summary by CodeRabbit

  • Style
    • Improved dark mode visuals for modals and roadmap items: dialog text, titles, close controls, and content now adapt for better contrast and readability in dark theme. Visual updates only — no changes to behavior, interactions, or component APIs.

Review Change Stack

@netlify
Copy link
Copy Markdown

netlify Bot commented May 11, 2026

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 5b14974
🔍 Latest deploy log https://app.netlify.com/projects/asyncapi-website/deploys/6a01ef09bb74720008dabfcd
😎 Deploy Preview https://deploy-preview-5398--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@asyncapi-bot asyncapi-bot requested a review from CBID2 May 11, 2026 14:39
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 11, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 68027ff6-1403-4b8f-96bb-1a4a9cd0f327

📥 Commits

Reviewing files that changed from the base of the PR and between 80655ae and 5b14974.

📒 Files selected for processing (2)
  • components/Modal.tsx
  • components/roadmap/RoadmapPill.tsx

📝 Walkthrough

Walkthrough

This PR adds dark-mode styling to the Modal component and RoadmapPill component. Modal now applies dark-background color, white/gray text, and hover states in dark mode. RoadmapPill inverts prose typography styling for dark-mode readability. No functional changes to component APIs or behavior.

Changes

Dark Mode Styling for Modal and RoadmapPill

Layer / File(s) Summary
Modal Dark Mode Styling
components/Modal.tsx
Modal card uses dark:bg-dark-background; title and close button use dark:text-white with close button hover at dark:text-gray-300; children wrapper applies dark:text-gray-300 for content text adaptation.
RoadmapPill Dark Mode Prose Styling
components/roadmap/RoadmapPill.tsx
Description modal content class upgraded from prose to prose dark:prose-invert to invert typography styles in dark mode.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A moonlit modal now glows so bright,
With shadows dancing in the night—
Dark backgrounds, text so white and gray,
RoadmapPill prose inverted on display!
✨ Dark mode readers shall see the way.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding dark theme styling to the roadmap modal component, which is confirmed by changes in both Modal.tsx and RoadmapPill.tsx files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@sammy200-ui sammy200-ui force-pushed the website-ui-roadmap-dark-theme branch from 05ef71b to e3f28bb Compare May 11, 2026 14:41
@sammy200-ui sammy200-ui changed the title Website UI roadmap dark theme fix: roadmap model dark theme May 11, 2026
Copy link
Copy Markdown

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

This PR updates dark-mode styling to ensure the Roadmap item modal and the Finance Summary page components render correctly under the site’s global dark theme rollout (per the referenced comment in #5253).

Changes:

  • Add dark-mode styles to the shared Modal component and Roadmap pill description content.
  • Apply dark-mode background/text styles across Finance Summary sections (cards, tables, tooltips, etc.).
  • Adjust the finance bar chart rendering behavior to avoid client-only rendering issues and improve dark-mode chart readability.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pages/finance.tsx Adds a dark background wrapper for the finance page.
components/roadmap/RoadmapPill.tsx Inverts prose colors for the modal description in dark mode.
components/Modal.tsx Adds dark-mode background/text styling for modal UI.
components/FinancialSummary/SuccessStories.tsx Adds dark-mode background and text colors.
components/FinancialSummary/SponsorshipTiers.tsx Adds dark-mode background and text colors for table content.
components/FinancialSummary/OtherFormsComponent.tsx Adds dark-mode background/card styling and improves list keys.
components/FinancialSummary/ExpenseBreakdown.tsx Adds dark-mode background/card styling and text colors.
components/FinancialSummary/CustomTooltip.tsx Updates tooltip styling for dark-mode compatibility.
components/FinancialSummary/Card.tsx Adds dark-mode card background/text styling.
components/FinancialSummary/BarChartComponent.tsx Improves dark-mode text/chart styling and gates client-only rendering.
components/FinancialSummary/AsyncAPISummary.tsx Adds dark-mode text styling and inverts the GitHub logo in dark mode.

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

Comment thread components/Modal.tsx Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (80655ae) to head (5b14974).
⚠️ Report is 2 commits behind head on website-ui.

Additional details and impacted files
@@             Coverage Diff              @@
##           website-ui     #5398   +/-   ##
============================================
  Coverage      100.00%   100.00%           
============================================
  Files              22        22           
  Lines             830       830           
  Branches          159       159           
============================================
  Hits              830       830           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sammy200-ui
Copy link
Copy Markdown
Contributor Author

@coderabbitai full review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 11, 2026

✅ Actions performed

Full review triggered.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@components/Modal.tsx`:
- Line 64: In the Modal component update the Tailwind variant order in the
className that currently contains "dark:text-white hover:dark:text-gray-300":
change the stacked variant from "hover:dark:text-gray-300" to
"dark:hover:text-gray-300" so the dark mode qualifier appears before the hover
state (i.e., ensure the className string uses "dark:text-white
dark:hover:text-gray-300"); locate this in the Modal.tsx className on the
element rendering the modal close/action text and make the replacement.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f284cd48-4b7e-4568-ab0a-e836bf1fd457

📥 Commits

Reviewing files that changed from the base of the PR and between 80655ae and e3f28bb.

📒 Files selected for processing (2)
  • components/Modal.tsx
  • components/roadmap/RoadmapPill.tsx

Comment thread components/Modal.tsx Outdated
@sammy200-ui sammy200-ui force-pushed the website-ui-roadmap-dark-theme branch from e3f28bb to 5b14974 Compare May 11, 2026 15:00
@sonarqubecloud
Copy link
Copy Markdown

@sammy200-ui
Copy link
Copy Markdown
Contributor Author

@princerajpoot20 ready for review

@princerajpoot20
Copy link
Copy Markdown
Member

@sammy200-ui what is the reason behind marking this suggestion as resolved: #5398 (comment)

@sammy200-ui
Copy link
Copy Markdown
Contributor Author

@princerajpoot20 I have actually taken the review in consideration 5b14974 if you take a look at this its been implemented 🙂

@princerajpoot20
Copy link
Copy Markdown
Member

@coderabbitai full review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 12, 2026

✅ Actions performed

Full review triggered.

@princerajpoot20 princerajpoot20 merged commit 06b0a05 into asyncapi:website-ui May 12, 2026
18 of 19 checks passed
@github-project-automation github-project-automation Bot moved this from To Be Triaged to Done in Website - Kanban May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants