aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorOlivier Roques <oroques@fastmail.com>2021-01-31 13:22:09 +0100
committerOlivier Roques <oroques@fastmail.com>2021-01-31 13:22:09 +0100
commit8d17170d2a4e46c4168bbff9b4c6afe8f19a5fec (patch)
tree881bc2d37821fb91864a5d3ad48f730c739c2dec /assets
parent81ebea577c9f8b5a5571db0256a8ddc3da9e198b (diff)
Add default options
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/researcher.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/assets/sass/researcher.scss b/assets/sass/researcher.scss
index d75810f..89b5f09 100644
--- a/assets/sass/researcher.scss
+++ b/assets/sass/researcher.scss
@@ -1,13 +1,13 @@
// Sizes
-$max-width: {{ .Param "style.pageWidth" }};
-$avatar-size: {{ .Param "style.avatarSize" }};
+$max-width: {{ .Param "style.pageWidth" | default "750px;" }};
+$avatar-size: {{ .Param "style.avatarSize" | default "90px;" }};
// Colors
-$black: {{ .Param "style.colorBlack" }};
-$red: {{ .Param "style.colorRed" }};
+$black: {{ .Param "style.colorBlack" | default "#222222" }};
+$red: {{ .Param "style.colorRed" | default "#dc3545" }};
// Font
-$font-family: {{ .Param "style.fontFamily" }};
+$font-family: {{ .Param "style.fontFamily" | default "Inconsolata" }};
// Margins
$y-small: 0.6rem;