Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable review app to include legacy styles #1275

Merged
merged 5 commits into from
Apr 17, 2019
Merged

Conversation

hannalaakso
Copy link
Member

Co-authored with @36degrees

This addresses the first part of #1262:

  • Add legacy styles to review app
  • Create legacy stylesheets
  • Add tasks to compile legacy sass stylesheets
  • Allow template CSS to be included in layout

Also:

  • Remove some duplicated code from the layout which already extends generic

hannalaakso and others added 5 commits April 16, 2019 12:11
These import the Elements and Frontend toolkit and enable
the compatibility mode

Co-authored-by: Oliver Byford <oliver.byford@digital.cabinet-office.gov.uk>
These are only required for the review app so excluding them
if building for dist

Co-authored-by: Oliver Byford <oliver.byford@digital.cabinet-office.gov.uk>
These stylesheets and scripts are included in generic.njk
which is called by super() so including them again here
is redundant

Co-authored-by: Oliver Byford <oliver.byford@digital.cabinet-office.gov.uk>
Co-authored-by: Oliver Byford <oliver.byford@digital.cabinet-office.gov.uk>
Copy link
Contributor

@aliuk2012 aliuk2012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its a pity we couldn't clean up the gulp task but we all agree its out of scope for this work and its already a bit weird.

👍 Great work @hannalaakso and @36degrees.

@hannalaakso hannalaakso merged commit ba5fc63 into master Apr 17, 2019
@hannalaakso hannalaakso deleted the import-legacy-styles branch April 17, 2019 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants