Skip to content

Commit d840fb0

Browse files
Version Packages (#1008)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 1b3981c commit d840fb0

4 files changed

Lines changed: 19 additions & 19 deletions

File tree

workspaces/global-header/.changeset/funny-cooks-swim.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

workspaces/global-header/.changeset/rotten-brooms-flow.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

workspaces/global-header/plugins/global-header/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @red-hat-developer-hub/backstage-plugin-global-header
22

3+
## 1.11.0
4+
5+
### Minor Changes
6+
7+
- 8e33ca2: Updated the `CompanyLogo` component to support global headers either light or dark background colours. The light/dark mode of the logo is determined by the `theme.palette.rhdh.general.appBarBackgroundScheme` field in the theme configuration.
8+
9+
The `logo` prop now also accepts an object with `light` and `dark` properties, each containing a string URL for the logo image. If `logo` is a string, it will be used for both light and dark modes.
10+
11+
The `CompanyLogo` will prefer the `config.props.logo.[light|dark]` mount point configuration when rendering. If not provided, it will fall back to the `app.branding.fullLogo` in the app configuration.
12+
13+
Moreover, `app.branding.fullLogo` is now an object with `light` and `dark` properties, each containing a string URL for the logo image. If `app.branding.fullLogo` is a string, it will be used for both light and dark modes.
14+
15+
If neither `config.props.logo` nor `app.branding.fullLogo` is provided, the `CompanyLogo` will render the Red Hat Developer Hub logo by default.
16+
17+
### Patch Changes
18+
19+
- 8e33ca2: Update the Red Hat Developer Hub logo to align with the [brand guidelines](https://www.redhat.com/en/about/brand/standards/product-logos)
20+
321
## 1.10.1
422

523
### Patch Changes

workspaces/global-header/plugins/global-header/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@red-hat-developer-hub/backstage-plugin-global-header",
3-
"version": "1.10.1",
3+
"version": "1.11.0",
44
"main": "src/index.ts",
55
"types": "src/index.ts",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)