Bilibili-Evolved/style/dark-styles.js
the1812 316d7fe1a3 Revert "Fix bug in dark style"
This reverts commit ad8f0e70a7.
2018-07-20 17:00:16 +08:00

13 lines
290 B
JavaScript

(() =>
{
return (settings, resources) =>
{
$("#bilibili-new-style-dark").remove();
if (settings.useNewStyle)
{
const styles = resources.getStyle("darkStyle", "bilibili-new-style-dark");
$("body").after(styles);
}
};
})();