Skip to content

Commit

Permalink
改进暗色模式下载入过程gif的颜色
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedPartner committed Mar 26, 2023
1 parent 0fda77b commit 002f480
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions htdocs/luci-static/argon/css/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,11 @@ td>.ifacebadge,
background-color: #3c3c3c;
}

/* Improved loading process gif color (dark mode only) */
img[src="/luci-static/resources/icons/loading.gif"] {
filter: invert(1);
}

div.cbi-value var,
td.cbi-value-field var {
color: #483d8b;
Expand Down
5 changes: 5 additions & 0 deletions htdocs/luci-static/argon/less/dark.less
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,11 @@ td>.ifacebadge,
background-color: #3c3c3c;
}

/* Improved loading process gif color (dark mode only) */
img[src="/luci-static/resources/icons/loading.gif"] {
filter: invert(1);
}

div.cbi-value var,
td.cbi-value-field var {
color: #483d8b;
Expand Down

1 comment on commit 002f480

@SpeedPartner
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

更改预览:
loading gif dark mode

Please sign in to comment.