From 16d758b7f9a032ebf629cb0cb13526ede09f06f2 Mon Sep 17 00:00:00 2001 From: minaminao Date: Fri, 7 Apr 2023 13:16:21 +0900 Subject: [PATCH] Fix dark mode in grammar --- docs/_static/css/dark.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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; +}