Skip to content

Commit

Permalink
fix(ui-view): adjust border colors to meet a11y contrast standards
Browse files Browse the repository at this point in the history
Closes: INSTUI-4319
  • Loading branch information
balzss committed Nov 18, 2024
1 parent e756c7d commit 569072e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ui-view/src/ContextView/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand Down

0 comments on commit 569072e

Please sign in to comment.