From d3f0788150ce4af626b5e73ccfdd3f01c2289863 Mon Sep 17 00:00:00 2001 From: Vitya <9317613+vitya-ne@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:51:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=20=D1=84=D0=BE=D0=BD=20=D0=BB=D1=8D=D0=B9?= =?UTF-8?q?=D0=B1=D0=BB=D0=B0=20=D1=8F=D0=B7=D1=8B=D0=BA=D0=B0=20=D0=B2=20?= =?UTF-8?q?=D0=B1=D0=BB=D0=BE=D0=BA=D0=B5=20=D0=BA=D0=BE=D0=B4=D0=B0=20(#1?= =?UTF-8?q?311)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/blocks/block-code.css | 2 +- src/styles/blocks/callout.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/styles/blocks/block-code.css b/src/styles/blocks/block-code.css index 3f581986..2746cdf3 100644 --- a/src/styles/blocks/block-code.css +++ b/src/styles/blocks/block-code.css @@ -23,7 +23,7 @@ font-size: 0.6em; line-height: 1; letter-spacing: 0.025em; - background-color: hsl(var(--color-fade)); + background-color: var(--code-lang-lable-background, hsl(var(--color-fade))); border-radius: 2em; transition: opacity 0.2s; } diff --git a/src/styles/blocks/callout.css b/src/styles/blocks/callout.css index 76678491..6df99701 100644 --- a/src/styles/blocks/callout.css +++ b/src/styles/blocks/callout.css @@ -18,6 +18,7 @@ .callout__content { --background-code-color: hsl(var(--color-base-background)); + --code-lang-lable-background: var(--background-code-color); display: flex; flex-direction: column; flex: 1 1 320px;