HealthCatalyst / Fabric.Cashmere

Health Catalyst’s comprehensive design system.
http://cashmere.healthcatalyst.net
Apache License 2.0
66 stars 76 forks source link

Style suggestion for "click to dismiss" toasts #1761

Closed corykon closed 2 years ago

corykon commented 2 years ago

This came up in a convo with PopInsights team. They felt like the default icon on toasts clashes with message of the toast a bit. In this example here there's some dissonance - you might first think the "x" represents an error, because its white like the check icon and almost as prominent: image

Making it a darker color, and a little thinner helps. image

And the PI team liked it top right instead of centered. Feels like a more familiar place for a close icon. image

corykon commented 2 years ago

@andrew-frueh thoughts on this?

andrew-frueh commented 2 years ago

@corykon could you spin up a quick usertesting.com test on this? I'd be fine to back whatever design direction the data from that points us.

corykon commented 2 years ago

@andrew-frueh definitely. will report back :+1:

corykon commented 2 years ago

Fired up a couple A/B tests. Long story short is the results point to a dark icon that is centered. image


Test 1: https://app.usertesting.com/workspaces/795220#!/study/3843207/metrics Here's the screen shown at the end of the test when asked to pick their fav (after being shown them individually). toast-test-both image image


Test 2: https://app.usertesting.com/workspaces/795220#!/study/3843342/metrics toast-test2-both image image

andrew-frueh commented 2 years ago

Thanks for doing this Cory - it looks like the dark/light versions are kind of a toss up. But if we connect that to similar sentiments coming from you and the DOS app teams, it sounds like centered dark is the way to go. :+1: