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

Standardise inverse option for action link component #4288

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

andysellick
Copy link
Contributor

@andysellick andysellick commented Oct 8, 2024

What

Rename action link component option for displaying it on a dark background from light_text to inverse.

This could potentially be a breaking change but I've checked and I don't think this option is currently in use anywhere. The places the action link component is used are:

Why

We're doing some unrelated work with the action link component and the fact that action link uses something other than inverse causes extra code to be required. Most of our components with an inverse option use inverse so it seems like standardising is sensible as well.

Visual Changes

Should be no actual visual changes apart from some of the names of the examples in the component guide.

@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4288 October 8, 2024 08:04 Inactive
@andysellick andysellick changed the title Standardise inverse options for components Standardise inverse option for action link component Oct 8, 2024
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4288 October 8, 2024 10:21 Inactive
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4288 October 8, 2024 10:23 Inactive
- renames option from 'light_text' to 'inverse'
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4288 October 8, 2024 10:46 Inactive
@andysellick andysellick marked this pull request as ready for review October 8, 2024 10:47
Copy link
Contributor

@richardTowers richardTowers left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for cleaning up this little inconsistency.

Copy link
Contributor

@AshGDS AshGDS left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@andysellick andysellick merged commit 307be5a into main Oct 9, 2024
12 checks passed
@andysellick andysellick deleted the standardise-inverse branch October 9, 2024 10:30
@MartinJJones MartinJJones mentioned this pull request Oct 9, 2024
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.

4 participants