diff --git a/nifi-frontend/pom.xml b/nifi-frontend/pom.xml
index b8554d635a..8e7bf11f30 100644
--- a/nifi-frontend/pom.xml
+++ b/nifi-frontend/pom.xml
@@ -33,10 +33,13 @@
${project.build.directory}/frontend-working-directory
1.0.1
- material
+ ${frontend.working.dir}/libs/shared/src/assets/themes
+
+ material
true
@@ -166,7 +169,7 @@
copy
- ${frontend.working.dir}/libs/shared/src/assets/themes/${frontend.theme}.scss
+ ${frontend.theme.dir}/${frontend.theme.name}.scss
${frontend.working.dir}/libs/shared/src/assets/themes/material.scss