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, className: preClassName,
style: { backgroundColor, ...style }, style: { backgroundColor: _, ...style },
tokens, tokens,
...rest ...rest
}) => ( }) => (

View File

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