From 14d95a69f37b2d42e1f9dbf60cd80af99a84cdba Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 5 May 2023 12:20:50 -0700 Subject: [PATCH] fix(ui): do not use hard-coded colors for text --- web/components/common/ContentHeader/ContentHeader.module.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/components/common/ContentHeader/ContentHeader.module.scss b/web/components/common/ContentHeader/ContentHeader.module.scss index a3851b87d..344e07d8c 100644 --- a/web/components/common/ContentHeader/ContentHeader.module.scss +++ b/web/components/common/ContentHeader/ContentHeader.module.scss @@ -9,6 +9,7 @@ $vert-spacing: 0.75rem; padding-left: var(--content-padding); padding-right: var(--content-padding); padding-top: calc(var(--content-padding) * 0.5); + color: var(--theme-color-components-text-on-light); } .row { @@ -47,7 +48,6 @@ $vert-spacing: 0.75rem; .title { font-family: var(--theme-text-display-font-family); - color: var(--theme-color-palette-0); font-size: 1.8rem; font-weight: 600; line-height: 30px; @@ -57,7 +57,6 @@ $vert-spacing: 0.75rem; .subtitle { font-size: 1.15rem; font-weight: 300; - color: var(--theme-color-palette-0); max-width: 900px; margin: $vert-spacing 0; }