Skip to content

Commit

Permalink
[1238] Add sprocket related items
Browse files Browse the repository at this point in the history
  • Loading branch information
avinhurry committed Feb 20, 2024
1 parent fd6bd8d commit c5eb2d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
4 changes: 4 additions & 0 deletions app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
//= link_tree ../images
//= link_tree ../builds

// govuk-frontend assets
//= link_directory ../../../node_modules/govuk-frontend/dist/govuk/assets/images
//= link_directory ../../../node_modules/govuk-frontend/dist/govuk/assets/fonts
12 changes: 2 additions & 10 deletions app/assets/stylesheets/govuk_style_setup.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
@function frontend-font-url($filename) {
@return url("govuk-frontend/govuk/assets/fonts/" + $filename);
}

@function frontend-image-url($filename) {
@return url("govuk-frontend/govuk/assets/images/" + $filename);
}

$govuk-font-url-function: frontend-font-url;
$govuk-image-url-function: frontend-image-url;
$govuk-fonts-path: "";
$govuk-images-path: "";

@import "govuk-frontend/dist/govuk/all";
@import "@ministryofjustice/frontend/moj/all";
Expand Down

0 comments on commit c5eb2d6

Please sign in to comment.