diff --git a/app/assets/stylesheets/govuk-frontend/_all.scss b/app/assets/stylesheets/govuk-frontend/_all.scss new file mode 100644 index 000000000..0b103ce49 --- /dev/null +++ b/app/assets/stylesheets/govuk-frontend/_all.scss @@ -0,0 +1,21 @@ +// Version of node_modules/govuk-frontend/components/all.scss specific to Notify +// Included to allow us to only include the components we need +// All imports come from node_modules/govuk-frontend + +// set asset URL root to match that of application +$govuk-assets-path: "/static/"; + +@import "settings/all"; +@import "tools/all"; +@import "helpers/all"; + +@import "core/all"; +@import "objects/all"; + +// section replacing @import 'components/all', specifying which components to include +@import 'components/skip-link/_skip-link'; +@import 'components/header/_header'; +@import 'components/footer/_footer'; + +@import "utilities/all"; +@import "overrides/all"; diff --git a/app/assets/stylesheets/main.scss b/app/assets/stylesheets/main.scss index 3571fe020..fb5af3667 100644 --- a/app/assets/stylesheets/main.scss +++ b/app/assets/stylesheets/main.scss @@ -31,6 +31,8 @@ $path: '/static/images/'; @import 'elements/panels'; @import 'elements/tables'; +// Dependencies from GOV.UK Frontend, packaged to be specific to this application +@import './govuk-frontend/all'; // Specific to this application @import 'grids';