Skip to content

Conversation

@Ayesha1209s
Copy link
Contributor

Description:

This PR fixes #727 an inconsistency where the GitHub and Discord icons were not applying the correct hover color in dark mode. While all icons turned green on hover in light mode, GitHub and Discord remained with the default dark background in dark mode.

Changes Made:

  • Added explicit dark mode hover styles for .social-link elements.
  • Ensured GitHub and Discord icons correctly change to the green hover color (var(--primary-500)) in dark mode.

Code Changes:

[data-theme='dark'] .social-link:hover {
background-color: var(--primary-500);
color: white;
}

Steps to Test:

1-Switch to dark mode.
2-Hover over GitHub and Discord icons.
3-Verify that the hover color now changes to green, consistent with light mode.

Before clip-------

beforclip.mp4

After clip-------

After_clip.mp4

Harsh-26626 and others added 29 commits July 31, 2025 05:09
Upload a sample file to check if workflow runs on commit to master branch!
Changed static.yml to work on pushes to master branch
Gave github bot permission to write
…ociety#524)

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Update static.yml

Updated static.yml to work on pushes to both main and master branches

* Update static.yml

gave write permissions to github bot

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Refactored and document CSS: remove redundant rules, optimize media queries, and restore custom footer styles

* Added Responsive Media Queries and Navigation Fixes

* minor updated

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Refactor CSS: Comment out margin and padding properties for improved layout control

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Update static.yml

Updated static.yml to work on pushes to both main and master branches

* Update static.yml

gave write permissions to github bot

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Refactor CSS: Comment out margin and padding properties for improved layout control

* Auto-update LEADERBOARD.md [skip ci]

* added missing semicolons

* /fixed path and removed redundant css

* previous style.css

---------

Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Harsh Ahuja <[email protected]>
Co-authored-by: Suryansh <[email protected]>
Co-authored-by: Aditya Kumar <[email protected]>
Fixed small typo which prevented the working of hamburger in mobile devices!
* Upload a sample file

Upload a sample file to check if workflow runs on commit to master branch!

* Update static.yml

Changed static.yml to work on pushes to master branch

* fixed some href errors which was causing functionality issues in whole website
* Update static.yml

Updated static.yml to work on pushes to both main and master branches

* Update static.yml

gave write permissions to github bot

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Updated browse notes UI

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

---------

Co-authored-by: Harsh Ahuja <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
* Update static.yml

Updated static.yml to work on pushes to both main and master branches

* Update static.yml

gave write permissions to github bot

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Updated browse notes UI

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* made some changes in the header

---------

Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: pallavi <[email protected]>
* overview page modifications

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Update static.yml

Updated static.yml to work on pushes to both main and master branches

* Update static.yml

gave write permissions to github bot

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Refactor CSS: Comment out margin and padding properties for improved layout control

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Update static.yml

Updated static.yml to work on pushes to both main and master branches

* Update static.yml

gave write permissions to github bot

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Refactor CSS: Comment out margin and padding properties for improved layout control

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* Auto-update LEADERBOARD.md [skip ci]

* modifications in student account

* Update styling/studentAccount.css

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update styling/studentAccount.css

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update pages/studentAccount.html

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update pages/studentAccount.html

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update pages/studentAccount.html

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update styling/overview.css

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update overview.html

Fixed header not visible in overview.html

* Update overview.css 

fixed some styling issues

* Update overview.html

* Update styles.css

Updated styles.css as per current styles.css

* Update static.yml

Updated static.yml as per current version

---------

Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Harsh Ahuja <[email protected]>
Co-authored-by: Suryansh <[email protected]>
Co-authored-by: Aditya Kumar <[email protected]>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
…edesigned the homepage! (opensource-society#595)

* creted unified header for all pages, fixed some href issues and fixed the homepage

* Delete .vscode/settings.json

* Update components/header.css

fixed font size of NotesVault in header

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update header.js

Updated path of header inside header.html

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
fixed the name of header file
Fixed path to header.html
- Removed buggy home page from /pages directory
- Moved home page from /pages to root directory
- Fixed bugs causing layout issues
- Removed duplicate JavaScript File for Browse Notes Page
- Deleted Unused/Duplicate CSS File for Browse Notes Page
…ng-issues

[Bug Fix] Styling Issues on GitHub Pages Site
Corrected the path of header and footer which was causing issues in Github Pages Website
…y#705)

* Update script.js

checking if changing script href fixes header and footer loading...

* Update script.js

testing other directory

* Update script.js

undo changes in script.html

* Create index.html

* Update index.html

* Update script.js

redo changes in script.js

* Update script.js

* Update script.js

* Update header.html

* Rename Footer.css to footer.css

* Update index.html

* Update index.html

* Update features.html

* Update footer.html
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thanks for submitting your first pull request to the Open Source Society project — we really appreciate your contribution! Our maintainers will review your PR soon. In the meantime, make sure you've followed the contribution checklist and linked any relevant issues. Welcome aboard, and keep contributing! 💚

@Ayesha1209s
Copy link
Contributor Author

you can check i have fixed this issue

Copy link
Contributor

@FrostByte-49 FrostByte-49 left a comment

Choose a reason for hiding this comment

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

[data-theme='dark'] .social-link {
  background-color: rgba(255, 255, 255, 0.1);
}

Hey @Ayesha1209s,
Could you please re-add these lines of code? Removing them causes the button background to blend with the footer background. It’s better to have a slightly different background for the button than the footer. The hover background you’ve added looks good, so no need to change that.
Thank You!

@Ayesha1209s
Copy link
Contributor Author

Hey @FrostByte-49 ,
Got it, I’ll re-add the base background for .social-link and keep the hover effect as it is.

Copy link
Contributor

@FrostByte-49 FrostByte-49 left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks for updating this, really appreciate your effort 😊

@Harsh-26626 Harsh-26626 changed the base branch from main to master August 17, 2025 19:20
@Harsh-26626 Harsh-26626 changed the base branch from master to main August 17, 2025 19:20
@Harsh-26626 Harsh-26626 changed the base branch from main to master August 17, 2025 19:21
@Harsh-26626
Copy link
Collaborator

@Ayesha1209s Can you sync changes from master branch and then make your changes (footer hover effect) and raise another PR?

We merge PRs only in master for review purposes (check #485 ) We'll merge these changes if everything goes well with master later:)

@Harsh-26626 Harsh-26626 changed the base branch from master to main August 17, 2025 19:23
* Completed parameters.json file with appropriate data.

* added branches, semesters and subjects - parameters.json is complete (initial version)
@Ayesha1209s
Copy link
Contributor Author

Hey @Harsh-26626 ,
yeah suree

@Ayesha1209s
Copy link
Contributor Author

Hi @Harsh-26626
I synced with the repo, but I only see main (no master branch exists)

@Harsh-26626
Copy link
Collaborator

@Ayesha1209s you'll have to create a new branch, name it master and then select source repo as opensource-society/notesvault. Also set source branch as master! (See image)

Screenshot_20250819_193610_Chrome.jpg

After that raise a new pull request by implementing changes in master branch.

Your new PR must target the master branch.

After that mention new pull request number here:)

@Ayesha1209s
Copy link
Contributor Author

Hi @Harsh-26626 👋,
I’ve now synced the my-feature branch into my fork’s master and created a new PR: “Pull Request from master branch – UI Fixes #783 targeting opensource-society/notesvault:master.
This should meet the requirement you mentioned. Please review and let me know if anything else is needed 🙂

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.

[Bug] Hover color for GitHub & Discord icons not working in dark mode

9 participants