From 943f4eb515ec03499cf7b37d80b964e15502bfc8 Mon Sep 17 00:00:00 2001 From: r00ster91 Date: Sat, 6 Aug 2022 16:07:32 +0200 Subject: [PATCH] fix: use brighter bg color for help modal in light mode You can see this issue in the video. --- lib/docs/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/docs/index.html b/lib/docs/index.html index 848b130705..c506eac3dd 100644 --- a/lib/docs/index.html +++ b/lib/docs/index.html @@ -25,6 +25,7 @@ --search-bg-color-focus: #ffffff; --search-sh-color: rgba(0, 0, 0, 0.18); --help-sh-color: rgba(0, 0, 0, 0.75); + --help-bg-color: #aaa; } html, body { margin: 0; padding: 0; height: 100%; } @@ -314,7 +315,7 @@ overflow: auto; font-size: 1rem; color: #fff; - background-color: #333; + background-color: var(--help-bg-color); border: 0.125rem solid #000; box-shadow: 0 0.5rem 2.5rem 0.3rem var(--help-sh-color); } @@ -407,6 +408,7 @@ --search-bg-color-focus: #000; --search-sh-color: rgba(255, 255, 255, 0.28); --help-sh-color: rgba(142, 142, 142, 0.5); + --help-bg-color: #333; } .docs pre {