|
1 | 1 | <script lang="ts"> |
2 | 2 | import type { Channel } from "@apps/api-client"; |
| 3 | + import Hash from "@lucide/svelte/icons/hash"; |
| 4 | + import Plus from "@lucide/svelte/icons/plus"; |
| 5 | + import User from "@lucide/svelte/icons/user"; |
3 | 6 | import { onMount } from "svelte"; |
4 | 7 | import { getApiClient, unwrapResponse, useQuery } from "@/lib/api.svelte"; |
5 | 8 | import { UnreadManager } from "@/lib/unread.svelte"; |
6 | 9 | import { useWebSocket } from "@/lib/websocket"; |
7 | 10 | import type { Selection } from "$components/chat/types"; |
8 | 11 | import DMList from "$components/dms/DMList.svelte"; |
9 | 12 | import UserSearch from "$components/dms/UserSearch.svelte"; |
10 | | - import MdiAccount from "~icons/mdi/account"; |
11 | | - import MdiPlus from "~icons/mdi/plus"; |
12 | | - import MdiPound from "~icons/mdi/pound"; |
13 | 13 | import CreateChannelButton from "./CreateChannelButton.svelte"; |
14 | 14 |
|
15 | 15 | const api = getApiClient(); |
|
65 | 65 | : "text-base-content/80 hover:bg-base-300 hover:text-base-content", |
66 | 66 | ]} |
67 | 67 | > |
68 | | - <MdiPound |
| 68 | + <Hash |
69 | 69 | class={[ |
70 | | - "h-4 w-4 flex-shrink-0", |
| 70 | + "size-4 flex-shrink-0", |
71 | 71 | active ? "text-primary" : "text-muted", |
72 | 72 | ]} |
73 | 73 | /> |
|
108 | 108 | title="新しいDM" |
109 | 109 | onclick={() => (showUserSearch = !showUserSearch)} |
110 | 110 | > |
111 | | - <MdiPlus class="text-muted h-4 w-4" /> |
| 111 | + <Plus class="text-muted size-4" /> |
112 | 112 | </button> |
113 | 113 | </header> |
114 | 114 |
|
|
134 | 134 | href={`/orgs/${organizationId}/personalization`} |
135 | 135 | class="text-muted hover:bg-base-300 hover:text-base-content flex items-center gap-2 rounded px-2 py-1.5 text-sm transition-colors" |
136 | 136 | > |
137 | | - <MdiAccount class="h-4 w-4" /> |
| 137 | + <User class="size-4" /> |
138 | 138 | <span>個人設定</span> |
139 | 139 | </a> |
140 | 140 | </footer> |
|
0 commit comments