Skip to content

Commit 12f2f5b

Browse files
committed
update icons
1 parent 9ccdd6f commit 12f2f5b

File tree

1 file changed

+34
-5
lines changed

1 file changed

+34
-5
lines changed

packages/react-icons/src/icons/index.ts

+34-5
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,18 @@ export const icons: IconDefinition[] = [
166166
)}`,
167167
processWithSVGO: true,
168168
},
169+
{
170+
files: path.resolve(
171+
__dirname,
172+
"../../icons/material-design-icons/src/*/*/materialiconsround/24px.svg",
173+
),
174+
formatter: (name, file) =>
175+
`MdRound${camelcase(
176+
file.replace(/^.*\/([^/]+)\/materialicons[^/]*\/24px.svg$/i, "$1"),
177+
{ pascalCase: true },
178+
)}`,
179+
processWithSVGO: true,
180+
},
169181
],
170182
projectUrl: "http://google.github.io/material-design-icons/",
171183
license: "Apache License Version 2.0",
@@ -493,6 +505,13 @@ export const icons: IconDefinition[] = [
493505
),
494506
formatter: (name) => `HiMini${name}`,
495507
},
508+
{
509+
files: path.resolve(
510+
__dirname,
511+
"../../icons/heroicons/optimized/16/solid/*.svg",
512+
),
513+
formatter: (name) => `HiMicro${name}`,
514+
},
496515
],
497516
projectUrl: "https://github.com/tailwindlabs/heroicons",
498517
license: "MIT",
@@ -654,11 +673,21 @@ export const icons: IconDefinition[] = [
654673
id: "tb",
655674
name: "Tabler Icons",
656675
contents: [
657-
{
658-
files: path.resolve(__dirname, "../../icons/tabler-icons/icons/*.svg"),
659-
formatter: (name) => `Tb${name}`,
660-
},
661-
],
676+
{
677+
files: path.resolve(
678+
__dirname,
679+
"../../icons/tabler-icons/icons/filled/*.svg",
680+
),
681+
formatter: (name) => `Tb${name}`,
682+
},
683+
{
684+
files: path.resolve(
685+
__dirname,
686+
"../../icons/tabler-icons/icons/outline/*.svg",
687+
),
688+
formatter: (name) => `TbOutline${name}`,
689+
},
690+
],
662691
projectUrl: "https://github.com/tabler/tabler-icons",
663692
license: "MIT",
664693
licenseUrl: "https://opensource.org/licenses/MIT",

0 commit comments

Comments
 (0)