fix: #229 disable light code theme

This commit is contained in:
Yifei Zhang 2023-03-30 15:50:08 +00:00
parent 7599ae385b
commit bf50ebac94

View File

@ -120,33 +120,3 @@
cursor: help;
}
}
@mixin light {
.markdown-body pre {
filter: invert(1) hue-rotate(90deg) brightness(1.3);
}
}
@mixin dark {
.markdown-body pre {
filter: none;
}
}
:root {
@include light();
}
.light {
@include light();
}
.dark {
@include dark();
}
@media (prefers-color-scheme: dark) {
:root {
@include dark();
}
}