diff --git a/docs/_static/css/dark.css b/docs/_static/css/dark.css index a87ff09eb..a31ba8651 100644 --- a/docs/_static/css/dark.css +++ b/docs/_static/css/dark.css @@ -633,3 +633,22 @@ code.docutils.literal.notranslate { a.remix-link { filter: invert(1); /* The icon is black. In dark mode we want it white. */ } + + +/* Grammar */ + +.railroad-diagram { + fill: white; +} + +.railroad-diagram path { + stroke: white; +} + +.railroad-diagram rect { + stroke: white; +} + +.a4 .sig-name { + background-color: transparent !important; +}