Skip to content

Conversation

@AresPhoenix345
Copy link
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.

rs on models pages
- 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
- updated 'add new model' button to use secondary styling
- updated 'quick start' button in modal to use secondary styling
closes meshery#2389

Signed-off-by: phoenixcodeforces-blip <[email protected]>
@netlify
Copy link

netlify bot commented Oct 21, 2025

Deploy Preview for mesheryio-preview ready!

Name Link
🔨 Latest commit 20976d5
🔍 Latest deploy log https://app.netlify.com/projects/mesheryio-preview/deploys/68ff043b54511a00085fa48b
😎 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
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.

Copy link
Contributor

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

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.

@Rajesh-Nagarajan-11
Copy link
Contributor

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
Contributor Author

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

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

2 participants