Remove dark mode less

This commit is contained in:
alistair3149 2020-06-12 14:05:21 -04:00
parent 2fb4705f29
commit d4748e8d47
3 changed files with 70 additions and 70 deletions

View file

@ -406,3 +406,73 @@ figcaption,
transform: none !important; transform: none !important;
} }
} }
@media ( prefers-color-scheme: dark ) {
html,
body {
background: @dark-bg-0;
color: @dark-text-90;
}
::-webkit-scrollbar-thumb {
background-color: @dark-bg-60;
}
* {
scrollbar-color: @dark-bg-60 transparent;
}
pre,
code,
.mw-code {
color: @dark-text-90;
background-color: @dark-bg-10;
border: 1px solid @dark-bg-20;
}
input,
select,
textarea {
border: 1px solid @dark-bg-50;
background: @dark-bg-40;
color: @dark-text-80;
}
fieldset {
color: @dark-text-90;
border-color: @dark-bg-20;
}
legend {
color: @dark-text-100;
}
a,
a.external {
color: @dark-color-link;
}
a.new {
color: @dark-color-link-new !important;
}
.mw-body .firstHeading,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
color: @dark-text-100;
}
.mw-body-content #contentSub,
.mw-body-content #contentSub2,
.mw-body #siteSub {
color: @dark-text-80 !important;
}
.mw-editsection > a:before {
filter: invert( 1 );
}
}

View file

@ -1,69 +0,0 @@
@media ( prefers-color-scheme: dark ) {
html,
body {
background: @dark-bg-0;
color: @dark-text-90;
}
::-webkit-scrollbar-thumb {
background-color: @dark-bg-60;
}
* {
scrollbar-color: @dark-bg-60 transparent;
}
pre,
code,
.mw-code {
color: @dark-text-90;
background-color: @dark-bg-10;
border: 1px solid @dark-bg-20;
}
input,
select,
textarea {
border: 1px solid @dark-bg-50;
background: @dark-bg-40;
color: @dark-text-80;
}
fieldset {
color: @dark-text-90;
border-color: @dark-bg-20;
}
legend {
color: @dark-text-100;
}
a,
a.external {
color: @dark-color-link;
}
a.new {
color: @dark-color-link-new !important;
}
.mw-body .firstHeading,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
color: @dark-text-100;
}
.mw-body-content #contentSub,
.mw-body-content #contentSub2,
.mw-body #siteSub {
color: @dark-text-80 !important;
}
.mw-editsection > a:before {
filter: invert( 1 );
}
}

View file

@ -13,7 +13,6 @@
@import 'common/toc.less'; @import 'common/toc.less';
@import 'common/wikitable.less'; @import 'common/wikitable.less';
@import 'common/hacks.less'; @import 'common/hacks.less';
@import 'common/darkmode.less';
// Components // Components
@import 'Header.less'; @import 'Header.less';