Switch on rebrand#2077
Merged
Merged
Conversation
481ee3e to
f750221
Compare
f750221 to
cf88368
Compare
9cb1594 to
96ec656
Compare
theseanything
approved these changes
Jul 18, 2025
Bumps [govuk-components](https://github.com/x-govuk/govuk-components) from 5.10.1 to 5.11.1. - [Release notes](https://github.com/x-govuk/govuk-components/releases) - [Commits](x-govuk/govuk-components@v5.10.1...v5.11.1) --- updated-dependencies: - dependency-name: govuk-components dependency-version: 5.11.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Adds the `govuk-template--rebranded` class to the HTMl so that the new styles are picked up.
Most of our assets are built, fingerprinted, and moved to the public folder automatically, but the manifest file and the icons it references currently need to be copied manually because of an issue with the fingerprinting.
Updates the icon asset paths in the HTML to point to the new rebrand assets.
We use the colour of the header border to make it obvious to members of our team which environment they're using. The border under the header is much less visible after the rebrand changes, so here we're: - increasing the size of the border when one of our custom header CSS classes is present. - changing the dev colour to turquoise, to make it less unpleasant to look at - moving the border to the top of the header instead of underneath it, so it interferes less with the header and service navigation. Also includes a small fix to make the component preview display correctly.
The header is already blue by default, so adding a blue border doesn't make a noticeable visual difference. This commit removes the app-header--blue CSS class and tweaks the component logic to stop it being added.
We have this in the product page repo so it makes sense to copy it here for consistency too.
96ec656 to
c8def3d
Compare
|
|
🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-2077.admin.review.forms.service.gov.uk/ It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready For the sign in details and more information, see the review apps wiki page. |
chao-xian
approved these changes
Jul 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What problem does this pull request solve?
Trello card: https://trello.com/c/pxwEDVou/2384-apply-rebrand-to-forms-admin
Switches on the rebrand styles in forms-admin.
Also includes a small change to the way we display the header on non-prod environments. See individual commits for details.
Will supersede #2043 since it includes the same update to govuk-components.
Screenshots
Header - local environment - before
Header - local environment - after
Header - dev environment - before
Header - dev environment - after
Header - prod environment - before
Header - prod environment - after
Things to consider when reviewing