From c25ce0913e41e7a69f4d94bd0f3f2591c6bc81ba Mon Sep 17 00:00:00 2001 From: Michael Reinhard Date: Wed, 25 Oct 2023 16:18:16 -0700 Subject: [PATCH] fix: Increase color contrast to meet 4.5:1 ratio PiperOrigin-RevId: 576677395 --- src/base/common_styles.ts | 2 +- .../place_opening_hours/place_opening_hours.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/common_styles.ts b/src/base/common_styles.ts index d640396..c643e29 100644 --- a/src/base/common_styles.ts +++ b/src/base/common_styles.ts @@ -10,7 +10,7 @@ import {css, CSSResult} from 'lit'; * Primary theme color (e.g. buttons, hyperlinks). Can be modified via * `--gmpx-color-primary`. */ -export const GMPX_COLOR_PRIMARY = css`var(--gmpx-color-primary, #1e88e5)`; +export const GMPX_COLOR_PRIMARY = css`var(--gmpx-color-primary, #1a73e8)`; /** * Surface theme color (e.g. card background). Can be modified via diff --git a/src/place_building_blocks/place_opening_hours/place_opening_hours.ts b/src/place_building_blocks/place_opening_hours/place_opening_hours.ts index 2250622..a8f6e3c 100644 --- a/src/place_building_blocks/place_opening_hours/place_opening_hours.ts +++ b/src/place_building_blocks/place_opening_hours/place_opening_hours.ts @@ -64,7 +64,7 @@ export class PlaceOpeningHours extends PlaceDataConsumer { } .open { - color: #388e3c; + color: #188038; } .icon {