From b4a9181517d84ff5798da8db480ea6ca050bbfc1 Mon Sep 17 00:00:00 2001 From: Ronit Jadhav Date: Fri, 15 Mar 2024 12:56:34 +0100 Subject: [PATCH 1/3] Updated styling for the navigation-button --- .../src/app/record/header-record/header-record.component.html | 1 + .../src/lib/navigation-button/navigation-button.component.css | 3 +++ .../src/lib/navigation-button/navigation-button.component.html | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/datahub/src/app/record/header-record/header-record.component.html b/apps/datahub/src/app/record/header-record/header-record.component.html index 7cf866be08..0a646c0e55 100644 --- a/apps/datahub/src/app/record/header-record/header-record.component.html +++ b/apps/datahub/src/app/record/header-record/header-record.component.html @@ -8,6 +8,7 @@ (click)="back()" [label]="'datahub.search.back' | translate" [icon]="'arrow_back'" + [style.--navigation-button-color]="foregroundColor" > diff --git a/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.css b/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.css index e69de29bb2..b84096e30c 100644 --- a/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.css +++ b/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.css @@ -0,0 +1,3 @@ +button { + color: var(--navigation-button-color); +} diff --git a/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html b/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html index 97789516cf..a1e161b544 100644 --- a/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +++ b/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html @@ -1,5 +1,5 @@