Skip to content

Commit

Permalink
0.593
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Dec 14, 2019
1 parent 518dec9 commit 0fbc921
Show file tree
Hide file tree
Showing 118 changed files with 23,806 additions and 4,091 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ Argon - 一个轻盈、简洁、美观的 WordPress 主题

# 更新日志

## 20191214 v0.593
+ 博客设置增加阴影选项
+ 修复界面的一些问题
+ 修复其他的一些小问题
+ 升级 Argon 框架到 1.1.0 版本

## 20191214 v0.592
+ 加入博客设置功能
+ 位于浮动操作按钮栏
Expand Down
18 changes: 16 additions & 2 deletions argontheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@
$("#close_blog_settings").on("click" , function(){
$("#float_action_buttons").removeClass("blog_settings_opened");
});
$("#blog_setting_darkmode_switch").on("input" , function(){
$("#blog_setting_darkmode_switch").on("change" , function(){
toggleDarkmode();
});

//字体
$("#blog_setting_font_sans_serif").on("click" , function(){
$("html").removeClass("use-serif");
localStorage['Argon_Use_Serif'] = "false";
Expand All @@ -144,6 +144,20 @@
}else{
$("html").removeClass("use-serif");
}
//阴影
$("#blog_setting_shadow_small").on("click" , function(){
$("html").removeClass("use-big-shadow");
localStorage['Argon_Use_Big_Shadow'] = "false";
});
$("#blog_setting_shadow_big").on("click" , function(){
$("html").addClass("use-big-shadow");
localStorage['Argon_Use_Big_Shadow'] = "true";
});
if (localStorage['Argon_Use_Big_Shadow'] == "true"){
$("html").addClass("use-big-shadow");
}else{
$("html").removeClass("use-big-shadow");
}
//滤镜
function setBlogFilter(name){
if (name == undefined || name == ""){
Expand Down
Loading

0 comments on commit 0fbc921

Please sign in to comment.