-
Notifications
You must be signed in to change notification settings - Fork 300
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
[42069] thisyahlen/chore: code cleanup and change to WalletText #10744
[42069] thisyahlen/chore: code cleanup and change to WalletText #10744
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
children: React.ReactNode; | ||
color?: 'black' | 'error' | 'general' | 'primary' | 'success' | 'warning' | 'white'; | ||
children: ReactNode; | ||
color?: CSSProperties['color'] | 'error' | 'general' | 'primary' | 'success' | 'warning'; |
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.
@thisyahlen-deriv what about colors black, blue, white
which still exist in scss file, please, add these colors to the type. Also, JFYI, I added red color with value #ff444f
because I needed it for onboarding title
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.
Black, blue, white, red, purple and all generic colors will come from CSSProperties['color']
. 😸
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.
@thisyahlen-deriv got it, didn't notice it, nice 👍
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-thisyahlen-deriv-thisyahlen-codecleanup.binary.sx/ |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Changes:
Screenshots:
Please provide some screenshots of the change.