refactor(icons): migrate workspace to Icones

This commit is contained in:
Maofeng
2026-09-20 15:52:22 +08:00
parent 1fc56b6982
commit ea00a71112
95 changed files with 1409 additions and 725 deletions
+4 -10
View File
@@ -1,9 +1,3 @@
import {
DeliveryTruck01Icon,
Mail01Icon,
Message01Icon,
PackageIcon,
} from "@workspace/icons"
import type { QueryFunctionContext } from "@tanstack/react-query"
import type { Notification } from "@workspace/blocks/notifications"
@@ -68,7 +62,7 @@ export const fallbackNotifications: readonly Notification[] = [
isRead: true,
media: {
kind: "icon",
icon: PackageIcon,
icon: "huge:package",
tone: "warning",
},
},
@@ -81,7 +75,7 @@ export const fallbackNotifications: readonly Notification[] = [
isRead: true,
media: {
kind: "icon",
icon: DeliveryTruck01Icon,
icon: "huge:delivery-truck-01",
tone: "success",
},
},
@@ -94,7 +88,7 @@ export const fallbackNotifications: readonly Notification[] = [
isRead: true,
media: {
kind: "icon",
icon: Message01Icon,
icon: "huge:message-01",
tone: "info",
},
},
@@ -106,7 +100,7 @@ export const fallbackNotifications: readonly Notification[] = [
isRead: true,
media: {
kind: "icon",
icon: Mail01Icon,
icon: "huge:mail-01",
tone: "destructive",
},
},