authorgravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-06 16:07:32+02:00
committergravatar for r00ster91@proton.meWooster <r00ster91@proton.me> 2022-08-06 16:07:32+02:00
log943f4eb515ec03499cf7b37d80b964e15502bfc8
treee2de7608635ce96a32ae0899475317fc30611c11
parent60b04b0988cdedb4bb9e1c67d0775a317510b703

fix: use brighter bg color for help modal in light mode

You can see this issue in the video.

1 files changed, 3 insertions(+), 1 deletions(-)

lib/docs/index.html+3-1
...@@ -25,6 +25,7 @@...@@ -25,6 +25,7 @@
25 --search-bg-color-focus: #ffffff;25 --search-bg-color-focus: #ffffff;
26 --search-sh-color: rgba(0, 0, 0, 0.18);26 --search-sh-color: rgba(0, 0, 0, 0.18);
27 --help-sh-color: rgba(0, 0, 0, 0.75);27 --help-sh-color: rgba(0, 0, 0, 0.75);
28 --help-bg-color: #aaa;
28 }29 }
2930
30 html, body { margin: 0; padding: 0; height: 100%; }31 html, body { margin: 0; padding: 0; height: 100%; }
...@@ -314,7 +315,7 @@...@@ -314,7 +315,7 @@
314 overflow: auto;315 overflow: auto;
315 font-size: 1rem;316 font-size: 1rem;
316 color: #fff;317 color: #fff;
317 background-color: #333;318 background-color: var(--help-bg-color);
318 border: 0.125rem solid #000;319 border: 0.125rem solid #000;
319 box-shadow: 0 0.5rem 2.5rem 0.3rem var(--help-sh-color);320 box-shadow: 0 0.5rem 2.5rem 0.3rem var(--help-sh-color);
320 }321 }
...@@ -407,6 +408,7 @@...@@ -407,6 +408,7 @@
407 --search-bg-color-focus: #000;408 --search-bg-color-focus: #000;
408 --search-sh-color: rgba(255, 255, 255, 0.28);409 --search-sh-color: rgba(255, 255, 255, 0.28);
409 --help-sh-color: rgba(142, 142, 142, 0.5);410 --help-sh-color: rgba(142, 142, 142, 0.5);
411 --help-bg-color: #333;
410 }412 }
411413
412 .docs pre {414 .docs pre {