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

[UI] fixed extension page #2089

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Dungeon-Masterji
Copy link

@Dungeon-Masterji Dungeon-Masterji commented Mar 25, 2025

Description
This PR resolves the issue where:

The text above extension cards was not visible in light mode.
The text on the "Learn More" button was not visible in light mode.
Solution

Enhanced the CSS to ensure proper text visibility in both light and dark modes, improving overall accessibility and user experience.

Expected Behavior

The text remains clearly visible in both light and dark modes.
UI consistency is maintained across themes.
Let me know if any further adjustments are needed. 🚀

This PR fixes #2084

here are the images for reviews
Screenshot 2025-03-26 at 12 44 07 AM

Screenshot 2025-03-26 at 12 44 48 AM Screenshot 2025-03-26 at 1 00 30 AM

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

welcome bot commented Mar 25, 2025

Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, please review the Newcomers' Guide and sure to join the community Slack.
Be sure to double-check that you have signed your commits. Here are instructions for making signing an implicit activity while peforming a commit.

Copy link

netlify bot commented Mar 25, 2025

Deploy Preview for mesheryio-preview ready!

Name Link
🔨 Latest commit eb4b5a9
🔍 Latest deploy log https://app.netlify.com/sites/mesheryio-preview/deploys/67ea69233ac1ea0008561150
😎 Deploy Preview https://deploy-preview-2089--mesheryio-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@Dungeon-Masterji Dungeon-Masterji changed the title fixed extension page [UI]fixed extension page Mar 25, 2025
@Dungeon-Masterji Dungeon-Masterji changed the title [UI]fixed extension page [UI] fixed extension page Mar 25, 2025
Signed-off-by: Aditya Raj <[email protected]>

updated

Signed-off-by: Aditya Raj <[email protected]>
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi, @Dungeon-Masterji I think there is .import-secondar{} elements is already there in catalog.scss, you again wrote it in different file, you did not utilised the code reusability property, My suggestion would be to follow the same design pattern that is already there, like
you can use this below pattern:

.root{
some_name: black;
}
.dark-mode{
some_name: white;
}

then you can use this "some_name" variable in the .import-secondary{} element like this:

 .import-secondary{
color: var(some_name);
}

Above solution also toggle the "Learn more" text color to white when dark mode is enabled and text color will be black when dark mode is disabled
this is more efficient and enhance code readability, reusability. But if @sudhanshutech,@Karan-Palan approve this then this is good to go.

Copy link
Contributor

Choose a reason for hiding this comment

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

@vishalvivekm
Copy link
Contributor

@Dungeon-Masterji
Thank you for your contribution!
Let's discuss this during the website call today at 5:30 PM IST

adding it as an agenda item to the meeting minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI bugs in meshery.io/extensions page
3 participants