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

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

No files matched your search

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