docs: Fix hightlight line

This commit is contained in:
Marc Rousavy
2023-09-27 12:10:06 +02:00
parent 42d9948e8a
commit 4830ba8bf6
5 changed files with 34 additions and 18 deletions

View File

@@ -7,17 +7,16 @@
/* You can override the default Infima variables here. */
:root {
--docusaurus-highlighted-code-line-bg: rgb(229, 229, 232);
--ifm-color-primary: rgb(132, 170, 124);
--ifm-link-color: rgb(62, 166, 41);
--ifm-code-font-size: 95%;
--highlight-color: rgb(118, 228, 97);
}
.docusaurus-highlight-code-line {
background-color: rgb(72, 77, 91);
display: flex;
margin: 0 calc(-1 * var(--ifm-pre-padding));
padding: 0 var(--ifm-pre-padding);
[data-theme='dark'] {
/* Color which works with dark mode syntax highlighting theme */
--docusaurus-highlighted-code-line-bg: rgb(61, 63, 67);
}
img {