Skip to content

Commit

Permalink
corrected file location
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharanidk committed Nov 1, 2024
1 parent abfd092 commit e8ccafc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ In this section, we will cover the first technique which is the easiest way to c

For the second technique, please refer [Advanced Customization]({{base_path}}/develop/customizations/advanced-ui-customization/) section.

The default theme of the Publisher portal is built into the portal bundle file. You can find the pre-packed default theme file in the `<API-M_HOME>/repository/deployment/server/webapps/publisher/src/main/webapp/source/src/app/data/defaultTheme.js` source directory.
The default theme of the Publisher portal is built into the portal bundle file. You can find the pre-packed default theme file in the `<API-M_HOME>/repository/deployment/server/webapps/publisher/source/src/app/data/defaultTheme.js` source directory.

This can be used as a reference to identify the custom extension points that are available in the Publisher theme file.

To override the default theme parameters, you have to update the [externalized](https://webpack.js.org/configuration/externals/) `userThemes.json` file in the `<API-M_HOME>/repository/deployment/server/webapps/publisher/src/main/webapp/site/public/conf/userThemes.json` file.
To override the default theme parameters, you have to update the [externalized](https://webpack.js.org/configuration/externals/) `userThemes.js` file in the `<API-M_HOME>/repository/deployment/server/webapps/publisher/site/public/conf/userThemes.js` file.

Changes done in the `userThemes.json` file are reflected directly in the Publisher app (You do not need to restart the server or rebuild the source code).
Changes done in the `userThemes.js` file are reflected directly in the Publisher app (You do not need to restart the server or rebuild the source code).

When modifying the theme, you can only provide the custom parameter that you want to override in the default theme, the rest of the theme parameters will be inherited from the built-in default theme configuration.

Expand Down

0 comments on commit e8ccafc

Please sign in to comment.