A secondary color dropdown'
icon = 'fa-solid fa-eye'
color = 'secondary'
body = 'And some content and an icon!'
{{< /dropdown >}}

*/}}

{{- $data := .Inner | transform.Unmarshal -}}
<details class="sd-card sd-dropdown sd-mb-3">
  {{- with $data.color }}
  <summary class="sd-summary-title sd-card-header sd-bg-{{ . }} sd-bg-text-{{ . }}">
  {{- else }}
    <summary class="sd-summary-title sd-card-header">
  {{- end }}
  {{- with $data.icon }}
  <span class="sd-summary-icon"><i class="fa {{ . }}"></i></span>
