From 569072e797c8a91064567d7f4b773beeff9b3c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20S=C3=A1ros?= Date: Mon, 11 Nov 2024 14:15:08 +0100 Subject: [PATCH] fix(ui-view): adjust border colors to meet a11y contrast standards Closes: INSTUI-4319 --- packages/ui-view/src/ContextView/styles.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/ui-view/src/ContextView/styles.ts b/packages/ui-view/src/ContextView/styles.ts index c9b63b5566..68106cf8a9 100644 --- a/packages/ui-view/src/ContextView/styles.ts +++ b/packages/ui-view/src/ContextView/styles.ts @@ -308,7 +308,9 @@ const generateStyle = ( ...arrowBaseStyles, display: 'block', borderWidth: `calc(${componentTheme?.arrowSize} + ${componentTheme?.arrowBorderWidth})`, - borderColor: borderColor || arrowBackGroundVariants[background!], + borderColor: + borderColor || + arrowBackGroundVariants[background!], ...arrowPlacementVariant.main, ...getArrowCorrections(placement!, componentTheme), '&::after': {