Skip to content

Commit

Permalink
Merge pull request #19 from kjeller/main
Browse files Browse the repository at this point in the history
Add param.style color option for home_image border
  • Loading branch information
austingebauer committed Aug 29, 2022
2 parents 061262f + 8b4bc6f commit b968ce0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/sass/override.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// === Import Bootstrap and set variable overrides ===
$body-bg: {{ if .Param "style.backgroundColor" }}{{ .Param "style.backgroundColor"}}{{ else }}#f8f9fa{{ end }};
$body-color: {{ if .Param "style.fontColor" }}{{ .Param "style.fontColor"}}{{ else }}#212529{{ end }};
$home-image-border-color: {{ if .Param "style.homeImageBorderColor" }}{{ .Param "style.homeImageBorderColor"}}{{ else }}#ffffff{{ end }};
$font-family-base: "Helvetica Neue", Arial, sans-serif;
$font-size-base: 0.95rem;
@import "../../node_modules/bootstrap/scss/bootstrap";
Expand All @@ -24,7 +25,7 @@ $fa-font-path: "../webfonts";
#home-image {
width: 120px;
height: 120px;
border: solid 5px white;
border: solid 5px $home-image-border-color;
box-shadow: 0px 10px 7px -10px rgba(0,0,0,0.6);
border-radius: 0.20rem;
padding: 0px;
Expand Down

0 comments on commit b968ce0

Please sign in to comment.