Skip to content

Commit

Permalink
update image border and code text colour
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhunter08 committed Oct 3, 2024
1 parent d3aa25f commit 5189314
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docs/assets/css/_content.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.app-content {
// So images do not break the container
img {
border: 4px solid white;
max-width: 100%;
border: nhsuk-spacing(1) solid $app-img-border-color;
max-width: 100%; // So images do not break the container
}
}
2 changes: 1 addition & 1 deletion docs/assets/css/_example.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pre[class*="language-"] {

code:not([class*="language-"]) {
padding: 0 4px;
color: #dd4a68;
color: #c62950;
background-color: white;
font-family: monospace, monospace;
font-size: 1em;
Expand Down
3 changes: 2 additions & 1 deletion docs/assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
// Import all styles from the NHS App frontend library
@import "src/all";

// Brand colour
// Colours
$app-brand-color: $color_nhsuk-blue;
$app-img-border-color: #d7e5ef;

// Import all styles specific for the design system docs
@import "docs/assets/css/components/header";
Expand Down

0 comments on commit 5189314

Please sign in to comment.