{{ $styles := .Params.style }}
{{ $bg_image := printf `<svg xmlns="http://www.w3.org/2000/svg" width="1803" height="1071" viewBox="0 0 1803 1071"><path fill="%s" d="M218,66L1803,0V1071H0Z" /></svg>` $styles.accent.bgcolor }}
{{ $logo_bg := default "product-bg-2" .Params.logo_bg_img }}
{{/* Load the SVG file and replace the colors */}}
{{ $svg_contents := (printf "themes/kinvolk/static/images/%s.svg" $logo_bg) | readFile | safeHTML }}
{{ $svg_contents = replace $svg_contents  "__main_fill__" $styles.bgcolor 