Skip to content

Commit

Permalink
改变主题色
Browse files Browse the repository at this point in the history
  • Loading branch information
movsb committed Dec 6, 2024
1 parent bb616ca commit 0b33e3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion theme/blog/styles/comment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ body.signed-in {
// 高亮选中的评论项的内容。
li:target > .comment-content {
animation-name: diminished-background-color;
animation-duration: 10s;
animation-duration: 5s;
animation-fill-mode: forwards;
animation-timing-function: ease-in;
background-color: var(--highlight-color);
Expand Down
8 changes: 4 additions & 4 deletions theme/blog/styles/variables.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
:root {
--accent-color: #4daac7;
--accent-color: #ac53ac;
--highlight-color: #ac53ac8f;
--font-size: 15px;
--mono-font: "LXGW WenKai Mono", Monaco, Consolas, monospace;
--max-width: 850px;
--border-color-hover: #4da7c7;
--highlight-color: #4da7c755;
--border-color-hover: var(--accent-color);
--border-radius: 4px;
--button-color-fg: white;
--button-color-bg: rgba(60,60,60,0.6);
Expand All @@ -18,7 +18,7 @@
--textarea-padding: 7px;

// 其实我并不喜欢修改用户的选中色……
--selection-background-color: #4da7c785;
--selection-background-color: #ac53ac8f;
}

@media (prefers-color-scheme: light) {
Expand Down

0 comments on commit 0b33e3d

Please sign in to comment.