-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
@@ -0,0 +1,15 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overrides
is for overriding existing library files. It looks like govuk_frontend_toolkit
does not contain a file called _layout.scss
.
ah, I think the intention is to override the govuk_elements file - so this file should be under govuk_elements
, rather than govuk_frontend_toolkit
.
|
||
// govuk template | ||
|
||
@import 'elements/govuk-template-base'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've not documented this yet, and it's very implicit - but files in overrides
should "inherit" the file they're overriding
so this should be @import "!elements/layout"
(note the prefix of !
tells out custom sass importer to import the library file, rather than our override.)
…-elements into ED-3230-header-footer-css
https://uktrade.atlassian.net/browse/ED-3230