From 77aef0cea8c3a0acbe4b4fdfa78facb05cc197e1 Mon Sep 17 00:00:00 2001 From: Shaun Struwig <41984034+Blargian@users.noreply.github.com> Date: Fri, 17 Oct 2025 19:30:46 +0200 Subject: [PATCH 1/2] lighter background for yellow caution block --- src/css/custom.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/css/custom.scss b/src/css/custom.scss index 6ea7bb4a81b..6c8041e5c3f 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -135,6 +135,10 @@ body { [data-theme='dark'] .theme-admonition-tip.alert--success .alert-content { background-color: rgba(255,255,255,0.1); + + code { + background: #bfbfbf !important; + } } [data-theme='dark'] .DocSearch-Hit-source { From 7cbef136784aa246a2d179524e561e8d9ea001f5 Mon Sep 17 00:00:00 2001 From: Shaun Struwig <41984034+Blargian@users.noreply.github.com> Date: Fri, 17 Oct 2025 19:32:56 +0200 Subject: [PATCH 2/2] Update custom.scss --- src/css/custom.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/css/custom.scss b/src/css/custom.scss index 6c8041e5c3f..330c48fc507 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -136,9 +136,6 @@ body { [data-theme='dark'] .theme-admonition-tip.alert--success .alert-content { background-color: rgba(255,255,255,0.1); - code { - background: #bfbfbf !important; - } } [data-theme='dark'] .DocSearch-Hit-source { @@ -1153,6 +1150,10 @@ button.DocSearch { .alert-content { background: var(--click-color-warning-background) !important; + + code { + background: #bfbfbf !important; + } } }