-
To compile the package and build, open a command line window and navigate to path:
cd C:/{install directory}/Theming/themeworkspace/packages/local/mynewtheme
Execute command: sencha package build
-
When the process completes, copy the contents of the 'mynewtheme/build/resources' folder (C:/{install directory}\Theming\themeworkspace\packages\local\mynewtheme\build\resources) to 'C:/{install directory}/apache/web.war/resources/mynewtheme' (create a "mynewtheme" folder if it does not exist).
-
Rename the "mynewtheme-all.css" file as "app-all.css".
-
Copy the "mynewtheme" folder from 'C:/{install directory}/apache/web.war/resources', to C:\{install directory}\apache\web.war\build\development\EAM\resources and C:\{install directory}\apache\web.war\build\development\Login\resources.
-
In both the 'Login' and 'EAM' app folders (C:/HxGnEAMExtJS/apache/web.war/login and C:/{install directory}/apache/web.war/eam), duplicate the 'theme-default.json' file. Rename the new file(s) to "mynewtheme.json".
This name needs to match the value you wish to use for the 'UITHEME' install parameter, i.e., "mynewtheme".
-
Open each of these "mynewtheme.json" files from both locations in a text editor and find the "css" block.
-
Update path: 'resources/theme-default/app-all_1.css' to path: 'resources/mynewtheme/mynewtheme-all.css'.
Update all the "path" lines under the "css" block. In other words, replace "theme-default" with the name of the new theme (which should match the folder you moved in step 3 of Setup). Also, update the name of the individual filenames to match the filenames in that folder.
-
Log into HxGN EAM and navigate to the Installation Parameters screen. Update the UITHEME parameter value to "mynewtheme" and save.
-
Log out of HxGN EAM, and then log back in. The new theme should now be active.
Open in a new incognito window and check whether the custom theme is loading in Network traffic in Developer tools.