Skip to content

Commit fb71299

Browse files
committed
remove prefers-color-scheme: dark from css
1 parent d089db7 commit fb71299

File tree

1 file changed

+0
-72
lines changed

1 file changed

+0
-72
lines changed

templates/development.css

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -873,77 +873,5 @@ main {
873873
display: inline;
874874
}
875875

876-
@media (prefers-color-scheme: dark) {
877-
body:not(.light-theme) {
878-
--page-bg-color: rgba(46,46,46, 0.9);
879-
--page-text-color: #fff;
880-
--icon-color: #989898;
881-
--icon-hover-color: #fff;
882-
}
883-
884-
body:not(.light-theme) header {
885-
--header-bg-color: #2e2e2e;
886-
--previous-text-color: rgba(255, 255, 255, 0.8);
887-
--previous-arrow-color: #fff;
888-
}
889-
890-
body:not(.light-theme) .exception-card {
891-
--exception-card-bg-color: #222;
892-
--exception-card-border-color: #591e15;
893-
--exception-class-text-color: #fff;
894-
--exception-class-friendly-text-color: rgba(255, 255, 255, 0.5);
895-
--exception-class-friendly-link-color: #E57373;
896-
--exception-message-text-color: rgba(255, 255, 255, 0.8);
897-
}
898-
899-
body:not(.light-theme) header .solution {
900-
--text-color: rgba(255, 255, 255, 0.8);
901-
--link-color: #03a9f4;
902-
--link-hover-color: #39b9f3;
903-
--blockquote-text-color: #999;
904-
--blockquote-border-color: #484c50;
905-
--code-bg-color: #2d333b;
906-
--pre-bg-color: #2d333b;
907-
--table-border-color: #484c50;
908-
--separator-color: #484c50;
909-
}
910-
911-
body:not(.light-theme) .call-stack {
912-
--bg-color: #1e1e1e;
913-
--border-color: transparent;
914-
--box-shadow: 0 13px 20px rgba(0, 0, 0, 0.25);
915-
--link-color: rgba(255, 255, 255, 0.5);
916-
--error-line-bg-color: #422c2c;
917-
--hover-line-bg-color: #292929;
918-
--element-wrap-border-color: #141414;
919-
--element-wrap-text-color: #fff;
920-
--element-wrap-hover-text-color: #9cdcfe;
921-
--vendor-bg-color: rgba(46,46,46, 0.9);
922-
--vendor-border-color: #666;
923-
--vendor-state-bg-color: #666;
924-
--vendor-content-bg-color: rgba(46,46,46, 0.9);
925-
}
926-
927-
body:not(.light-theme) .hljs {
928-
--hljs-text-color: #fff;
929-
--hljs-comment-text-color: #999;
930-
--hljs-keyword-text-color: #88aece;
931-
--hljs-attribute-text-color: #c59bc1;
932-
--hljs-name-text-color: #f08d49;
933-
--hljs-string-text-color: #b5bd68;
934-
--hljs-code-text-color: #cccccc;
935-
--hljs-delition-text-color: #de7176;
936-
--hljs-addition-text-color: #76c490;
937-
}
938-
939-
body:not(.light-theme) #dark-mode {
940-
display: none;
941-
}
942-
943-
body:not(.light-theme) #light-mode {
944-
display: inline;
945-
}
946-
}
947-
948876

949877
/* end dark-theme */

0 commit comments

Comments
 (0)