From 092415c129716ca56aaf836fa60a209f02d899ce Mon Sep 17 00:00:00 2001 From: Kyle McLaren Date: Thu, 9 Jul 2026 20:45:24 +0200 Subject: [PATCH] Make inline code violet everywhere to match callout code chips Inline code in normal text used near-black text on the lavender chip while callout code used the violet treatment, so the two looked different. Apply the violet color to the universal inline-code rule so it reads identically everywhere. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/styles/custom.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/styles/custom.css b/src/styles/custom.css index ca98a82..5b6287d 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -563,10 +563,11 @@ opacity: 1 !important; } -/* Inline code as a light-lavender chip, like fly.io/docs */ +/* Inline code as a light-lavender chip with violet text, matching the callout + code styling so inline code reads identically everywhere. */ :not(pre) > code { background: var(--sl-color-bg-inline-code); - color: #191034; + color: #7c3aed; padding: 0.1em 0.36em; border-radius: 0.35rem; font-size: 0.9em; @@ -574,7 +575,7 @@ } [data-theme='dark'] :not(pre) > code { - color: #e7e2f7; + color: #c4b5fd; } /*