From 3ef85e3347f89056435ed77a729bd8856cd5e15f Mon Sep 17 00:00:00 2001 From: Scott Aslan Date: Tue, 4 Jun 2024 09:56:21 -0500 Subject: [PATCH] [NIFI-13353] improve anchor tag hover state styles in dark mode (#8920) This closes #8920 --- .../src/main/nifi/apps/nifi/src/assets/styles/_app.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/styles/_app.scss b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/styles/_app.scss index 1b54543f51..d1ba78f779 100644 --- a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/styles/_app.scss +++ b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/styles/_app.scss @@ -294,7 +294,11 @@ } a:hover { - text-decoration-color: $material-theme-primary-palette-darker; + text-decoration-color: if( + $is-dark, + $material-theme-primary-palette-default, + $material-theme-primary-palette-darker + ); } .has-errors, @@ -316,7 +320,6 @@ $material-theme-accent-palette-darker, $material-theme-accent-palette-lighter )}; - //font-family: mat.get-theme-typography($material-theme, body-1, font-family); } .mat-h2,