firefish/packages/client/src/scripts/icon.ts

6 lines
179 B
TypeScript
Raw Normal View History

2023-10-17 02:12:35 +09:00
import { defaultStore } from "@/store";
2023-10-19 08:49:03 +09:00
export default function (name: string, large = true): string {
2023-10-17 02:12:35 +09:00
return `${name} ${large ? "ph-lg" : ""} ${defaultStore.state.iconSet}`;
}