From 4289518e3670ca4124b18d80e71e72e85f0ddbda Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Thu, 5 Jan 2023 08:03:46 +0800 Subject: [PATCH] Fixes dark mode on Keyboard Shortcuts --- Mac/Resources/KeyboardShortcuts/KeyboardShortcuts.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Mac/Resources/KeyboardShortcuts/KeyboardShortcuts.html b/Mac/Resources/KeyboardShortcuts/KeyboardShortcuts.html index d44dd4880..1d0e4a8c0 100644 --- a/Mac/Resources/KeyboardShortcuts/KeyboardShortcuts.html +++ b/Mac/Resources/KeyboardShortcuts/KeyboardShortcuts.html @@ -12,6 +12,16 @@ line-height: 1.4em; font-family: -apple-system; } + @media (prefers-color-scheme: dark) { + body { + color: white; + background-color: #333333; + } + + table tr:nth-child(odd) { + background-color: #1E1E1E !important; + } + } table { width: 100%; line-height: 2.0em;