feat(app): various updates for v2.0.0

This commit is contained in:
rektdeckard
2023-03-08 01:05:49 -07:00
parent d379cea5bc
commit 85af26fd1c
17 changed files with 98 additions and 71 deletions

View File

@@ -1,4 +1,4 @@
import * as Icons from "phosphor-react";
import * as Icons from "@phosphor-icons/react";
import { icons as iconData } from "@phosphor-icons/core";
import { IconEntry } from ".";
@@ -12,6 +12,4 @@ if (process.env.NODE_ENV === "development") {
console.log(`${icons.length} icons`);
}
export const iconCount = (icons.length * 6)
.toString()
.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
export const iconCount = Intl.NumberFormat("en-US").format(icons.length * 6);

View File

@@ -1,4 +1,4 @@
import { Icon } from "phosphor-react";
import { Icon } from "@phosphor-icons/react";
import { IconEntry as CoreEntry } from "@phosphor-icons/core";
export interface IconEntry extends CoreEntry {