Skip to content

Commit

Permalink
Merge pull request #2747 from NickColley/patch-1
Browse files Browse the repository at this point in the history
Ensure accordion uses overriden focus colour
  • Loading branch information
owenatgov authored Aug 4, 2022
2 parents d97a486 + af7ce85 commit 2312417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ We’ve also made fixes in the following pull requests:
- [#2724: Remove redundant `aria-hidden` attribute from the content when using the Details polyfill](https://github.com/alphagov/govuk-frontend/pull/2724)
- [#2725: Remove padding-right from last column in summary list row](https://github.com/alphagov/govuk-frontend/pull/2725)
- [#2737: Avoid unnecessary spacing-related media queries](https://github.com/alphagov/govuk-frontend/pull/2737)
- [#2747: Ensure accordion uses overriden focus colour](https://github.com/alphagov/govuk-frontend/pull/2747) - thanks @NickColley

## 4.2.0 (Feature release)

Expand Down
2 changes: 1 addition & 1 deletion src/govuk/components/accordion/_index.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@include govuk-exports("govuk/component/accordion") {
$govuk-accordion-base-colour: govuk-colour("black");
$govuk-accordion-hover-colour: govuk-colour("light-grey", $legacy: "grey-3");
$govuk-accordion-icon-focus-colour: govuk-colour("yellow");
$govuk-accordion-icon-focus-colour: $govuk-focus-colour;
$govuk-accordion-bottom-border-width: 1px;

.govuk-accordion {
Expand Down

0 comments on commit 2312417

Please sign in to comment.