Skip to content

Commit a6f8367

Browse files
authored
fix: increase codeblock title contrast (#22713)
1 parent a746d0b commit a6f8367

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

layouts/_default/_markup/render-codeblock.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<div data-pagefind-ignore class="scroll-mt-2" x-data x-ref="root">
22
{{ with .Attributes.title }}
3-
<div class="mb-3 text-sm text-gray-100 dark:bg-gray-900 dark:text-gray-900">
3+
<div
4+
class="mb-0 rounded-sm bg-gray-100 p-2 text-sm text-gray-900 dark:bg-gray-900 dark:text-gray-200"
5+
>
46
{{ . }}
57
</div>
68
{{ end }}

0 commit comments

Comments
 (0)