# Conflicts: # eslint.config.mjs # package.json # pnpm-lock.yaml # src/components/PluginSettings/index.tsx # src/plugins/imageZoom/index.tsx # src/plugins/messageLogger/index.tsx # src/plugins/pictureInPicture/index.tsx # src/plugins/serverInfo/GuildInfoModal.tsx # src/plugins/whoReacted/index.tsx
64 lines
2.4 KiB
XML
64 lines
2.4 KiB
XML
/*
|
|
* Vencord, a Discord client mod
|
|
* Copyright (c) 2024 Vendicated and contributors
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
export const LikeIcon = (isLiked: boolean = false) => (
|
|
<svg
|
|
viewBox="0 0 20 20"
|
|
fill={isLiked ? "red" : "currentColor"}
|
|
aria-hidden="true"
|
|
width="18"
|
|
height="18"
|
|
className="vce-likes-icon"
|
|
>
|
|
<path d="M16.44 3.10156C14.63 3.10156 13.01 3.98156 12 5.33156C10.99 3.98156 9.37 3.10156 7.56 3.10156C4.49 3.10156 2 5.60156 2 8.69156C2 9.88156 2.19 10.9816 2.52 12.0016C4.1 17.0016 8.97 19.9916 11.38 20.8116C11.72 20.9316 12.28 20.9316 12.62 20.8116C15.03 19.9916 19.9 17.0016 21.48 12.0016C21.81 10.9816 22 9.88156 22 8.69156C22 5.60156 19.51 3.10156 16.44 3.10156Z" />
|
|
</svg>
|
|
);
|
|
|
|
export const DownloadIcon = (props?: any) => (
|
|
<svg
|
|
aria-hidden="true"
|
|
viewBox="0 0 20 20"
|
|
width="20"
|
|
height="20"
|
|
fill="currentColor"
|
|
{...props}
|
|
>
|
|
<path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"></path>
|
|
<path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"></path>
|
|
</svg>
|
|
);
|
|
|
|
export const ClockIcon = (props?: any) => {
|
|
return (
|
|
|
|
<svg
|
|
aria-hidden="true"
|
|
viewBox="0 0 24 24"
|
|
width="20"
|
|
height="20"
|
|
fill="currentColor"
|
|
{...props}
|
|
>
|
|
<path fillRule="evenodd" d="M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm1-18a1 1 0 1 0-2 0v7c0 .27.1.52.3.7l3 3a1 1 0 0 0 1.4-1.4L13 11.58V5Z" clipRule="evenodd"></path>
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
export const WarningIcon = (props?: any) => {
|
|
return (
|
|
<svg
|
|
aria-hidden="true"
|
|
viewBox="0 0 24 24"
|
|
width="20"
|
|
height="20"
|
|
fill="currentColor"
|
|
{...props}
|
|
>
|
|
<circle cx="12" cy="12" r="10" fill="transparent"></circle>
|
|
<path fillRule="evenodd" d="M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm1.44-15.94L13.06 14a1.06 1.06 0 0 1-2.12 0l-.38-6.94a1 1 0 0 1 1-1.06h.88a1 1 0 0 1 1 1.06Zm-.19 10.69a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z" clipRule="evenodd"></path>
|
|
</svg>
|
|
);
|
|
};
|