Skip to content

Commit

Permalink
fix: fix some posts/categories list view icons in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
laggage committed Jan 5, 2022
1 parent cb770a5 commit cb23569
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
22 changes: 14 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,35 +49,38 @@
{
"command": "vscode-cnb.previous-posts-list",
"title": "上一页",
"icon": "dist/assets/icon-page-previous.svg",
"icon": "$(chevron-left)",
"enablement": "vscode-cnb.isAuthorized && !vscode-cnb.posts-list.refreshing && vscode-cnb.posts-list.hasPrevious",
"category": "Cnblogs Posts List"
},
{
"command": "vscode-cnb.seek-posts-list",
"title": "跳页",
"icon": "dist/assets/icon-seek.svg",
"icon": {
"light": "dist/assets/icon-seek.svg",
"dark": "dist/assets/icon-seek-dark.svg"
},
"enablement": "vscode-cnb.isAuthorized && !vscode-cnb.posts-list.refreshing && vscode-cnb.posts-list.pageCount > 0",
"category": "Cnblogs Posts List"
},
{
"command": "vscode-cnb.next-posts-list",
"title": "下一页",
"icon": "dist/assets/icon-page-next.svg",
"icon": "$(chevron-right)",
"enablement": "vscode-cnb.isAuthorized && !vscode-cnb.posts-list.refreshing && vscode-cnb.posts-list.hasNext",
"category": "Cnblogs Posts List"
},
{
"command": "vscode-cnb.refresh-posts-list",
"title": "刷新",
"icon": "dist/assets/icon-refresh.svg",
"icon": "$(refresh)",
"enablement": "vscode-cnb.isAuthorized && !vscode-cnb.posts-list.refreshing",
"category": "Cnblogs Posts List"
},
{
"command": "vscode-cnb.save-post",
"title": "保存博文",
"icon": "dist/assets/icon-upload.svg",
"icon": "$(cloud-upload)",
"category": "Cnblogs Posts List",
"enablement": "vscode-cnb.isAuthorized"
},
Expand Down Expand Up @@ -118,7 +121,10 @@
"command": "vscode-cnb.upload-image",
"title": "上传图片到博客园",
"category": "Cnblogs",
"icon": "dist/assets/icon-image-upload.svg",
"icon": {
"light": "dist/assets/icon-image-upload.svg",
"dark": "dist/assets/icon-image-upload-dark.svg"
},
"enablement": "vscode-cnb.isAuthorized"
},
{
Expand All @@ -141,7 +147,7 @@
{
"command": "vscode-cnb.save-post-file-to-cnblogs",
"title": "保存到博客园",
"icon": "dist/assets/icon-upload.svg",
"icon": "$(cloud-upload)",
"enablement": "vscode-cnb.isAuthorized"
},
{
Expand All @@ -166,7 +172,7 @@
{
"command": "vscode-cnb.refresh-post-categories-list",
"title": "刷新",
"icon": "dist/assets/icon-refresh.svg",
"icon": "$(refresh)",
"category": "Cnblogs Post Categories Management",
"enablement": "!vscode-cnb.postCategoriesList.isRefreshing"
},
Expand Down
1 change: 1 addition & 0 deletions src/assets/icon-image-upload-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/icon-seek-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cb23569

Please sign in to comment.