{{- $background := "hsl(240, 8%, 9%)" | safeCSS }} {{- $primary := "hsl(43, 50%, 70%)" | safeCSS }} {{- $positive := "hsl(43, 50%, 70%)" | safeCSS }} {{- $negative := "hsl(0, 70%, 70%)" | safeCSS }} {{- if .BackgroundColor }}{{ $background = .BackgroundColor.String | safeCSS }}{{ end }} {{- if .PrimaryColor }} {{- $primary = .PrimaryColor.String | safeCSS }} {{- if not .PositiveColor }} {{- $positive = $primary }} {{- else }} {{- $positive = .PositiveColor.String | safeCSS }} {{- end }} {{- end }} {{- if .NegativeColor }}{{ $negative = .NegativeColor.String | safeCSS }}{{ end }}