style(alert): add shadow to alert shortcode

This commit is contained in:
ZhenShuo Leo
2026-01-04 01:04:01 +08:00
parent 4a16b20d3f
commit c3e7d1b8b1

View File

@@ -10,9 +10,9 @@
<div
{{ if not ($.Scratch.Get "cardColor") }}
class="flex px-4 py-3 rounded-md bg-primary-100 dark:bg-primary-900"
class="flex px-4 py-3 rounded-md shadow bg-primary-100 dark:bg-primary-900"
{{ else }}
class="flex px-4 py-3 rounded-md" style="background-color: {{ $.Scratch.Get "cardColor" }}"
class="flex px-4 py-3 rounded-md shadow" style="background-color: {{ $.Scratch.Get "cardColor" }}"
{{ end }}
>
<span