Skip to content

Conversation

andysellick
Copy link
Contributor

What

Removes some unnecessary @import lines from component Sass, and some unneeded options in the button.yml file, see commits for details.

Why

Spotted this while doing some unrelated work.

Visual Changes

None, hopefully.

@govuk-ci govuk-ci temporarily deployed to components-gem-pr-5041 September 26, 2025 10:10 Inactive
@andysellick andysellick marked this pull request as draft September 26, 2025 10:51
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-5041 September 26, 2025 10:51 Inactive
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-5041 September 26, 2025 10:58 Inactive
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-5041 September 26, 2025 11:02 Inactive
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-5041 September 26, 2025 11:06 Inactive
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-5041 September 26, 2025 11:14 Inactive
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-5041 September 26, 2025 11:14 Inactive
- most of our components seem to import individual_component_support by default (which itself imports govuk_frontend_support, which mainly imports govuk-frontend-settings and govuk-base)
- these ones don't need it, it turns out
- not sure if this makes a difference to anything, but it might fractionally improve the compilation time
- margin_bottom option is already demonstrated in a specific example, having it included in these extra examples seems unnecessary
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.

2 participants