Skip to content

Commit 569072e

Browse files
committed
fix(ui-view): adjust border colors to meet a11y contrast standards
Closes: INSTUI-4319
1 parent e756c7d commit 569072e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/ui-view/src/ContextView/styles.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,9 @@ const generateStyle = (
308308
...arrowBaseStyles,
309309
display: 'block',
310310
borderWidth: `calc(${componentTheme?.arrowSize} + ${componentTheme?.arrowBorderWidth})`,
311-
borderColor: borderColor || arrowBackGroundVariants[background!],
311+
borderColor:
312+
borderColor ||
313+
arrowBackGroundVariants[background!],
312314
...arrowPlacementVariant.main,
313315
...getArrowCorrections(placement!, componentTheme),
314316
'&::after': {

0 commit comments

Comments
 (0)