Skip to content

Commit e1c4adf

Browse files
authored
disable dark mode (BlackPythonDevs#272)
* comment out the darkmode * fix comment
1 parent 8eaae44 commit e1c4adf

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

assets/css/bpd.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ input::-moz-focus-inner {
5555
padding: 0;
5656
}
5757

58-
a {
59-
color: #4c77a6;
60-
text-decoration: none;
61-
}
62-
6358
div#newsletter {
6459
margin: 1rem 0;
6560
padding: 1rem;

assets/css/pico.min.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ details summary[role="button"]:not(.outline)::after {
287287
[data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
288288
--pico-form-element-focus-color: var(--pico-primary-focus);
289289
}
290-
@media only screen and (prefers-color-scheme: dark) {
290+
/* disabled */
291+
/* @media only screen and (prefers-color-scheme: dark) {
291292
:root:not([data-theme]) {
292293
--pico-background-color: #13171f;
293294
--pico-color: #c2c7d0;
@@ -403,6 +404,7 @@ details summary[role="button"]:not(.outline)::after {
403404
filter: brightness(0);
404405
}
405406
}
407+
*/
406408
[data-theme="dark"] {
407409
--pico-background-color: #13171f;
408410
--pico-color: #c2c7d0;

0 commit comments

Comments
 (0)