From 4a22c57dc30cd877c8d01ddcea8589c2b19bdfbc Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 6 May 2024 23:13:48 +0100 Subject: [PATCH] fix: Callout accessibility and margin bottom --- modules/blox-tailwind/layouts/shortcodes/callout.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/blox-tailwind/layouts/shortcodes/callout.html b/modules/blox-tailwind/layouts/shortcodes/callout.html index 36f2b21b..32f2e820 100644 --- a/modules/blox-tailwind/layouts/shortcodes/callout.html +++ b/modules/blox-tailwind/layouts/shortcodes/callout.html @@ -10,7 +10,7 @@ */}} {{ $icon := "information-circle" }} {{ $class := "bg-primary-100 dark:bg-primary-900" }} -{{ $class_text := "text-primary-400" }} +{{ $class_text := "text-primary-600 dark:text-primary-300" }} {{ with (.Get 0) }} {{ if eq . "note" }} {{ $icon = "information-circle" }} @@ -22,7 +22,7 @@ {{ $icon = . }} {{end}} {{end}} -
+
{{ partial "functions/get_icon" (dict "name" $icon "attributes" "height=\"24\"") }}