Blue note callout

This commit is contained in:
CravateRouge 2024-11-13 13:03:42 +08:00 committed by GitHub
commit 8dd5c1826f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,8 +9,8 @@
Otherwise, you can add your own icon to assets/media/icons/ and reference its name when calling the shortcode. Otherwise, you can add your own icon to assets/media/icons/ and reference its name when calling the shortcode.
*/}} */}}
{{ $icon := "information-circle" }} {{ $icon := "information-circle" }}
{{ $class := "bg-primary-100 dark:bg-primary-900" }} {{ $class := "bg-blue-100 dark:bg-blue-900" }}
{{ $class_text := "text-primary-600 dark:text-primary-300" }} {{ $class_text := "text-blue-600 dark:text-blue-300" }}
{{ with (.Get 0) }} {{ with (.Get 0) }}
{{ if eq . "note" }} {{ if eq . "note" }}
{{ $icon = "information-circle" }} {{ $icon = "information-circle" }}