mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-16 08:12:36 -04:00
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:
21
app/assets/stylesheets/govuk-frontend/_all.scss
Normal file
21
app/assets/stylesheets/govuk-frontend/_all.scss
Normal 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";
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user