swisspost / design-system

The Swiss Post Design System pattern library for a consistent and accessible user experience across the web platform.
https://design-system.post.ch
Apache License 2.0
106 stars 13 forks source link

Update invalid icon #3044

Open gfellerph opened 2 weeks ago

gfellerph commented 2 weeks ago

In the pattern discussion from 02.05.2024 we discussed the validation icon for invalid error messages. We decided to put the icon within the error message and change it from the exclamation mark to the exclamation mark within a triangle. This helps visibility on small font sizes and bad screens.

Old icon:

image

New icon:

image
### Replace icon for
- [ ] Input text
- [ ] Select
- [ ] Textarea
- [ ] Checkbox
- [ ] Radio button
- [ ] Switch
- [ ] Card control
- [ ] Slider
### Tasks
- [ ] Make validation messages mandatory for all components that can be validated