Skip to content

Commit

Permalink
为Argon主题增加极简模式秘密通道
Browse files Browse the repository at this point in the history
  • Loading branch information
crowya authored Jul 28, 2023
1 parent 4f19972 commit c629b4c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions live2d/waifu-tips.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ function aplayer_panel_toggle(){
}
}

var simple_mode=false;
function simple_mode_toggle(){
if(simple_mode){
$("#content").removeClass("background-hide");
$("html").removeClass("filter-grayscale");
simple_mode=false;
}
else{
$("#content").addClass("background-hide");
$("html").addClass("filter-grayscale");
simple_mode=true;
}
}

function loadWidget() {
localStorage.removeItem("waifu-display");
sessionStorage.removeItem("waifu-text");
Expand Down

0 comments on commit c629b4c

Please sign in to comment.