From 0db312da4c8195b43553b55afaeb6b7b93563dc9 Mon Sep 17 00:00:00 2001 From: Kasper Nilsson Date: Thu, 10 May 2018 09:17:56 -0700 Subject: [PATCH] Use CSS constant for assignee color Change-Id: Ia254955113d3c4e3893da3e68c232704d0e88144 --- .../change-list/gr-change-list-item/gr-change-list-item.html | 2 +- polygerrit-ui/app/styles/app-theme.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html index de39478916..6ea7cf3325 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html +++ b/polygerrit-ui/app/elements/change-list/gr-change-list-item/gr-change-list-item.html @@ -46,7 +46,7 @@ limitations under the License. font-family: var(--font-family-bold); } :host([highlight]) { - background-color: #fcfad6; + background-color: var(--assignee-highlight-color); } .container { position: relative; diff --git a/polygerrit-ui/app/styles/app-theme.html b/polygerrit-ui/app/styles/app-theme.html index 2582c3d41f..69262c9500 100644 --- a/polygerrit-ui/app/styles/app-theme.html +++ b/polygerrit-ui/app/styles/app-theme.html @@ -48,6 +48,8 @@ limitations under the License. --select-background-color: rgb(248, 248, 248); + --assignee-highlight-color: #fcfad6; + /* Font sizes */ --font-size-normal: 1rem; --font-size-small: .92rem;