-
Notifications
You must be signed in to change notification settings - Fork 59
Allow light mode in Hero and color updates #775
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
Conversation
Update hero color
Add test and update header
chore: clean up
@swift-ci test |
Fix color for Language Switcher
revert `isHeroDark` prop
remove unnecessary theme-dark CSS
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.
Hi @hqhhuang , great job! I tested it and it looks good!
I added some questions related to prefers-dark
and theme-dark
to see if we can simplify and avoid duplication of code.
update background color and icon style
chore: fix headers
…nder into update-hero-style
@swift-ci test |
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.
This is looking pretty good!
I do have a minor concern about the contrast for certain text with these new colors.
Make badge text darker
Update language switcher style
@swift-ci test |
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.
Tested and it looks great! thank you!
@swift-ci test |
Bug/issue #, if applicable: 120847903
Summary
This PR adds the ability to have light mode background in the hero and updates gradient style.
Testing
Steps:
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.
npm test
, and it succeeded