feat: API outage banner#254
Conversation
|
Caution should use a different icon & all the colors are too saturated, use the same saturation/contrast as the other colors. The info banner should use the blue highlight color |
Such as? I've searched for "caution" on svgrepo.com
They're just placeholders, I didn't really follow the theme (for now)
The text selection color wasn't altered, or are you referring to something else? |
If the PR isn't ready, mark as a draft |
|
above commit ^^^ tested to work with static build |
|
Warning should be orange/yellow tinted |
I couldn't find anything that follows the m3 color rules |
Ushie
left a comment
There was a problem hiding this comment.
The margin-top changes across pages doesn't consider cases where there is no banner being displayed, perhaps a minor refactor where we wouldn't need magic numbers would be good
|
@Ushie where exactly? |
|
The issue is a bit difficult to solve. The banner is sticky so we have to simulate a hidden non sticky banner so the content shifts down. I guess what we can do is add the margin to that simulated banner, so when the banner is hidden, the margin is gone too |




What's this?
This PR adds the
<Banner />component and some functionality. Originated from issue #191Screenshots (as of commit 8fa880b)
Level:
cautionLevel:
warningLevel:
info