From 8d17170d2a4e46c4168bbff9b4c6afe8f19a5fec Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Sun, 31 Jan 2021 13:22:09 +0100 Subject: Add default options --- assets/sass/researcher.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'assets/sass') 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; -- cgit v1.2.3