govuk-one-login / service-header

A header for services using GOV.UK One Login
https://govuk-one-login.github.io/service-header/
6 stars 4 forks source link

OLH-1444: Crown update #35

Closed danacotoran closed 6 months ago

danacotoran commented 6 months ago

~DO NOT MERGE (yet): we can review this and have it ready to go but we need to hold off on merging it until we get the go-ahead (after 19th Feb 2024).~

Update govuk-frontend to v4.8. Update service header crown SVG to the one provided in version 4.8 of govuk-frontend. Include small bit of CSS to ensure the new (narrower and taller) icon aligns with the rest of the logo properly. Remove styling for .one-login-header__logotype-crown-fallback-image because we are not using a fallback image.

Before vs after

Screenshot 2024-02-16 at 13 14 44

Testing

Please check the icon looks correct as per the release notes. If you're reviewing the code, it might be best to focus on the changes under src. Everything under dist is just build versions of src.