Skip to content

Commit

Permalink
feat: add more icon for login
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Jul 7, 2024
1 parent 4962936 commit 5999515
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1 deletion.
3 changes: 3 additions & 0 deletions entrypoints/sidepanel/Sidepanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ const toggleInfoDialog = () => {
<el-form-item label="用户名">
<ElInput
v-model.trim.number="username"
:prefix-icon="WI.MingcuteUser4Line"
minlength="3"
maxlength="20"
show-word-limit
Expand All @@ -517,6 +518,7 @@ const toggleInfoDialog = () => {
<ElInput
minlength="4"
maxlength="20"
:prefix-icon="WI.MynauiLockPassword"
v-model.trim.number="password"
type="password"
placeholder="请输入密码"
Expand Down Expand Up @@ -553,6 +555,7 @@ const toggleInfoDialog = () => {
<div>
<h2>端口号</h2>
<div class="flex gap-2">
<!-- :prefix-icon="WI.GameIconsHole" -->
<ElInput
v-model.trim.number="port"
maxlength="5"
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "usewiki2",
"description": "Convert HTML to Markdown, and save to your computer, support nodejs tiddlywiki",
"private": true,
"version": "3.9.0",
"version": "4.0.0",
"type": "module",
"scripts": {
"dev": "wxt",
Expand Down Expand Up @@ -53,10 +53,13 @@
"@iconify-json/fa": "^1.1.8",
"@iconify-json/fa-regular": "^1.1.8",
"@iconify-json/fluent": "^1.1.58",
"@iconify-json/game-icons": "^1.1.9",
"@iconify-json/iconoir": "^1.1.44",
"@iconify-json/lets-icons": "^1.1.2",
"@iconify-json/material-symbols": "^1.1.83",
"@iconify-json/mdi": "^1.1.67",
"@iconify-json/mingcute": "^1.1.18",
"@iconify-json/mynaui": "^1.1.7",
"@iconify-json/octicon": "^1.1.55",
"@iconify-json/ph": "^1.1.13",
"@iconify-json/ri": "^1.1.21",
Expand Down
30 changes: 30 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions utils/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ export { default as FluentDarkTheme24Filled } from '~icons/fluent/dark-theme-24-
export { default as RiWifiFill } from '~icons/ri/wifi-fill';
export { default as SvgSpinnersWifi } from '~icons/svg-spinners/wifi';
export { default as MdiWifiOff } from '~icons/mdi/wifi-off';
export { default as MingcuteUser4Line } from '~icons/mingcute/user-4-line';
export { default as MynauiLockPassword } from '~icons/mynaui/lock-password';
export { default as GameIconsHole } from '~icons/game-icons/hole';

0 comments on commit 5999515

Please sign in to comment.