{{- $content := .content -}} {{- $emoji := .emoji -}} {{- $icon := .icon -}} {{- $defaultClass := "hx:border-orange-100 hx:bg-orange-50 hx:text-orange-800 hx:dark:border-orange-400/30 hx:dark:bg-orange-400/20 hx:dark:text-orange-300" -}} {{- $class := .class | default $defaultClass -}}
{{- with $emoji -}}
{{- . -}}
{{- else -}} {{- with $icon -}} {{ partial "utils/icon.html" (dict "name" . "attributes" `height=1.2em class="hx:inline-block hx:align-middle"`) -}} {{- end -}} {{- end -}}
{{- $content -}}