From bc4efcd3d561d6c616d6c44597799d0c5f2626b1 Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Tue, 2 Apr 2024 10:57:53 +0200 Subject: [PATCH 1/5] refactor(EuiBreadcrumb): update color to ensure min. color contrast 4.5 --- .../breadcrumbs/_breadcrumb_content.styles.ts | 23 ++++++++++++++----- .../header_breadcrumbs.stories.tsx | 1 - 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/components/breadcrumbs/_breadcrumb_content.styles.ts b/src/components/breadcrumbs/_breadcrumb_content.styles.ts index ff3a8952be7..b639ee524f3 100644 --- a/src/components/breadcrumbs/_breadcrumb_content.styles.ts +++ b/src/components/breadcrumbs/_breadcrumb_content.styles.ts @@ -8,7 +8,7 @@ import { css } from '@emotion/react'; import { UseEuiTheme } from '../../services'; -import { transparentize } from '../../services/color'; +import { tintOrShade } from '../../services/color'; import { euiFontSize, euiTextTruncate, @@ -17,12 +17,23 @@ import { logicalBorderRadiusCSS, mathWithUnits, } from '../../global_styling'; +import { euiButtonColor } from '../../themes/amsterdam/global_styling/mixins/button'; /** * Styles cast to inner ,