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 @@
2525 --search-bg-color-focus: #ffffff;
2626 --search-sh-color: rgba(0, 0, 0, 0.18);
2727 --help-sh-color: rgba(0, 0, 0, 0.75);
28 --help-bg-color: #aaa;
2829 }
2930
3031 html, body { margin: 0; padding: 0; height: 100%; }
......@@ -314,7 +315,7 @@
314315 overflow: auto;
315316 font-size: 1rem;
316317 color: #fff;
317 background-color: #333;
318 background-color: var(--help-bg-color);
318319 border: 0.125rem solid #000;
319320 box-shadow: 0 0.5rem 2.5rem 0.3rem var(--help-sh-color);
320321 }
......@@ -407,6 +408,7 @@
407408 --search-bg-color-focus: #000;
408409 --search-sh-color: rgba(255, 255, 255, 0.28);
409410 --help-sh-color: rgba(142, 142, 142, 0.5);
411 --help-bg-color: #333;
410412 }
411413
412414 .docs pre {