Skip to content

Commit

Permalink
Document in CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
36degrees committed Dec 3, 2021
1 parent 445432a commit a85ea75
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,19 @@ If you're passing custom HTML into the cookie banner component (for example, usi

This change was introduced in [pull request #2432: Remove default font styles from cookie banner Sass](https://github.com/alphagov/govuk-frontend/pull/2432).

#### Import 'base' before importing Sass files from 'core' or 'overrides'

If you import individual files from the `core` or `overrides` layers, you might see the error "Undefined mixin 'govuk-exports'" or "no mixin named govuk-exports" when compiling your Sass.

To fix the error, import `node_modules/govuk-frontend/govuk/base` first. For example:

```scss
@import "node_modules/govuk-frontend/govuk/base";
@import "node_modules/govuk-frontend/core/typography";
```

This change was introduced in [pull request #2455: Remove 'base' import from files in core and overrides layers](https://github.com/alphagov/govuk-frontend/pull/2455).

### Optional changes

We've recently made some other changes to GOV.UK Frontend. While these are not breaking changes, implementing them will make your service work better.
Expand Down

0 comments on commit a85ea75

Please sign in to comment.