Add GOVUK Frontend Sass, configured for this app

Like:

https://github.com/alphagov/govuk-frontend/blob/v2.13.0/package/all.scss

...but specifying the components to include,
starting with the ones that make up the
govuk_template and setting any variables needed.
This commit is contained in:
Tom Byers
2019-10-09 12:48:59 +01:00
parent 0599f54a83
commit 32aba71ab7
2 changed files with 23 additions and 0 deletions

View File

@@ -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";

View File

@@ -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';