Allow Alert to be more customizable, include an option for a custom icon #3454
Replies: 2 comments 2 replies
-
Thanks for raising this question @sydk-adhoc! So the variation of the alert is tied to the aria roles and icons that are used by the design system. I get that this might feel like a limitation but the idea is to enforce some consistency. Are you finding that there are consistent icons and styles your team is applying? Because we could consider adding new variations if that would be helpful. @sophia-cmsds what are your thoughts here? |
Beta Was this translation helpful? Give feedback.
-
I'd also be curious as to what icons and styles your team is applying @sydk-adhoc -- Jack's correct, the icons and styling are as such and limited to customization out of an effort to keep alerts fairly standardized. From what I understand, the decisions made around those icons and styling were the product of a lot of consideration, but that was before my time. It might be worth coming to an office hours to talk about it with the team? |
Beta Was this translation helpful? Give feedback.
-
Hello.
We have a lot of code on MCT to customize Alerts for our own purposes. These customizations include styling the header and injecting custom icons, which we're currently laying out using absolute positioning.
Have you considered allowing more cusomization, particularly the injection of custom icons?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions