Skip to content

Conversation

Samridha0305
Copy link
Contributor

@Samridha0305 Samridha0305 commented Aug 24, 2025

Description

This PR resolves multiple visual issues in the dark theme for the stats section and feature section to ensure a cleaner and more professional look.

Fixes #425

Screenshots

Before:
image

After:
image

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers/devices
  • My changes do not generate new console warnings or errors , I ran npm run build and attached scrrenshot in this PR.
  • This is already assigned Issue to me, not an unassigned issue.

Copy link

vercel bot commented Aug 24, 2025

@Samridha0305 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@Samridha0305
Copy link
Contributor Author

@sanjay-kv @iitzIrFan have a look on this

Copy link
Contributor

@Copilot 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 resolves visual issues in the dark theme for the "Get Started" page, specifically addressing styling problems in the stats section and feature section to improve the professional appearance.

  • Consolidates and refactors dark theme CSS selectors for better organization
  • Updates feature cards with improved gradients, shadows, and hover effects for dark theme
  • Redesigns stat cards with enhanced styling, gradients, and proper color contrast

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +4 to 7
[data-theme='dark'] {
background: linear-gradient(135deg, #000000 0%, #0a0a0f 100%);
color: #f9fafb;
}
Copy link

Copilot AI Aug 24, 2025

Choose a reason for hiding this comment

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

The selector [data-theme='dark'] is too broad and will apply these styles to any element with the dark theme attribute. This should be scoped to specific components or use a more specific class selector to avoid unintended styling conflicts.

Copilot uses AI. Check for mistakes.

Comment on lines +1267 to +1268
display: none !important;
content: none !important;
Copy link

Copilot AI Aug 24, 2025

Choose a reason for hiding this comment

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

Using !important with display: none and content: none is redundant and violates best practices. Consider removing the pseudo-element entirely by restructuring the CSS or using proper cascade specificity.

Suggested change
display: none !important;
content: none !important;
content: "";
opacity: 0;

Copilot uses AI. Check for mistakes.

Comment on lines +1378 to +1381
/* .statCard:hover .statLabel {
color: white;
opacity: 1;
}
} */
Copy link

Copilot AI Aug 24, 2025

Choose a reason for hiding this comment

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

Commented-out code should be removed rather than left in the codebase. If this code might be needed in the future, it should be documented in version control history instead.

Copilot uses AI. Check for mistakes.

Comment on lines +1442 to +1444
[data-theme="dark"] .statLabel,
[data-theme="dark"] .statLabel * {
color: #ffffff !important;
Copy link

Copilot AI Aug 24, 2025

Choose a reason for hiding this comment

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

The universal selector * combined with !important is overly aggressive and can break styling of child elements. This rule also uses double quotes while the rest of the file uses single quotes, creating inconsistency.

Suggested change
[data-theme="dark"] .statLabel,
[data-theme="dark"] .statLabel * {
color: #ffffff !important;
[data-theme='dark'] .statLabel {
color: #ffffff;

Copilot uses AI. Check for mistakes.

Copy link
Member

@iitzIrFan iitzIrFan left a comment

Choose a reason for hiding this comment

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

LGTM ! @Samridha0305
@sanjay-kv Ready for merge.

Copy link

vercel bot commented Aug 25, 2025

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

Project Deployment Preview Comments Updated (UTC)
recode-website Ready Ready Preview Comment Aug 25, 2025 9:24am

@sanjay-kv
Copy link
Member

Good job @Samridha0305

@sanjay-kv sanjay-kv merged commit 898ab9f into recodehive:main Aug 25, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in @recode-web Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

🐞[Bug]: Dark Mode issue (Get started)

3 participants