Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

ED-3230 header footer css #8

Merged
merged 20 commits into from
Feb 5, 2018
Merged

ED-3230 header footer css #8

merged 20 commits into from
Feb 5, 2018

Conversation

eadpearce
Copy link
Contributor

@@ -0,0 +1,15 @@

Copy link

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';
Copy link

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.)

@richtier richtier merged commit 59fc82a into master Feb 5, 2018
@richtier richtier deleted the ED-3230-header-footer-css branch February 5, 2018 13:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants