feat: update icons

This commit is contained in:
DIYgod
2024-10-05 02:40:54 +08:00
parent 8bc477100b
commit e474bbf45d
12 changed files with 10 additions and 11 deletions
@@ -186,8 +186,8 @@ const ElectronAdditionActions = window.electron
name: t("entry_content.header.readability"),
className: cn(
isInReadability(entryReadabilityStatus)
? `i-mgc-sparkles-2-filled`
: `i-mgc-sparkles-2-cute-re`,
? `i-mgc-docment-cute-fi`
: `i-mgc-docment-cute-re`,
entryReadabilityStatus === ReadabilityStatus.WAITING ? `animate-pulse` : "",
),
key: "readability",
@@ -324,7 +324,7 @@ const ReadabilityContent = ({ entryId }: { entryId: string }) => {
</p>
) : (
<div className="center mt-16 flex flex-col gap-2">
<LoadingWithIcon size="large" icon={<i className="i-mgc-sparkles-2-cute-re" />} />
<LoadingWithIcon size="large" icon={<i className="i-mgc-docment-cute-re" />} />
<span className="text-sm">{t("entry_content.fetching_content")}</span>
</div>
)}
@@ -4,7 +4,7 @@ import { getUrlIcon } from "~/lib/utils"
export const EntryContentLoading = (props: { icon?: string }) => {
if (!props.icon) {
return <LoadingWithIcon size="large" icon={<i className="i-mgc-sparkles-2-cute-re" />} />
return <LoadingWithIcon size="large" icon={<i className="i-mgc-docment-cute-re" />} />
}
return (
<div className="center mb-14 flex flex-col gap-4">
@@ -71,7 +71,7 @@ export const SettingInvitations = () => {
})
}}
>
<i className="i-mgc-heart-hand-cute-re mr-1 text-base" />
<i className="i-mgc-love-cute-re mr-1 text-base" />
{t("invitation.generateButton")}
</Button>
<Divider className="mb-6 mt-8" />
@@ -2,7 +2,7 @@ import { SettingInvitations } from "~/modules/settings/tabs/invitations"
import { SettingsTitle } from "~/modules/settings/title"
import { defineSettingPageData } from "~/modules/settings/utils"
const iconName = "i-mgc-heart-hand-cute-re"
const iconName = "i-mgc-love-cute-re"
const priority = 1070
export const loader = defineSettingPageData({
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" fill-rule="evenodd" d="M12 1.5c1.315 0 2.646-.034 3.954.12 1.137.135 2.217.497 3.046 1.31.855.837 1.24 1.942 1.38 3.116.12 1.02.12 2.301.12 3.89v4.128c0 1.59 0 2.871-.12 3.89-.14 1.174-.525 2.28-1.38 3.117-.829.812-1.909 1.174-3.046 1.309-1.308.155-2.64.12-3.954.12-1.315 0-2.646.035-3.954-.12-1.137-.134-2.217-.497-3.046-1.309-.855-.838-1.24-1.943-1.38-3.117-.12-1.019-.12-2.3-.12-3.89V9.937c0-1.59 0-2.872.12-3.89.14-1.175.525-2.28 1.38-3.117.829-.813 1.909-1.175 3.046-1.31 1.308-.154 2.64-.12 3.954-.12M8 9a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1m0 5a1 1 0 0 1 1-1h3a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1" clip-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 787 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path stroke="#10161F" stroke-linecap="round" stroke-width="2" d="M9 9h6m-6 5h3m0 7.5v0c3.287 0 4.931 0 6.038-.908.202-.166.388-.352.554-.554.908-1.107.908-2.75.908-6.038v-4c0-3.287 0-4.931-.908-6.038a4 4 0 0 0-.554-.554C16.93 2.5 15.288 2.5 12 2.5v0c-3.287 0-4.931 0-6.038.908a4 4 0 0 0-.554.554C4.5 5.07 4.5 6.712 4.5 10v4c0 3.288 0 4.931.908 6.038a4 4 0 0 0 .554.554c1.107.908 2.75.908 6.038.908Z"/></svg>

After

Width:  |  Height:  |  Size: 539 B

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" d="m3.002 10.37 1-.022zm17.996 0-1-.022zm-7.57-4.663a1 1 0 1 0-1.415-1.414zm.233 5.24-.707-.707zm-.865.866-.707-.708zM10.673 4.63l-.503.865zm1.118.593L12 4.246zm.418 0L12 4.246zm-8.207 5.124c-.044-1.96.846-3.601 2.074-4.527C7.29 4.905 8.8 4.699 10.17 5.496l1.006-1.729c-2.164-1.259-4.542-.872-6.305.457-1.75 1.319-2.927 3.575-2.869 6.17zm17.996.045c.058-2.594-1.12-4.85-2.87-6.17-1.762-1.328-4.14-1.715-6.304-.456l1.006 1.729c1.37-.797 2.88-.591 4.094.325 1.228.926 2.118 2.567 2.074 4.527zm-11.296 7.918c-4.66-2.768-6.644-5.45-6.7-7.963l-2 .045c.081 3.61 2.89 6.794 7.679 9.638zm3.617 1.72c4.788-2.844 7.598-6.029 7.679-9.638l-2-.045c-.056 2.512-2.04 5.195-6.7 7.963zM12.013 4.293l-4.23 4.23 1.415 1.414 4.23-4.23zm1.49 8.227.865-.866-1.414-1.414-.866.865zm.659-.866 1.293 1.293 1.414-1.414-1.293-1.293zm1.293 1.293a4.275 4.275 0 0 0 5.662.34l-1.235-1.573c-.905.711-2.199.633-3.013-.18zm-1.087-1.293a.146.146 0 0 1-.207 0l1.415-1.414a1.854 1.854 0 0 0-2.622 0zm-6.584.866a4.044 4.044 0 0 0 5.719 0l-1.415-1.415a2.044 2.044 0 0 1-2.89 0zm0-3.997a2.826 2.826 0 0 0 0 3.997l1.414-1.415a.826.826 0 0 1 0-1.168zM9.68 20.031a4.549 4.549 0 0 0 4.638 0l-1.021-1.72a2.549 2.549 0 0 1-2.596 0zm.49-14.535c.314.183.57.332.767.438.16.087.402.217.644.268L12 4.246c.064.014.09.03.052.013a2.691 2.691 0 0 1-.162-.083 31.456 31.456 0 0 1-.714-.409zm2.653-1.729c-.326.19-.551.32-.714.409-.081.044-.132.069-.162.083-.038.017-.012.001.052-.013l.418 1.956c.242-.051.485-.181.644-.268.197-.106.453-.255.768-.438zm-1.242 2.435c.042.01.105.023.16.033a1.458 1.458 0 0 0 .516 0c.055-.01.118-.024.16-.033L12 4.246l-.02.005-.018.003a6.892 6.892 0 0 1-.047.01l-.006.002.024-.004a.604.604 0 0 1 .134 0l.024.004-.006-.002a1.215 1.215 0 0 1-.047-.01l-.018-.003-.02-.005z"/></svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" d="m3.197 13.179-.96.28zm15.452-4.14-.972.237zM11.395 19.08l.27-.963zm-.268-5.84-.989-.152zm9.846 1.735-.981-.195zm-9.028 4.225-.179.984zm4.23-8.07.745-.667zm.774.136-.472-.881zM4.157 12.9c-.498-1.707-.066-3.344.821-4.39.869-1.023 2.154-1.479 3.561-.948l.707-1.87c-2.29-.865-4.443-.066-5.793 1.524-1.331 1.57-1.898 3.907-1.216 6.244zm15.464-4.097c-.578-2.366-2.238-4.107-4.175-4.8-1.965-.702-4.23-.318-5.78 1.575l1.548 1.268c.953-1.164 2.294-1.412 3.558-.96 1.291.462 2.484 1.664 2.905 3.39zm-7.497 9.416a5.375 5.375 0 0 1-.458-.1l-.542 1.926c.196.055.427.102.642.141zm-.458-.1c-4.631-1.302-6.9-3.134-7.509-5.22l-1.92.561c.917 3.14 4.114 5.242 8.887 6.585zm.449-4.726c.152-.995.77-1.707 1.446-2.001.643-.281 1.33-.196 1.87.407l1.49-1.334c-1.175-1.311-2.81-1.496-4.16-.906-1.32.576-2.37 1.875-2.623 3.53zm4.429 6.64c2.924-1.105 4.97-2.654 5.41-4.86l-1.962-.391c-.226 1.13-1.37 2.328-4.156 3.381zm5.41-4.86c.467-2.344-.857-4.662-2.963-5.15l-.451 1.949c.88.204 1.745 1.343 1.452 2.81zm-2.963-5.15c-.812-.187-1.684-.08-2.514.364l.944 1.763c.418-.223.796-.253 1.119-.178zm.768 1.086a6.576 6.576 0 0 0-.139-2.306l-1.943.474c.125.509.158 1.043.095 1.61zm-4.896 6.883-.103-.09-1.315 1.507.114.099zm-.103-.09c-2.177-1.902-2.817-3.39-2.645-4.51l-1.977-.302c-.336 2.189 1.01 4.311 3.307 6.319zm-1.201 1.606a2.99 2.99 0 0 0 2.985.526l-.708-1.87a.991.991 0 0 1-.973-.172zm-1.793.678c.97.177 2.179.034 3.04-.82l-1.408-1.42c-.247.245-.706.376-1.274.273zm3.665-8.387c.5.559 1.328.705 1.99.351l-.944-1.763a.357.357 0 0 1 .444.078zM8.539 7.561a2.394 2.394 0 0 0 2.675-.716L9.666 5.577a.396.396 0 0 1-.42.113z"/></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" fill-rule="evenodd" d="M10.906 2.577a1 1 0 0 0-1.812 0l-.165.352-.352.165a1 1 0 0 0 0 1.812l.352.165.165.352a1 1 0 0 0 1.812 0l.164-.352.353-.165a1 1 0 0 0 0-1.812l-.353-.165zM4.734 6.626a1.5 1.5 0 0 1 2.531 0l.432.677.677.432a1.5 1.5 0 0 1 0 2.53l-.677.432-.432.677a1.5 1.5 0 0 1-2.53 0l-.432-.677-.677-.431a1.5 1.5 0 0 1 0-2.531l.677-.432zM6 8.363l-.07.108a1.5 1.5 0 0 1-.46.46L5.363 9l.109.069a1.5 1.5 0 0 1 .46.46L6 9.637l.069-.108a1.5 1.5 0 0 1 .46-.46L6.637 9l-.108-.069a1.5 1.5 0 0 1-.46-.46zm6.144-.31a2.2 2.2 0 0 1 3.712 0l1.567 2.463a.2.2 0 0 0 .061.061l2.462 1.567a2.2 2.2 0 0 1 0 3.712l-2.462 1.567a.2.2 0 0 0-.061.061l-1.567 2.462a2.2 2.2 0 0 1-3.712 0l-1.567-2.462a.2.2 0 0 0-.061-.061l-2.462-1.567a2.2 2.2 0 0 1 0-3.712l2.462-1.567a.2.2 0 0 0 .061-.061zm2.025 1.075a.2.2 0 0 0-.338 0l-1.567 2.462a2.199 2.199 0 0 1-.675.674l-2.461 1.567a.2.2 0 0 0 0 .338l2.461 1.567c.272.172.502.403.675.674l1.567 2.462a.2.2 0 0 0 .338 0l1.566-2.462c.173-.271.404-.502.675-.674l2.462-1.567a.2.2 0 0 0 0-.338l-2.462-1.567a2.199 2.199 0 0 1-.675-.674z" clip-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" d="M11 3a1 1 0 1 0-2 0 1 1 0 1 0 0 2 1 1 0 1 0 2 0 1 1 0 1 0 0-2"/><path fill="#10161F" fill-rule="evenodd" d="M6.747 5.825c.149.183.238.39.34.601a3.7 3.7 0 0 0 1.399 1.552c.899.551.89 1.498 0 2.044a3.7 3.7 0 0 0-1.4 1.552c-.135.28-.245.583-.52.76-.315.202-.817.202-1.132 0-.265-.17-.39-.488-.52-.76a3.701 3.701 0 0 0-1.4-1.552c-.178-.11-.348-.213-.495-.367a1.081 1.081 0 0 1 .001-1.312c.15-.156.31-.252.495-.365a3.7 3.7 0 0 0 1.399-1.552c.104-.216.187-.414.34-.6a1.071 1.071 0 0 1 1.493 0M14 6.24c.335 0 .588.141.777.342.305.324.434.801.624 1.196a11.71 11.71 0 0 0 4.429 4.91c.533.327 1.169.58 1.17 1.31.001.732-.636.986-1.17 1.313a11.711 11.711 0 0 0-4.429 4.91c-.19.396-.32.873-.624 1.197-.188.201-.442.342-.777.342s-.589-.141-.777-.342c-.308-.328-.433-.8-.624-1.196a11.71 11.71 0 0 0-4.429-4.91c-.519-.319-1.172-.605-1.17-1.314.002-.73.637-.982 1.17-1.309a11.71 11.71 0 0 0 4.429-4.91c.19-.396.32-.873.624-1.197.188-.2.442-.342.777-.342" clip-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

+1 -2
View File
@@ -4257,12 +4257,11 @@ declare const _routes: hono_hono_base.HonoBase<Env, {
json: {
date: string;
from: {
address: string;
name?: string | undefined;
address?: string | undefined;
};
to: {
address: string;
name?: string | undefined;
};
messageId: string;
subject?: string | undefined;