Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/scss/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ $govuk-typography-scale: map-merge($govuk-typography-scale, $app-typography-scal

.app-heading--divider {
padding-bottom: govuk-spacing(2);
border-bottom: 4px solid govuk-colour(blue);
border-bottom: 4px solid govuk-colour("blue");
}
4 changes: 2 additions & 2 deletions assets/scss/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@
}
}

// temp disable cookie banner
// temp disable cookie banner
#global-cookie-message { display: none !important; }

.app-tests-header {
border-bottom: 4px solid govuk-colour(blue);
border-bottom: 4px solid govuk-colour("blue");
display: flex;
justify-content: space-between;
margin-bottom: govuk-spacing(4);
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/components/_summary-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
border: 1px solid $govuk-border-colour;

&:target {
border: 5px solid govuk-colour(blue);
border: 5px solid govuk-colour("blue");
}

/* Card header */
Expand Down
14 changes: 7 additions & 7 deletions assets/scss/components/_test-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
background: #ffa537;
box-sizing: border-box;
}

&--fail {
background: govuk-colour("red");
}
Expand All @@ -126,9 +126,9 @@
}

&--warn {
color: darken(govuk-colour(orange),50);
color: darken(govuk-colour("orange"),50);
a {
color: darken(govuk-colour(orange),50);
color: darken(govuk-colour("orange"),50);
}
}

Expand Down Expand Up @@ -161,7 +161,7 @@

.app-test-group:target {
padding-left: govuk-spacing(5);
border-left: 4px solid govuk-colour(blue);
border-left: 4px solid govuk-colour("blue");
}

.app-sticky-bottom {
Expand All @@ -170,8 +170,8 @@
bottom: 50%;
width: 100%;
a {
// background: rgba(govuk-colour(blue),0.95);
// background: govuk-colour(light-grey);
// background: rgba(govuk-colour("blue"),0.95);
// background: govuk-colour("light-grey");
padding: govuk-spacing(2) govuk-spacing(2);
display: inline-block;
transform: translateX(calc(-100% - 2em));
Expand All @@ -180,7 +180,7 @@
&--full {
position: sticky;
bottom: 0%;
background: rgba(govuk-colour(blue),0.95);
background: rgba(govuk-colour("blue"),0.95);
background: rgba(white,0.9);
padding: govuk-spacing(2) 0;
border-top: 1px solid $govuk-border-colour;
Expand Down
1 change: 1 addition & 0 deletions digital-land-frontend.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"digitalLandFrontendPath": "node_modules/@planning-data/digital-land-frontend/",
"scssPath": "./assets/scss",
"jsOutputPath": "application/static/javascripts",
"stylesheetsOutputPath": "application/static/stylesheets",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"watch:assets": "npm run nps watch.assets",
"watch:pages": "npm run nps watch.pages",
"watch": "npm-run-all --parallel watch:*",
"nps": "nps -c ./node_modules/digital-land-frontend/package-scripts.js",
"nps": "nps -c ./node_modules/@planning-data/digital-land-frontend/package-scripts.js",
"copyjs": "rsync -ar assets/javascripts/ application/static/javascripts",
"postinstall": "npm run copyjs && npm run nps copy.javascripts && npm run nps build.stylesheets && npm run nps build.javascripts",
"start": "run-p watch flask"
Expand All @@ -26,7 +26,7 @@
"url": "https://github.com/digital-land/maturity-model-prototype/issues"
},
"dependencies": {
"digital-land-frontend": "https://gitpkg.now.sh/digital-land/digital-land-frontend/package?main"
"@planning-data/digital-land-frontend": "^0.3.4"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
Expand Down