theme: Adjust admonition dark mode colors

Closes #3070
This commit is contained in:
Joe Mooring 2025-05-26 11:53:52 -07:00 committed by Bjørn Erik Pedersen
parent 2f15e9c34d
commit 43b35e56a9
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@
{{- $text := .text | default "" }}
{{- $class := .class | default "mt-6 mb-8" }}
<div
class="border-l-4 overflow-x-auto border-{{ $color }}-400 bg-{{ $color }}-50 dark:bg-{{ $color }}-950 border-1 border-{{ $color }}-100 dark:border-{{ $color }}-900 p-4 {{ $class }}">
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 }}">
<div class="flex">
<div class="shrink-0">
<svg class="fill-{{ $color }}-500 dark:fill-{{ $color }}-400 h-7 w-7">

View File

@ -7,6 +7,5 @@
"color" "orange"
"icon" "information-circle"
"text" ($text | $.Page.RenderString )
"title" ""
"class" "text-black")
"title" "")
}}