Skip to content

Commit

Permalink
Merge pull request #17 from digital-land/fontsAndStyles
Browse files Browse the repository at this point in the history
fix fonts and set global styles
  • Loading branch information
GeorgeGoodall authored Nov 22, 2023
2 parents e0c1e61 + 95eb983 commit d0d88ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const app = express()
app.use(hmpoLogger.middleware())

// add routing for static assets
app.use('/assets', express.static('./node_modules/govuk-frontend/govuk/assets'))
app.use('/public', express.static('./public'))

// cookies and sessions (redis or elasticache should be used in a prod env)
Expand Down
2 changes: 2 additions & 0 deletions src/assets/scss/index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$govuk-global-styles: true;

@import "node_modules/govuk-frontend/govuk/all";
@import "node_modules/@x-govuk/govuk-prototype-components/x-govuk/all";
@import "src/assets/scss/_scrollable-container.scss";
Expand Down

0 comments on commit d0d88ae

Please sign in to comment.