Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Miseryset committed Nov 16, 2024
1 parent d007f71 commit 8fbf3c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/collection/css/tool.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
padding-bottom:1.5rem;
}
a>li {
color: var(--main-c);
color: var(--navbar-text-color);
}
a.active>li {
color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion source/css/global.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root{
--global-main-color: #000000;
/*主题色*/
--main-c: #a7a4db;
--main-c: #B53B51;
}
5 changes: 5 additions & 0 deletions source/js/switch_color.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ var g=rr();
var b=rr();
var rc="rgb("+r+","+g+","+b+")"
document.documentElement.style.setProperty('--global-main-color', rc);

var sc="#B53B51";
document.documentElement.style.setProperty('--post-link-color', sc);
document.documentElement.style.setProperty('--line-color', sc);
document.documentElement.style.setProperty('--navbar-text-color', sc);

0 comments on commit 8fbf3c7

Please sign in to comment.