-
Notifications
You must be signed in to change notification settings - Fork 7
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
farabi/fix--primary-buttons #26
Conversation
Reviewer's Guide by SourceryThis pull request updates button styling by refining the login button design and introducing a new 'primary' variant. It achieves consistency with new design guidelines by adjusting paddings, font weight, and button color scheme while updating the primary button component to leverage the new variant. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Deploying champion-trader with
|
Latest commit: |
01fe7ef
|
Status: | ✅ Deploy successful! |
Preview URL: | https://2652fce7.champion-trader.pages.dev |
Branch Preview URL: | https://farabi-fix--primary-buttons.champion-trader.pages.dev |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @farabi-deriv - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider adding a story for the new
primary
button variant in your Storybook to showcase its appearance and behavior.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
This pull request includes several updates to the styling and functionality of button components in the codebase. The most significant changes involve the introduction of a new button variant and adjustments to existing button styles.
Styling updates:
src/components/BalanceDisplay/BalanceDisplay.tsx
: Updated the class names for the login button, changing padding and font weight for consistency with new design guidelines.New button variant:
src/components/ui/button.tsx
: Added a newprimary
variant to the button component, with specific background and text colors, and hover effects.src/components/ui/primary-button.tsx
: Modified thePrimaryButton
component to use the newprimary
variant instead of the default variant, ensuring it adheres to the updated design system.Summary by Sourcery
New Features: