From 30a44464f709ea68b39897f930e20a3feb382073 Mon Sep 17 00:00:00 2001 From: Scott Aslan Date: Mon, 3 Jun 2024 08:14:57 -0400 Subject: [PATCH] [NIFI-13325] update dark mode theme density to match light mode (#8904) * [NIFI-13325] update dark mode theme density to match light mode * remove density from nifi themes as only colors are used from this theme This closes #8904 --- .../src/main/nifi/apps/nifi/src/assets/themes/material.scss | 2 +- .../src/main/nifi/apps/nifi/src/assets/themes/nifi.scss | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/themes/material.scss b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/themes/material.scss index a87c77e4d5..c07460535f 100644 --- a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/themes/material.scss +++ b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/themes/material.scss @@ -164,6 +164,6 @@ $material-theme-dark: mat.define-dark-theme( warn: $warn-dark ), typography: $typography-config, - density: 0 + density: -3 ) ); diff --git a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/themes/nifi.scss b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/themes/nifi.scss index 829f6965c0..8b243eb13d 100644 --- a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/themes/nifi.scss +++ b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/themes/nifi.scss @@ -116,8 +116,7 @@ $nifi-theme-light: mat.define-light-theme( primary: $surface-light-palette, accent: $success-light-palette, warn: $caution-light-palette - ), - density: -3 + ) ) ); @@ -133,7 +132,6 @@ $nifi-theme-dark: mat.define-dark-theme( primary: $surface-dark-palette, accent: $success-dark-palette, warn: $caution-dark-palette - ), - density: -3 + ) ) );