From 925cdb071c965bb1837817c421b45bfaa8acae04 Mon Sep 17 00:00:00 2001 From: AshGDS <8880610+AshGDS@users.noreply.github.com> Date: Fri, 23 Aug 2024 15:52:16 +0100 Subject: [PATCH] Remove unused classes They are no longer used since the govuk-frontend v5.5 release, as govuk-frontend contains their brand colours now. --- CHANGELOG.md | 3 +- .../components/helpers/_brand-colours.scss | 46 ------------------- 2 files changed, 2 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 754096f6a5..11c48d393d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,11 @@ useful summary for people upgrading their application, not a replication of the commit log. -Unreleased +## Unreleased * Fix card component padding based on heading ([PR #4169](https://github.com/alphagov/govuk_publishing_components/pull/4169)) * Fix print issues on layout-super-navigation-header ([PR #4165](https://github.com/alphagov/govuk_publishing_components/pull/4165)) +* Remove unused org colour classes ([PR #4173](https://github.com/alphagov/govuk_publishing_components/pull/4173)) ## 43.0.0 diff --git a/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss b/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss index 8257757ec2..454e6d29aa 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss @@ -96,49 +96,3 @@ border-color: #045f71; } } - -// This change should be removed after relevant govuk-frontend release - -.brand--ministry-of-housing-communities-and-local-government { - .brand__color { - color: #00625e; - - &:link, - &:visited, - &:active { - color: #00625e; - } - - &:hover, - &:focus { - color: $govuk-focus-text-colour; - } - } - - &.brand__border-color, - .brand__border-color { - border-color: #00625e; - } -} - -.brand--department-for-business-and-trade { - .brand__color { - color: #cf102d; - - &:link, - &:visited, - &:active { - color: #cf102d; - } - - &:hover, - &:focus { - color: $govuk-focus-text-colour; - } - } - - &.brand__border-color, - .brand__border-color { - border-color: #cf102d; - } -}