Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: toggle theme issue (#128) on developers/courses page #129

Closed
wants to merge 3 commits into from

Conversation

AnasJMirza
Copy link

Problem

When toggling between dark and light themes on the Courses Page, the page headings fail to adjust their color. This results in the headings being invisible in light mode after toggling from dark mode.

image

Summary of Changes

  1. Updated the DevelopersHeroSection.module.scss file to dynamically update heading color of this page. used variable that is already used in the project for theming.

  2. Verified that the headings are now visible in both light and dark modes after toggling the theme.

Code Snippet Highlight:

image

The current behavior

image

Fixes #128

Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
solana-com ✅ Ready (Inspect) Visit Preview Dec 12, 2024 9:55am

Copy link

vercel bot commented Dec 12, 2024

@anas-netixsol is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@catalinred catalinred left a comment

Choose a reason for hiding this comment

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

Thank you @AnasJMirza for working on this. Good catch!
Can you revert the yarn.lock and package.json changes?

@AnasJMirza
Copy link
Author

AnasJMirza commented Dec 16, 2024

@catalinred Yes sure, I am on it!

@catalinred
Copy link
Collaborator

@AnasJMirza you still willing to wrap this up?

@catalinred
Copy link
Collaborator

Please merge origin/main to this branch first. I won't be merging this branch with other file changes than these specific CSS lines: https://github.com/solana-foundation/solana-com/pull/129/files#diff-5abe78814c03025d911a79280150caf81bb9fb85517accc1709cb71146324e6dR5-R8

@AnasJMirza AnasJMirza closed this by deleting the head repository Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI Bug: Headings Invisible in Light Mode After Toggling Dark Theme on 'developers/courses' Page
3 participants