Fix illegible code blocks: use light background to match Prism theme
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m26s

The existing prism.css sets color:black on code elements. Dark
bg-stone-900 backgrounds made text invisible. Switched to bg-stone-50
with a border to work with the light Prism theme.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-02 21:38:20 +00:00
parent 8b2785ccb0
commit 3d55145e5f
3 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@
(div :class "border border-dashed border-stone-300 rounded p-4 bg-white" children))
(defcomp ~example-source (&key code)
(div :class "bg-stone-900 rounded p-4 mt-3 overflow-x-auto"
(div :class "bg-stone-50 border border-stone-200 rounded p-4 mt-3 overflow-x-auto"
(pre :class "text-sm"
(code :class "language-lisp" code))))