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 30a44464f7 [NIFI-13325] update dark mode theme density to match light
mode (#8904)
30a44464f7 is described below
commit 30a44464f709ea68b39897f930e20a3feb382073
Author: Scott Aslan <[email protected]>
AuthorDate: Mon Jun 3 08:14:57 2024 -0400
[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
+ )
)
);