diff --git a/flow-server/src/main/resources/plugins/application-theme-plugin/theme-generator.js b/flow-server/src/main/resources/plugins/application-theme-plugin/theme-generator.js index 5f74fff9a41..a502b205376 100644 --- a/flow-server/src/main/resources/plugins/application-theme-plugin/theme-generator.js +++ b/flow-server/src/main/resources/plugins/application-theme-plugin/theme-generator.js @@ -102,6 +102,7 @@ function generateThemeFile(themeFolder, themeName) { themeFile += imports.join(''); // Don't format as the generated file formatting will get wonky! +// If targets check that we only register the style parts once, checks exist for global css and component css const themeFileApply = `export const applyTheme = (target) => { if (!target['${globalCssFlag}']) { ${globalCssCode.join('')}