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;