Skip to content

refactor: use global CSS variables in hero section#624

Merged
Aditya948351 merged 1 commit into
devpathindcommunity-india:masterfrom
divyashree200621-bot:issue-620-hero-css-variables
Jun 15, 2026
Merged

refactor: use global CSS variables in hero section#624
Aditya948351 merged 1 commit into
devpathindcommunity-india:masterfrom
divyashree200621-bot:issue-620-hero-css-variables

Conversation

@divyashree200621-bot

Copy link
Copy Markdown
Contributor

Description

Refactored the Hero section by replacing hardcoded text color values with global CSS variables defined in globals.css. This improves theme consistency and maintainability across the application.

Fixes

Closes #620

Changes Made

  • Replaced #0f172a with var(--text-primary)
  • Replaced #ffffff with var(--text-primary)
  • Replaced #1e293b with var(--text-secondary)
  • Replaced #e2e8f0 with var(--text-light)

Type of Change

  • Refactor

How Has This Been Tested?

  • Local testing

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings or errors
  • No unrelated files were modified

@Aditya948351

Aditya948351 commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Approving this PR, great work @divyashree200621-bot Keep Contributing and Growing!
Issue #429 is open for any type of Doubts!
Do star the repo if not already! You are open to find more issues on this repository!
Thank You for the contribution!

@Aditya948351 Aditya948351 merged commit ee0477c into devpathindcommunity-india:master Jun 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue gssoc:approved give 50+ base points gssoc26 This is a official GirlScript Summer of Code label. level:beginner Beginner level issues type:accessibility type:design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor]: Extract hardcoded hex colors in Hero section to global CSS variables

2 participants