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

Remove new link styles feature flag #3600

Merged
merged 2 commits into from
May 11, 2023
Merged

Conversation

36degrees
Copy link
Contributor

This follows on from #3599 and removes the feature flag entirely. I think this makes sense as all of the CSS within the block guarded by the new link styles flag is also guarded by the other settings.

This means we can remove the flag as users can still disable the new link styles by setting:

$govuk-link-underline-offset: false;
$govuk-link-underline-thickness: false;
$govuk-link-hover-underline-thickness: false;

Would appreciate second opinions on whether this makes sense or whether we should do it 'properly' and deprecate it and remove it in v6 instead.

All of the CSS within the block guarded by the new link styles flag is also guarded by the other settings.

This means we can remove the flag as users can still disable the new link styles by setting:

```
$govuk-link-underline-offset: false;
$govuk-link-underline-thickness: false;
$govuk-link-hover-underline-thickness: false;
```
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-3600 May 10, 2023 09:30 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-3600 May 10, 2023 09:31 Inactive
Base automatically changed from enable-new-link-styles-default to main May 10, 2023 09:33
@owenatgov owenatgov self-requested a review May 10, 2023 10:59
owenatgov
owenatgov previously approved these changes May 10, 2023
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 dismissed their stale review May 10, 2023 11:02

I'm removing this as I was too keen and missed that this was still in draft

@36degrees 36degrees marked this pull request as ready for review May 11, 2023 09:00
@36degrees 36degrees merged commit 366057d into main May 11, 2023
@36degrees 36degrees deleted the remove-new-link-styles-flag branch May 11, 2023 10:50
romaricpascal pushed a commit that referenced this pull request May 18, 2023
@romaricpascal romaricpascal mentioned this pull request Dec 8, 2023
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