Fix Balloon color contrast failure by switching to greenDarkest bg color

This commit is contained in:
Tessa Kelly 2022-04-14 14:01:28 -07:00
parent b7f33bc50c
commit 47e57c5594
2 changed files with 4 additions and 5 deletions

View File

@ -71,7 +71,6 @@ describe('UI tests', function () {
const skippedRules = { const skippedRules = {
'Accordion': ['heading-order', 'region'], 'Accordion': ['heading-order', 'region'],
'Balloon': ['color-contrast'],
'Checkbox': ['region'], 'Checkbox': ['region'],
'Loading': ['color-contrast'], 'Loading': ['color-contrast'],
'Menu': ['region'], 'Menu': ['region'],

View File

@ -326,8 +326,8 @@ balloonTheme theme =
Green -> Green ->
batch batch
[ backgroundColor Colors.greenDark [ backgroundColor Colors.greenDarkest
, border3 (px 1) solid Colors.greenDark , border3 (px 1) solid Colors.greenDarkest
, Fonts.baseFont , Fonts.baseFont
, fontSize (px 15) , fontSize (px 15)
, color Colors.white , color Colors.white
@ -439,8 +439,8 @@ arrowTheme theme =
Green -> Green ->
batch batch
[ backgroundColor Colors.greenDark [ backgroundColor Colors.greenDarkest
, border3 (px 1) solid Colors.greenDark , border3 (px 1) solid Colors.greenDarkest
, Fonts.baseFont , Fonts.baseFont
, fontSize (px 15) , fontSize (px 15)
, color Colors.white , color Colors.white