From b6991f2a727731c502bcdabc61590bd27451a7ed Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 5 Apr 2021 19:53:32 +0200 Subject: [PATCH] Tweak dark theme colors Signed-off-by: DL6ER --- docs/extra.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/extra.css b/docs/extra.css index 03afc9c..38ce8b3 100644 --- a/docs/extra.css +++ b/docs/extra.css @@ -18,10 +18,20 @@ text-align: center !important; } +.md-typeset table:not([class]) th { + color: var(--table-foreground); + background-color: var(--table-background); +} + [data-md-color-scheme="default"] { --code-color: #532ba8; + --table-foreground: var(--md-default-bg-color); /* table header backgrounds */ + --table-background: var(--md-default-fg-color--light); /* table header (text) */ } [data-md-color-scheme="slate"] { --code-color: #a47df8; + --md-typeset-a-color: #7c90ff; /* links */ + --table-foreground: #a3acdf; /* table header (text) */ + --table-background: #272e53; /* table header backgrounds */ }