Skip to content

Commit

Permalink
docs: Customize parameters color in ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Apr 27, 2024
1 parent bc25b6a commit a86ca7d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/css/mkdocstrings.css
Expand Up @@ -29,4 +29,14 @@ a.autorefs-external:hover::after {
/* Avoid breaking parameters name, etc. in table cells. */
td code {
word-break: normal !important;
}
}

[data-md-color-scheme="default"] {
--doc-symbol-parameter-fg-color: #d3a81b;
--doc-symbol-parameter-bg-color: #d3a81b1a;
}

[data-md-color-scheme="slate"] {
--doc-symbol-parameter-fg-color: #dfbe50;
--doc-symbol-parameter-bg-color: #dfbe501a;
}

0 comments on commit a86ca7d

Please sign in to comment.