diff --git a/CHANGELOG.md b/CHANGELOG.md index 90c526cb5a..cd7854226e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,18 @@ Sass users can also use the `govuk-text-break-word` mixin. This change was introduced in [pull request #5159: Add break-word typography helper](https://github.com/alphagov/govuk-frontend/pull/5159). +### Recommended changes + +#### Update the `$websafe` parameter on the `govuk-organisation-colour` function + +The `govuk-organisation-colour` Sass function's `$websafe` parameter on has been renamed to `$contrast-safe`. + +This is to more accurately describe the functionality of the parameter. + +The old parameter name will stop working in the next major version of GOV.UK Frontend. + +This change was introduced in [pull request #3407: Update organisation colours](https://github.com/alphagov/govuk-frontend/pull/3407). + ### Fixes We've made fixes to GOV.UK Frontend in the following pull requests: @@ -62,16 +74,6 @@ We've changed the wrapping element to use the `nav` tag to expose it as a naviga This change was introduced in [pull request #4995: Update Breadcrumb component to improve screen reader accessibility](https://github.com/alphagov/govuk-frontend/pull/4995). -### Update the `$websafe` parameter on the `govuk-organisation-colour` function - -The `govuk-organisation-colour` Sass function's `$websafe` parameter on has been renamed to `$contrast-safe`. - -This is to more accurately describe the functionality of the parameter. - -The old parameter name will stop working in the next major version of GOV.UK Frontend. - -This change was introduced in [pull request #3407: Update organisation colours](https://github.com/alphagov/govuk-frontend/pull/3407). - ### Fixes We've made fixes to GOV.UK Frontend in the following pull requests: diff --git a/packages/govuk-frontend-review/src/views/examples/organisation-colours/index.njk b/packages/govuk-frontend-review/src/views/examples/organisation-colours/index.njk index eb007b0856..530467d362 100644 --- a/packages/govuk-frontend-review/src/views/examples/organisation-colours/index.njk +++ b/packages/govuk-frontend-review/src/views/examples/organisation-colours/index.njk @@ -77,7 +77,8 @@ }, "department-for-levelling-up-housing-communities": { "name": "Department for Levelling Up, Housing and Communities", - "start": 2021 + "start": 2021, + "end": 2024 }, "department-for-science-innovation-technology": { "name": "Department for Science, Innovation and Technology", @@ -135,8 +136,7 @@ }, "ministry-of-housing-communities-local-government": { "name": "Ministry of Housing, Communities and Local Government", - "start": 2018, - "end": 2021 + "start": 2018 }, "ministry-of-justice": { "name": "Ministry of Justice", diff --git a/packages/govuk-frontend/src/govuk/settings/colours.unit.test.js b/packages/govuk-frontend/src/govuk/settings/colours.unit.test.js index e542e80fee..b3ae3c4979 100644 --- a/packages/govuk-frontend/src/govuk/settings/colours.unit.test.js +++ b/packages/govuk-frontend/src/govuk/settings/colours.unit.test.js @@ -1,7 +1,7 @@ const { compileSassString } = require('@govuk-frontend/helpers/tests') describe('Organisation colours', () => { - it('should define websafe colours that meet contrast requirements', async () => { + it('should define contrast-safe colours that meet contrast requirements', async () => { const sass = ` $govuk-new-organisation-colours: true;