Skip to content

Commit

Permalink
feat(app): allow users to customize tab icon (janus-idp#570)
Browse files Browse the repository at this point in the history
* feat(app): make header and navigation indicator colors configurable

* chore: update app-config.yaml for branding

* feat(app): allow the app config to customize the tab icon

* chore: update app-config.yaml
  • Loading branch information
Zaperex committed Sep 28, 2023
1 parent 620a9e8 commit 758be24
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lemon-jars-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'app': patch
---

Allow the `app.branding.iconLogo` configuration to configure the tab icon
2 changes: 1 addition & 1 deletion app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ app:
primaryColor: ${PRIMARY_DARK_COLOR}
headerColor1: ${HEADER_DARK_COLOR_1}
headerColor2: ${HEADER_DARK_COLOR_2}
navigationIndicatorColor: ${NAV_INDICATOR_LIGHT_COLOR}
navigationIndicatorColor: ${NAV_INDICATOR_DARK_COLOR}
organization:
name: My Org

Expand Down
4 changes: 4 additions & 0 deletions packages/app/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
href="<%= publicPath %>/safari-pinned-tab.svg"
color="#5bbad5"
/>
<link
rel="icon"
href="<%= config.getOptionalString('app.branding.iconLogo') %>"
/>
<title><%= config.getString('app.title') %></title>
</head>
<body>
Expand Down

0 comments on commit 758be24

Please sign in to comment.