chore: MagnifyingGlass -> Search

This commit is contained in:
Silentoplayz
2025-06-25 13:42:18 -04:00
parent b6e2b2e514
commit 3f865f0b66
9 changed files with 16 additions and 85 deletions
+2 -2
View File
@@ -59,7 +59,7 @@
import ChannelItem from './Sidebar/ChannelItem.svelte';
import PencilSquare from '../icons/PencilSquare.svelte';
import Home from '../icons/Home.svelte';
import MagnifyingGlass from '../icons/MagnifyingGlass.svelte';
import Search from '../icons/Search.svelte';
import SearchModal from './SearchModal.svelte';
const BREAKPOINT = 768;
@@ -554,7 +554,7 @@
draggable="false"
>
<div class="self-center">
<MagnifyingGlass strokeWidth="2" className="size-[1.1rem]" />
<Search strokeWidth="2" className="size-[1.1rem]" />
</div>
<div class="flex self-center translate-y-[0.5px]">
@@ -3,6 +3,7 @@
import { tags } from '$lib/stores';
import { getContext, createEventDispatcher, onMount, onDestroy, tick } from 'svelte';
import { fade } from 'svelte/transition';
import Search from '$lib/components/icons/Search.svelte';
import XMark from '$lib/components/icons/XMark.svelte';
const dispatch = createEventDispatcher();
@@ -91,18 +92,7 @@
<div class="px-1 mb-1 flex justify-center space-x-2 relative z-10" id="search-container">
<div class="flex w-full rounded-xl" id="chat-search">
<div class="self-center py-2 rounded-l-xl bg-transparent dark:text-gray-300">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
class="w-4 h-4"
>
<path
fill-rule="evenodd"
d="M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z"
clip-rule="evenodd"
/>
</svg>
<Search class="w-5 h-5" />
</div>
<input