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

Update govuk-frontend base SCSS imports #1922

Merged
merged 3 commits into from
Feb 12, 2021
Merged

Conversation

alex-ju
Copy link
Contributor

@alex-ju alex-ju commented Feb 11, 2021

What

Clean up govuk_frontend_support.scss

Why

It's recommended to import base instead of settings, tools, helpers since govuk-frontend 3.7.0

The FCDO colour is already available since govuk-frontend 3.9.0

Note

In govuk-frontend 4.0.0 we won't be able to import core and overrides without base, which means that our component_support.scss must import govuk_frontend_support.scss by default instead of doing it separately/optionally at the app level.

Visual Changes

No visual changes

Prefer the equivalent `govuk/base` imports for simplicity
@bevanloon bevanloon temporarily deployed to govuk-publis-govuk-fron-svo0zl February 11, 2021 13:00 Inactive
@andysellick
Copy link
Contributor

Nice change. I'm hoping that base adds no CSS weight?

@alex-ju
Copy link
Contributor Author

alex-ju commented Feb 11, 2021

Nice change. I'm hoping that base adds no CSS weight?

base is virtually the same with settings, tools, helpers which is why there was no rush with this change, but 4.0.0 is getting close.

Copy link
Contributor

@andysellick andysellick left a comment

Choose a reason for hiding this comment

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

👍

This wes introduced in alphagov/govuk-frontend#1918 and is no longer needed since govuk-frontend 3.9.0
@alex-ju alex-ju force-pushed the govuk-frontend-imports branch from d6b74fd to 9b053ac Compare February 11, 2021 18:18
@bevanloon bevanloon temporarily deployed to govuk-publis-govuk-fron-svo0zl February 11, 2021 18:18 Inactive
@alex-ju alex-ju merged commit 7d1db44 into master Feb 12, 2021
@alex-ju alex-ju deleted the govuk-frontend-imports branch February 12, 2021 10:13
alex-ju added a commit that referenced this pull request Feb 15, 2021
## 24.1.1

* Fix deprecation warnings when running tests ([PR #1899](#1899))
* Update `govuk-frontend` base SCSS imports ([PR #1922](#1922))
* Remove redundant import in accordion component ([PR #1923](#1923))
* Fix toggle click tracking on step-by-steps ([PR #1925](#1925))
* Accordion summary design adjustment ([PR #1926](#1926))
* Fix `layout_header` layout and spacing issues ([PR #1924](#1924))
@alex-ju alex-ju mentioned this pull request Feb 15, 2021
This was referenced Mar 11, 2021
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