Skip to content

Commit 943f4eb

Browse files
author
r00ster91
committed
fix: use brighter bg color for help modal in light mode
You can see this issue in the video.
1 parent 60b04b0 commit 943f4eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/docs/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 {

0 commit comments

Comments
 (0)