fix: make text in inline code blocks visible #38

Merged
naomi merged 1 commits from fix/inline-code-block-colors into main 2026-07-02 00:39:22 -07:00
Showing only changes of commit 194e5a0475 - Show all commits
+14
View File
@@ -191,6 +191,20 @@ site-search button[data-open-modal] kbd {
border-color: var(--primary-color) !important; border-color: var(--primary-color) !important;
} }
:where(.sl-markdown-content, .content-panel, article) :not(pre) > code {
font-family: "Courier New", monospace;
font-weight: 600;
background: rgba(43, 27, 61, 0.05) !important;
color: var(--witch-purple) !important;
padding: 2px 6px;
border-radius: 4px;
}
html[data-theme="dark"] :where(.sl-markdown-content, .content-panel, article) :not(pre) > code {
background: rgba(255, 255, 255, 0.08) !important;
color: var(--witch-lavender) !important;
}
#starlight__search { #starlight__search {
--pagefind-ui-text: var(--primary-color); --pagefind-ui-text: var(--primary-color);
--pagefind-ui-primary: var(--witch-rose); --pagefind-ui-primary: var(--witch-rose);