docs: fix select code blocks in UI docs (#11010)

This commit is contained in:
Shahed Nasser
2025-01-17 15:20:58 +02:00
committed by GitHub
parent c1cbd548e2
commit cbcca219e2
2 changed files with 3 additions and 3 deletions

View File

@@ -388,7 +388,7 @@ export const CodeBlock = ({
>
{({
className: preClassName,
style: { backgroundColor, ...style },
style: { backgroundColor: _, ...style },
tokens,
...rest
}) => (

View File

@@ -837,13 +837,13 @@ module.exports = {
},
".code-block-highlight": {
"*::selection": {
"background-color": "var(--docs-contrast-fg-secondary)",
"background-color": "var(--docs-contrast-fg-secondary) !important",
color: "var(--docs-contrast-bg-base)",
},
},
".code-block-highlight-light": {
"*::selection": {
"background-color": "var(--docs-bg-highlight)",
"background-color": "var(--docs-bg-highlight) !important",
},
},
".badge": {