This is an automated email from the ASF dual-hosted git repository.

rfellows pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 3ef85e3347 [NIFI-13353] improve anchor tag hover state styles in dark 
mode (#8920)
3ef85e3347 is described below

commit 3ef85e3347f89056435ed77a729bd8856cd5e15f
Author: Scott Aslan <[email protected]>
AuthorDate: Tue Jun 4 09:56:21 2024 -0500

    [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,

Reply via email to