You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -245,7 +245,7 @@ In Sentry's color palette, only Gray 300 and above satisfy the contrast requirem
245
245
246
246
Accent colors in the 300 series, except for Yellow 300, satisfy the contrast requirement for large text.
247
247
248
-
<SideBySide>
248
+
<Storybook.SideBySide>
249
249
<ExampleCard
250
250
imgSrc={DoContrast}
251
251
text="Use Gray 300 and above for normal text"
@@ -264,15 +264,15 @@ Accent colors in the 300 series, except for Yellow 300, satisfy the contrast req
264
264
imgSrc={DontAccentColors}
265
265
text="Use accent colors in the 100 or 200 series for any text"
266
266
/>
267
-
</SideBySide>
267
+
</Storybook.SideBySide>
268
268
269
269
### Separation
270
270
271
271
Color can be an effective way to visually separate elements in the user interface. However, not all users see color in the same way. Some are color-blind and cannot reliably differentiate one color from another. Some have color filters on their screens, like Night Shift in MacOS. Others are in bright environments with high levels of glare, reducing their ability to see color clearly.
272
272
273
273
As such, color is an unreliable way to separate elements. Whenever possible, provide additional visual cues like icons, text labels, line type (solid, dashed, dotted),… to further reinforce the separation.
274
274
275
-
<SideBySide>
275
+
<Storybook.SideBySide>
276
276
<ExampleCard
277
277
imgSrc={DoDifferentiation}
278
278
text="Provide additional visual encoding (e.g. line type) besides color to differentiate elements"
@@ -282,4 +282,4 @@ As such, color is an unreliable way to separate elements. Whenever possible, pro
282
282
imgSrc={DontDifferentiation}
283
283
text="Use color as the only way to differentiate elements"
0 commit comments