From 1edd3ab99239aa00260d291da5cbf22746c9ace2 Mon Sep 17 00:00:00 2001 From: "J. Adly" Date: Thu, 25 Dec 2025 00:00:19 +0200 Subject: [PATCH] fix: improve contrast for inline code (catppuccin#77) --- src/_theme.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/_theme.scss b/src/_theme.scss index a9d8ae2..e82ba46 100644 --- a/src/_theme.scss +++ b/src/_theme.scss @@ -347,6 +347,11 @@ strong { .inline-code-block { color: #{$crust}; + +} + +code:not(pre code):not(.code-inner) { + background-color: var(--color-markup-code-inline) !important; } ::selection {