Skip to content

Commit

Permalink
Remove deprecated govuk-tag--inactive class
Browse files Browse the repository at this point in the history
Class govuk-tag--inactive was replaced by govuk-tag--grey and deprecated
in PR #1711.

This commit removes the class completely. Users should replace any uses
of this class with `.govuk-tag--grey`.

Co-authored-by: Oliver Byford <oliver.byford@digital.cabinet-office.gov.uk>
  • Loading branch information
lfdebrux and 36degrees committed Nov 4, 2021
1 parent 29fc04f commit 5d2fa1e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 #2417: Remove deprecated `govuk-tag--inactive class`](https://github.com/alphagov/govuk-frontend/pull/2417).

### Fixes

We’ve made fixes to GOV.UK Frontend in the following pull requests:
Expand Down
5 changes: 0 additions & 5 deletions src/govuk/components/tag/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5d2fa1e

Please sign in to comment.