You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+32-36Lines changed: 32 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,37 +8,51 @@ For advice on how to use these release notes see [our guidance on staying up to
8
8
9
9
#### The Service navigation component no longer uses a menu on mobile for a single link
10
10
11
-
If you're using our Nunjucks macros, the Service navigation component will no longer collapse the navigation behind a 'Menu' toggle if there is only one navigation item.
11
+
If you're using our Nunjucks macros, the Service navigation component will no longer collapse the navigation behind a **Menu** toggle on mobile if there's only one navigation link.
12
12
13
13
You can control this behaviour using the new `collapseNavigationOnMobile` Nunjucks option.
14
14
15
-
If you are not using our Nunjucks macros, you can recreate this behaviour by omitting the 'Menu' `<button>` element if there is only one navigation item.
15
+
If you're not using our Nunjucks macros, you can recreate this behaviour by omitting the **Menu** `<button>` element when there is only one navigation item.
16
16
17
-
This change was introduced in [pull request #6016: Don’t use menu for service nav with a single link](https://github.com/alphagov/govuk-frontend/pull/6016).
17
+
We made this change in [pull request #6016: Don’t use menu for service nav with a single link](https://github.com/alphagov/govuk-frontend/pull/6016).
18
18
19
-
#### Added inverse styling to Service navigation for use on product pages
19
+
#### Add inverse styling to Service navigation for use on product pages
20
20
21
-
When the GOV.UK rebrand is enabled, you can now add the `govuk-service-navigation--inverse` class to the Service navigation component to use white links on a blue background.
21
+
If you enable the GOV.UK rebrand, you can now add the `govuk-service-navigation--inverse` class to the Service navigation component to use white links on a blue background.
22
22
23
-
This allows the rebranded GOV.UK header and Service navigation to flow seamlessly with subsequent components that have a blue background, as is common on [GOV.UK Digital Service Platform](https://platforms.service.gov.uk/) pages.
23
+
This allows the rebranded GOV.UK header and Service navigation components to flow seamlessly with any following components that have a blue background, as is common on [GOV.UK Digital Service Platform](https://platforms.service.gov.uk/) pages.
24
24
25
-
This change was made in [pull request #6015: Add inverse variant to Service navigation component](https://github.com/alphagov/govuk-frontend/pull/6015).
25
+
We made this change in [pull request #6015: Add inverse variant to Service navigation component](https://github.com/alphagov/govuk-frontend/pull/6015).
26
26
27
27
#### You'll now see a deprecation warning if you're using LibSass
28
28
29
-
You will now see a deprecation warning when compiling your Sass if you're using the deprecated LibSass library:
29
+
If you're using the deprecated LibSass library, you'll now see this deprecation warning when compiling your Sass:
30
30
31
31
> It looks like you may be using LibSass to compile your Sass. LibSass is deprecated and will not be supported by the next major version of GOV.UK Frontend. See https://sass-lang.com/libsass/ for more information. To silence this warning, update `$govuk-suppressed-warnings` with key: "libsass"
32
32
33
-
This change was introduced in [pull request #5993: Warn if Sass is compiled using libsass](https://github.com/alphagov/govuk-frontend/pull/5993).
33
+
We made this change in [pull request #5993: Warn if Sass is compiled using libsass](https://github.com/alphagov/govuk-frontend/pull/5993).
34
34
35
-
### Recommended changes
35
+
### Deprecated features
36
+
37
+
#### Replace references to CSS custom properties for breakpoints
38
+
39
+
We've renamed the CSS custom properties for breakpoints to simplify the prefix from `--govuk-frontend` to just `--govuk`.
You can still use the old names, but we'll remove them in the next breaking release (GOV.UK Frontend v6.0.0).
38
48
39
-
We've made updates to the refreshed GOV.UK logo's code to fix distortions that became visible at high zoom levels.
49
+
We made this change in [pull request #6014: Simplify prefix for breakpoint custom properties](https://github.com/alphagov/govuk-frontend/pull/6014).
40
50
41
-
If you're using the `govukHeader` Nunjucks macro, you don't need to update anything. If you're not using the macro, find and update the logo's SVG code in the header with the following code.
51
+
### Fixes
52
+
53
+
We've updated the SVG (Scalable Vector Graphics) file of the GOV.UK logo to fix some imperfections visible at high zoom levels. Thanks to @matteason for reporting this.
54
+
55
+
If you're using the `govukHeader` Nunjucks macro, you do not need to update anything. If you're not using the macro, replace the logo's SVG code in the header with the following code:
42
56
43
57
```html
44
58
<svg
@@ -63,36 +77,18 @@ If you're using the `govukHeader` Nunjucks macro, you don't need to update anyth
This change was introduced in [pull request #6036: Fix some wordmark artifacts at high zoom levels](https://github.com/alphagov/govuk-frontend/pull/6036).
85
+
We made this change in [pull request #6036: Fix some wordmark artifacts at high zoom levels](https://github.com/alphagov/govuk-frontend/pull/6036).
72
86
73
-
### Deprecated features
74
-
75
-
#### Replace references to CSS custom properties for breakpoints
76
-
77
-
We've renamed the CSS custom properties for breakpoints to simplify the prefix from `--govuk-frontend` to just `--govuk`.
You can still use the old names, but we'll remove them in the next breaking release (GOV.UK Frontend v6.0.0).
86
-
87
-
This change was introduced in [pull request #6014: Simplify prefix for breakpoint custom properties](https://github.com/alphagov/govuk-frontend/pull/6014).
88
-
89
-
### Fixes
90
-
91
-
We've made fixes to GOV.UK Frontend in the following pull requests:
87
+
We've also made fixes to GOV.UK Frontend in the following pull requests:
92
88
93
-
- [#6011: #Derive rebranded tints from $govuk-brand-colour](https://github.com/alphagov/govuk-frontend/pull/6011), thanks to @tamoreton for proposing this change
89
+
- [#6011: Derive rebranded tints from $govuk-brand-colour](https://github.com/alphagov/govuk-frontend/pull/6011) – thanks to @tamoreton for proposing this change
94
90
- [#6018: Fix layout of Service navigation in Edge when forced colours are enabled](https://github.com/alphagov/govuk-frontend/pull/6018)
95
-
- [#6019: Fix service nav wrapper not filling available width](https://github.com/alphagov/govuk-frontend/pull/6019), thanks to @joelanman for reporting and fixing this issue
91
+
- [#6019: Fix service nav wrapper not filling available width](https://github.com/alphagov/govuk-frontend/pull/6019) – thanks to @joelanman for reporting and fixing this issue
0 commit comments