Skip to content

Fix: Update button colors on Models pages - #2393

Open
AresPhoenix345 wants to merge 7 commits into
meshery:masterfrom
AresPhoenix345:fix/buttonsOnModelsPage
Open

Fix: Update button colors on Models pages#2393
AresPhoenix345 wants to merge 7 commits into
meshery:masterfrom
AresPhoenix345:fix/buttonsOnModelsPage

Conversation

@AresPhoenix345

Copy link
Copy Markdown
Contributor

Description
This PR fixes #2389 by updating the button colors on the Models pages to match the design requirements.

Changes Made

  • Changed primary action buttons (.import) to saffron yellow (#EBC017)
  • Changed secondary action buttons (.import-secondary) to keppel green (#00B39F)
  • Added tertiary button class (.import-tertiary) with transparent background and 1px solid border
  • Updated "Add New Model" button to use secondary styling
  • Updated "Quick Start" button in modal to use secondary styling

Files Modified

  • _sass/catalog.scss - Updated button color classes
  • _layouts/single-page-model.html - Changed "Add New Model" button class
  • _includes/models/modal.html - Changed "Quick Start" button class

Testing

  • ✅ Verified button colors on model pages
  • ✅ Verified button colors in modal
  • ✅ Tested responsive design on multiple screen sizes

Screenshots
Screenshot 2025-10-21 225358
Screenshot 2025-10-21 225504

Notes for Reviewers
Please verify the color values match the design specifications in #2389.

[Signed commits](https://docs.meshery.io/project/contributing#signing-off-on-commits-developer-certificate-of-origin)

  • Yes, I signed my commits.

@netlify

netlify Bot commented Oct 21, 2025

Copy link
Copy Markdown

Deploy Preview for mesheryio-preview ready!

Name Link
🔨 Latest commit 6b72409
🔍 Latest deploy log https://app.netlify.com/projects/mesheryio-preview/deploys/69d63447afba1400086c85ce
😎 Deploy Preview https://deploy-preview-2393--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 project configuration.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @phoenixcodeforces-blip, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses issue #2389 by implementing a comprehensive update to the button styling across the Models pages. The changes ensure that primary and secondary action buttons adhere to specified color palettes, and a new tertiary button style is introduced for additional design flexibility. Specific buttons, such as 'Add New Model' and 'Quick Start', have been re-categorized to align with the new secondary styling, enhancing visual consistency and user experience.

Highlights

  • Primary Button Styling: The primary action buttons, identified by the .import class, have been updated to use a saffron yellow background color (#EBC017).
  • Secondary Button Styling: The secondary action buttons, identified by the .import-secondary class, have been redefined to use a keppel green background color (#00B39F) with white text and no border.
  • New Tertiary Button Class: A new tertiary button class, .import-tertiary, has been introduced, featuring a transparent background and a 1px solid border.
  • Button Class Updates: The 'Add New Model' button on the single model page and the 'Quick Start' button within the modal have both been updated to use the new .import-secondary styling.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the button colors on the Models pages to match the design requirements, addressing issue #2389. The primary action buttons are changed to saffron yellow, secondary buttons to keppel green, and a tertiary button class is added with a transparent background. The 'Add New Model' and 'Quick Start' buttons are updated to use secondary styling. The changes involve modifications to _sass/catalog.scss, _layouts/single-page-model.html, and _includes/models/modal.html. I have identified a potential issue with the color definition for the .import-secondary class in _sass/catalog.scss.

Comment thread _sass/catalog.scss
@Rajesh-Nagarajan-11

Copy link
Copy Markdown
Member

Thank you for your contribution!
Let's discuss this during the website call today at 5:30 PM IST | 7 AM CT
Add it as an agenda item to the meeting minutes, if you would 😄

@AresPhoenix345

Copy link
Copy Markdown
Contributor Author

Hi @Rajesh-Nagarajan-11
I missed the comment(I got late), Can we discuss it in the next meeting?

@Rajesh-Nagarajan-11

Copy link
Copy Markdown
Member

Thank you for your contribution!
Let's discuss this during the website call tomorrow ( 17/11/2025 ) at 6:30 PM IST | 8 AM CT

Add it as an agenda item to the meeting minutes, if you would 🙂

Comment thread _sass/catalog.scss
Comment thread _includes/models/modal.html Outdated
Comment thread _sass/catalog.scss Outdated
Comment thread _sass/catalog.scss

@kishore08-07 kishore08-07 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@AresPhoenix345
Re-read the issue description and the desired state.The issue requires three action states (Primary, Secondary, and Tertiary), but only two are currently implemented.Add the tertiary action as specified.

@AresPhoenix345

Copy link
Copy Markdown
Contributor Author

@AresPhoenix345 Re-read the issue description and the desired state.The issue requires three action states (Primary, Secondary, and Tertiary), but only two are currently implemented.Add the tertiary action as specified.

@kishore08-07 Referring to the diff, the tertiary-action exists, I am not sure what the comment is about? please clarify.

@kishore08-07

Copy link
Copy Markdown

@AresPhoenix345 Re-read the issue description and the desired state.The issue requires three action states (Primary, Secondary, and Tertiary), but only two are currently implemented.Add the tertiary action as specified.

@kishore08-07 Referring to the diff, the tertiary-action exists, I am not sure what the comment is about? please clarify.

@AresPhoenix345
I can’t find the tertiary button action being implemented here.
image

@AresPhoenix345

AresPhoenix345 commented Jan 3, 2026

Copy link
Copy Markdown
Contributor Author

@AresPhoenix345 Re-read the issue description and the desired state.The issue requires three action states (Primary, Secondary, and Tertiary), but only two are currently implemented.Add the tertiary action as specified.

@kishore08-07 Referring to the diff, the tertiary-action exists, I am not sure what the comment is about? please clarify.

@AresPhoenix345 I can’t find the tertiary button action being implemented here. image

the description of the issue, does not describe/mention adding a new button

Desired State of the Meshery.io site
Primary action: saffron yellow
Secondary action: keppel green
Tertiary action: transparent background, solid 1px border.

@kishore08-07 Did you read the issue?

@kishore08-07

Copy link
Copy Markdown

@AresPhoenix345
Thank you for your contribution!
Let's discuss this during the websites meet on 05/01/2026 at 6:30 PM IST | 7 AM CT
Add it as an agenda item to the meeting minutes, if you would :)

@saurabhraghuvanshii

Copy link
Copy Markdown
Member

@AresPhoenix345 we have three buttons and each buttons should used diffrent theme and you defined primary secondary tertiary. So used each for one buttons

- Changed primary button to saffron yellow (#E0C077)
- Changed secondary button to keppel green (#00b39f)
- Added tertiary button with transparent background

Signed-off-by: Aditya Tiwari <phoenixcodeforces@gmail.com>
@AresPhoenix345
AresPhoenix345 force-pushed the fix/buttonsOnModelsPage branch from a0727ab to 17b07f5 Compare January 4, 2026 10:47
@AresPhoenix345

Copy link
Copy Markdown
Contributor Author

Hi @saurabhraghuvanshii
I have made the required changes...
image

Ready for review!

@saurabhraghuvanshii

Copy link
Copy Markdown
Member

@AresPhoenix345 saffron is not saffron Please check

Signed-off-by: Awanish Tripathi <phoenixcodeforces@gmail.com>
@AresPhoenix345

Copy link
Copy Markdown
Contributor Author

@AresPhoenix345 saffron is not saffron Please check

@saurabhraghuvanshii It was mentioned to be saffron yellow, however I have made it darker in shade.
Do let me know if it is to be just saffron.

@AresPhoenix345

Copy link
Copy Markdown
Contributor Author

this is the updated state
image

@saurabhraghuvanshii

Copy link
Copy Markdown
Member

@AresPhoenix345 look lgtm!!

@saurabhraghuvanshii

Copy link
Copy Markdown
Member

Hi @fitzergerald, could you please review this once and let us know if the required changes are desirable?

@AresPhoenix345

Copy link
Copy Markdown
Contributor Author

Hi @saurabhraghuvanshii
I think it is ready to be merged! given the build is functional and implementation aligned.
It's been a long time since it was opened!

@saurabhraghuvanshii

Copy link
Copy Markdown
Member

@AresPhoenix345 yeah lgtm!!, but I would suggest you to present this item in upcoming meeting so that other can also share their thoughts because it's ui change. Or discuss on slack once.

@Rajesh-Nagarajan-11 Rajesh-Nagarajan-11 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you implement a hover effect for these buttons?

@AresPhoenix345

Copy link
Copy Markdown
Contributor Author

Can you implement a hover effect for these buttons?

I can, please elaborate what the hover effect should do? like changes to implement...

@kishore08-07

Copy link
Copy Markdown

@AresPhoenix345 yeah lgtm!!, but I would suggest you to present this item in upcoming meeting so that other can also share their thoughts because it's ui change. Or discuss on slack once.

@AresPhoenix345 Any updates on this? Was this item discussed in the Websites meeting (held every Monday at 7:00 AM CT | 6:30 PM IST)?

@AresPhoenix345

Copy link
Copy Markdown
Contributor Author

Hi @kishore08-07 I was a bit occupied in academics, will update this soon to add hover effects as instructed by @Rajesh-Nagarajan-11.

@AresPhoenix345

Copy link
Copy Markdown
Contributor Author

Hi @Rajesh-Nagarajan-11 @saurabhraghuvanshii I have updated/added and tested the hover effect .

Ready for merge!

@Bhumikagarggg

Copy link
Copy Markdown
Contributor

@AresPhoenix345 Please resolve the conflicts

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.

[Website] Buttons should be of different colors on Models pages

5 participants