From 319986d7abd215c6b7b2cb7960cca84e5307ebc3 Mon Sep 17 00:00:00 2001 From: David Biddle Date: Fri, 10 Jan 2025 14:01:26 +0000 Subject: [PATCH] Use $govuk-assets-path 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. --- app/frontend/entrypoints/application.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/frontend/entrypoints/application.scss b/app/frontend/entrypoints/application.scss index 129a11f..4746300 100644 --- a/app/frontend/entrypoints/application.scss +++ b/app/frontend/entrypoints/application.scss @@ -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; $govuk-suppressed-warnings: ( ie8