From 6dfcb3278cc7d8546fc62ca267218cea202c708b Mon Sep 17 00:00:00 2001 From: Laurence de Bruxelles Date: Wed, 3 Nov 2021 12:33:40 +0000 Subject: [PATCH] Remove deprecated `.govuk-tag--inactive class` Class govuk-tag--inactive was replaced by govuk-tag--grey and deprecated in PR #1711. This commit removes the class completely. You should replace any uses of this class with `.govuk-tag--grey`. --- CHANGELOG.md | 8 ++++++++ src/govuk/components/tag/_index.scss | 5 ----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 680cd9a3e9..f031dc652c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,14 @@ If you’re calling `iff` from your own Sass, you should use [Sass's native `if` This change was introduced in [pull request #2409: Remove deprecated `iff` Sass function](https://github.com/alphagov/govuk-frontend/pull/2409). +#### Remove deprecated `.govuk-tag--inactive` class + +We've removed the `.govuk-tag--inactive` class which we deprecated in [GOV.UK Frontend v3.6.0](https://github.com/alphagov/govuk-frontend/releases/tag/v3.6.0). + +Replace any use of this class with the `.govuk-tag--grey` class. + +This change was introduced in pull request #: Remove deprecated `.govuk-tag--inactive class`. + ### Fixes We’ve made fixes to GOV.UK Frontend in the following pull requests: diff --git a/src/govuk/components/tag/_index.scss b/src/govuk/components/tag/_index.scss index f80d83ecca..9387537d06 100644 --- a/src/govuk/components/tag/_index.scss +++ b/src/govuk/components/tag/_index.scss @@ -34,11 +34,6 @@ } } - // Deprecated. We'll remove this class in a future release. Use `.govuk-tag--grey` instead. - .govuk-tag--inactive { - background-color: govuk-colour("dark-grey", $legacy: "grey-1"); - } - .govuk-tag--grey { color: govuk-shade(govuk-colour("dark-grey", $legacy: "grey-1"), 30); background: govuk-tint(govuk-colour("dark-grey", $legacy: "grey-1"), 90);