From becac6ebb898ef1939d3ae791ffe28d9fce55282 Mon Sep 17 00:00:00 2001 From: "Alexander V. Hopp" Date: Mon, 4 Dec 2023 09:09:49 +0100 Subject: [PATCH 1/2] Change in-line code background in dark mode --- docs/conf.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index c93277e86..e2cefc09e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -153,7 +153,8 @@ "color-api-pre-name": LIGHT_BLUE, "color-api-name": DARK_BLUE, "color-toc-item-text": "black", - "color-inline-code-background": "#efeff4", # Very lightlight gray + # Background of code in text + "color-inline-code-background": "#efeff4", # Very light gray # Color of search bar when clicking search "color-sidebar-search-background--focus": DARK_BLUE, "color-link": DARK_BLUE, @@ -194,8 +195,8 @@ "color-api-name": BROWN, # Prefix in API names (e.g. baybe.campaign) "color-api-pre-name": "white", - # Background formlinks - "color-inline-code-background": "transparent", + # Background of code in text + "color-inline-code-background": DARK_GRAY, # Gray # The color of links "color-link": BROWN, # Color of text in the right navigation side bar From 138f31a528342d2e476cbbb7be547053baff9a28 Mon Sep 17 00:00:00 2001 From: "Alexander V. Hopp" Date: Mon, 4 Dec 2023 09:10:24 +0100 Subject: [PATCH 2/2] Change table header text color to white --- docs/_static/custom.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index b965bc8bc..6154f212f 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -26,4 +26,8 @@ a.sidebar-brand { /*The color of the "Search" placeholder in the sidebar*/ .sidebar-search::placeholder { color: #ffdcb9; +} + +thead { + color: #ffffff; } \ No newline at end of file