From 43b35e56a91039fd0f6517bc649f6e2c8c0856c9 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 26 May 2025 11:53:52 -0700 Subject: [PATCH] theme: Adjust admonition dark mode colors Closes #3070 --- layouts/_partials/layouts/blocks/alert.html | 2 +- layouts/_shortcodes/newtemplatesystem.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/layouts/_partials/layouts/blocks/alert.html b/layouts/_partials/layouts/blocks/alert.html index 45f0044d9..710226ebb 100644 --- a/layouts/_partials/layouts/blocks/alert.html +++ b/layouts/_partials/layouts/blocks/alert.html @@ -4,7 +4,7 @@ {{- $text := .text | default "" }} {{- $class := .class | default "mt-6 mb-8" }}
+ class="border-l-4 overflow-x-auto border-{{ $color }}-400 bg-{{ $color }}-50 dark:bg-{{ $color }}-800 border-1 dark:border-{{ $color }}-700 p-4 {{ $class }}">
diff --git a/layouts/_shortcodes/newtemplatesystem.html b/layouts/_shortcodes/newtemplatesystem.html index 0bebcd622..d4b0ad375 100644 --- a/layouts/_shortcodes/newtemplatesystem.html +++ b/layouts/_shortcodes/newtemplatesystem.html @@ -7,6 +7,5 @@ "color" "orange" "icon" "information-circle" "text" ($text | $.Page.RenderString ) - "title" "" - "class" "text-black") + "title" "") }}