|
49 | 49 | { |
50 | 50 | "command": "vscode-cnb.previous-posts-list", |
51 | 51 | "title": "上一页", |
52 | | - "icon": "dist/assets/icon-page-previous.svg", |
| 52 | + "icon": "$(chevron-left)", |
53 | 53 | "enablement": "vscode-cnb.isAuthorized && !vscode-cnb.posts-list.refreshing && vscode-cnb.posts-list.hasPrevious", |
54 | 54 | "category": "Cnblogs Posts List" |
55 | 55 | }, |
56 | 56 | { |
57 | 57 | "command": "vscode-cnb.seek-posts-list", |
58 | 58 | "title": "跳页", |
59 | | - "icon": "dist/assets/icon-seek.svg", |
| 59 | + "icon": { |
| 60 | + "light": "dist/assets/icon-seek.svg", |
| 61 | + "dark": "dist/assets/icon-seek-dark.svg" |
| 62 | + }, |
60 | 63 | "enablement": "vscode-cnb.isAuthorized && !vscode-cnb.posts-list.refreshing && vscode-cnb.posts-list.pageCount > 0", |
61 | 64 | "category": "Cnblogs Posts List" |
62 | 65 | }, |
63 | 66 | { |
64 | 67 | "command": "vscode-cnb.next-posts-list", |
65 | 68 | "title": "下一页", |
66 | | - "icon": "dist/assets/icon-page-next.svg", |
| 69 | + "icon": "$(chevron-right)", |
67 | 70 | "enablement": "vscode-cnb.isAuthorized && !vscode-cnb.posts-list.refreshing && vscode-cnb.posts-list.hasNext", |
68 | 71 | "category": "Cnblogs Posts List" |
69 | 72 | }, |
70 | 73 | { |
71 | 74 | "command": "vscode-cnb.refresh-posts-list", |
72 | 75 | "title": "刷新", |
73 | | - "icon": "dist/assets/icon-refresh.svg", |
| 76 | + "icon": "$(refresh)", |
74 | 77 | "enablement": "vscode-cnb.isAuthorized && !vscode-cnb.posts-list.refreshing", |
75 | 78 | "category": "Cnblogs Posts List" |
76 | 79 | }, |
77 | 80 | { |
78 | 81 | "command": "vscode-cnb.save-post", |
79 | 82 | "title": "保存博文", |
80 | | - "icon": "dist/assets/icon-upload.svg", |
| 83 | + "icon": "$(cloud-upload)", |
81 | 84 | "category": "Cnblogs Posts List", |
82 | 85 | "enablement": "vscode-cnb.isAuthorized" |
83 | 86 | }, |
|
118 | 121 | "command": "vscode-cnb.upload-image", |
119 | 122 | "title": "上传图片到博客园", |
120 | 123 | "category": "Cnblogs", |
121 | | - "icon": "dist/assets/icon-image-upload.svg", |
| 124 | + "icon": { |
| 125 | + "light": "dist/assets/icon-image-upload.svg", |
| 126 | + "dark": "dist/assets/icon-image-upload-dark.svg" |
| 127 | + }, |
122 | 128 | "enablement": "vscode-cnb.isAuthorized" |
123 | 129 | }, |
124 | 130 | { |
|
141 | 147 | { |
142 | 148 | "command": "vscode-cnb.save-post-file-to-cnblogs", |
143 | 149 | "title": "保存到博客园", |
144 | | - "icon": "dist/assets/icon-upload.svg", |
| 150 | + "icon": "$(cloud-upload)", |
145 | 151 | "enablement": "vscode-cnb.isAuthorized" |
146 | 152 | }, |
147 | 153 | { |
|
166 | 172 | { |
167 | 173 | "command": "vscode-cnb.refresh-post-categories-list", |
168 | 174 | "title": "刷新", |
169 | | - "icon": "dist/assets/icon-refresh.svg", |
| 175 | + "icon": "$(refresh)", |
170 | 176 | "category": "Cnblogs Post Categories Management", |
171 | 177 | "enablement": "!vscode-cnb.postCategoriesList.isRefreshing" |
172 | 178 | }, |
|
0 commit comments