Skip to content

Commit

Permalink
env update for custom theming
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay-aot committed Dec 6, 2024
1 parent 25c1604 commit ea34354
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 12 deletions.
23 changes: 19 additions & 4 deletions deployment/docker/sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,25 @@ CUSTOM_SUBMISSION_URL=http://{your-ip-address}:{port}
#the json data should be below format.

# `{
# "--navbar-background": "blue",
# "--navbar-items": "grey",
# "--navbar-active": "white"
# }`
"--navbar-active-submenu-bg-color": "#fbe9d0",
"--navbar-active-submenu-font-color": "#d79922",
"--navbar-menu-hover-bg-color": "#192d42",
"--navbar-main-menu-active-bg-color": "#446c7c",
"--navbar-main-menu-active-font-color": "#FFFFFF",
"--navbar-bg-color": "#83b2b7",
"--custom-logo-path": "https://logos-world.net/wp-content/uploads/2020/06/Amazon-Logo.png",
"--custom-title": "Amazon.in",
"--primary-btn-font-color": "black",
"--primary-btn-bg-color": "yellow",
"--primary-btn-hover-bg-color": "#FFFFC5",
"--secondary-btn-font-color": "yellow",
"--secondary-btn-bg-color": "black",
"--secondary-btn-hover-bg-color": "#353535",
"--default-font-color": "red",
"--default-font-size": "1rem",
"--ff-primary": "violet",
"--ff-secondary": "green"
}`

#CUSTOM_THEME_URL=/themeConfig/customTheme.json

Expand Down
23 changes: 19 additions & 4 deletions forms-flow-web-root-config/public/config/config.sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,25 @@ window["_env_"] = {
public/themeConfig/customTheme.json inside forms-flow-web-root-config.
the json data should be below format.
`{
"--navbar-background": "blue",
"--navbar-items": "grey",
"--navbar-active": "white"
}`
"--navbar-active-submenu-bg-color": "#fbe9d0",
"--navbar-active-submenu-font-color": "#d79922",
"--navbar-menu-hover-bg-color": "#192d42",
"--navbar-main-menu-active-bg-color": "#446c7c",
"--navbar-main-menu-active-font-color": "#FFFFFF",
"--navbar-bg-color": "#83b2b7",
"--custom-logo-path": "https://logos-world.net/wp-content/uploads/2020/06/Amazon-Logo.png",
"--custom-title": "Amazon.in",
"--primary-btn-font-color": "black",
"--primary-btn-bg-color": "yellow",
"--primary-btn-hover-bg-color": "#FFFFC5",
"--secondary-btn-font-color": "yellow",
"--secondary-btn-bg-color": "black",
"--secondary-btn-hover-bg-color": "#353535",
"--default-font-color": "red",
"--default-font-size": "1rem",
"--ff-primary": "violet",
"--ff-secondary": "green"
}`
*/
// REACT_APP_CUSTOM_THEME_URL: "<CUSTOM_THEME_URL>",

Expand Down
23 changes: 19 additions & 4 deletions forms-flow-web-root-config/sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,25 @@ ENABLE_APPLICATION_ACCESS_PERMISSION_CHECK=false
#the json data should be below format.

# `{
# "--navbar-background": "blue",
# "--navbar-items": "grey",
# "--navbar-active": "white"
# }`
"--navbar-active-submenu-bg-color": "#fbe9d0",
"--navbar-active-submenu-font-color": "#d79922",
"--navbar-menu-hover-bg-color": "#192d42",
"--navbar-main-menu-active-bg-color": "#446c7c",
"--navbar-main-menu-active-font-color": "#FFFFFF",
"--navbar-bg-color": "#83b2b7",
"--custom-logo-path": "https://logos-world.net/wp-content/uploads/2020/06/Amazon-Logo.png",
"--custom-title": "Amazon.in",
"--primary-btn-font-color": "black",
"--primary-btn-bg-color": "yellow",
"--primary-btn-hover-bg-color": "#FFFFC5",
"--secondary-btn-font-color": "yellow",
"--secondary-btn-bg-color": "black",
"--secondary-btn-hover-bg-color": "#353535",
"--default-font-color": "red",
"--default-font-size": "1rem",
"--ff-primary": "violet",
"--ff-secondary": "green"
}`

#CUSTOM_THEME_URL=/themeConfig/customTheme.json

Expand Down

0 comments on commit ea34354

Please sign in to comment.