Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure accordion uses overriden focus colour #2747

Merged
merged 2 commits into from
Aug 4, 2022
Merged

Ensure accordion uses overriden focus colour #2747

merged 2 commits into from
Aug 4, 2022

Conversation

NickColley
Copy link
Contributor

@NickColley NickColley commented Aug 4, 2022

At the moment if you override the focus colour and focus this component this icon will remain yellow.
By using the $govuk-focus-colour variable we allow this to change as expected.

Before:

Focused accordion with yellow inside the chevron icon

After:

Focused accordion with overriden colour inside the chevron icon

At the moment if you override the focus colour and focus this component this icon will remain yellow.
By using the `$govuk-focus-colour` variable we allow this to change as expected.
@NickColley NickColley changed the title Cascade focus colour changes into accordion Ensure accordion uses overriden focus colour Aug 4, 2022
@@ -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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

me thanking myself 😂

Copy link
Contributor

@36degrees 36degrees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes sense to me – thanks @NickColley 👍🏻

Just needs a second review from the team and then we can get this merged.

@owenatgov
Copy link
Contributor

This PR is now unexpectedly closed, despite it being a helpful an inoffensive change 🤔 Github hasn't recorded who closed it which isn't super helpful. I'm going to be bold and reopen. @NickColley Did you close this? If you did, did you mean to or was it an accident.

@owenatgov owenatgov reopened this Aug 4, 2022
Copy link
Contributor

@owenatgov owenatgov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🪗

@owenatgov owenatgov added this to the v4.3.0 milestone Aug 4, 2022
@owenatgov owenatgov merged commit 2312417 into alphagov:main Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants