This PR adds the GlobalMessage component, which will be used to display messages in Course Planner. We decided to deviate from the current mockup by making the Button always have the VARIANT.DEFAULT styling and having the div follow the VARIANT styling to ensure that the color contrast is up to accessibility standards.
Describe your changes
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality
to change)
Checklist:
[x] I have run eslint on the code
[x] I have added JSDoc for all of my code (where applicable)
This PR adds the
GlobalMessage
component, which will be used to display messages in Course Planner. We decided to deviate from the current mockup by making theButton
always have theVARIANT.DEFAULT
styling and having thediv
follow theVARIANT
styling to ensure that the color contrast is up to accessibility standards.Describe your changes
Types of changes
Checklist:
eslint
on the codePriority:
Related Issues:
Fixes #369