Skip to content

Commit

Permalink
Use $govuk-assets-path
Browse files Browse the repository at this point in the history
We were configuring both $govuk-fonts-path and $govuk-images-path. This
was overly verbose, since for our folder structure we can configure
$govuk-assets-path and it will generate values for $govuk-fonts-path and
$govuk-images-path identical to those we were passing in.
  • Loading branch information
DavidBiddle committed Jan 15, 2025
1 parent 2ace777 commit 757202b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/frontend/entrypoints/application.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
$govuk-images-path: "@govuk/assets/images/";
$govuk-fonts-path: "@govuk/assets/fonts/";
$govuk-assets-path: "@govuk/assets/";
$govuk-global-styles: true;

@import "pkg:govuk-frontend";
Expand Down

0 comments on commit 757202b

Please sign in to comment.