-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAY-1411] Badge Notification Error Variant (#3596)
**What does this PR do?** - ✅ Add a notification error variant that's opaque and red - ✅ Use $error in non-dark mode. Use $error_dark in dark mode. - ✅ Update docs and testing **Screenshots:** <img width="138" alt="Screenshot 2024-08-14 at 9 47 05 AM" src="https://github.com/user-attachments/assets/b5094e42-ba7f-4c4b-9b16-ad158014a6c6"> <img width="135" alt="Screenshot 2024-08-15 at 1 11 24 PM" src="https://github.com/user-attachments/assets/b3a936ba-abf7-487f-9ac0-8ce46e4117b0"> **How to test?** 1. Go to kits/badge/react#notification 2. Make sure the error notification badge is the same as a notification badge, but with a different color 3. Turn on dark mode. The badge color should be red, but better suited for dark mode. 4. Make sure that the normal "colors" are not affected. 5. Repeat the above, but with Rails #### Checklist: - [x] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new kit`, `deprecated`, or `breaking`. See [Changelog & Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels) for details. - [x] **DEPLOY** I have added the `milano` label to show I'm ready for a review. - [x] **TESTS** I have added test coverage to my code.
- Loading branch information
Showing
7 changed files
with
77 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters