Skip to content

Commit 7c8b885

Browse files
committed
refactor: Maintain original Pygments color for cross-refs in signatures
1 parent e5ccb4f commit 7c8b885

File tree

1 file changed

+6
-1
lines changed
  • src/mkdocstrings_handlers/python/templates/material

1 file changed

+6
-1
lines changed

src/mkdocstrings_handlers/python/templates/material/style.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,9 @@ code.doc-symbol-module {
105105

106106
code.doc-symbol-module::after {
107107
content: "mod";
108-
}
108+
}
109+
110+
.doc-signature .autorefs {
111+
color: inherit;
112+
border-bottom: 1px dotted currentcolor;
113+
}

0 commit comments

Comments
 (0)