diff --git a/package.json b/package.json index 90f67f4a..be837f3d 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "test": "vitest", "test:coverage": "vitest run --coverage", "type-check": "tsc --noEmit -p ./tsconfig.app.json", - "generate-icons": "npx @svgr/cli --typescript --no-dimensions --jsx-runtime automatic --out-dir ./src/components/icons/ -- icons" + "generate-icons": "npx @svgr/cli --typescript --no-dimensions --replace-attr-values '#2E323A=currentColor' --jsx-runtime automatic --out-dir ./src/components/icons/ -- icons" }, "dependencies": { "@hey-api/client-fetch": "^0.6.0", diff --git a/src/components/icons/Continue.tsx b/src/components/icons/Continue.tsx index 00acb879..cb9cd6fa 100644 --- a/src/components/icons/Continue.tsx +++ b/src/components/icons/Continue.tsx @@ -7,7 +7,7 @@ const SvgContinue = (props: SVGProps) => ( {...props} > diff --git a/src/components/icons/Copilot.tsx b/src/components/icons/Copilot.tsx index 6f20d1eb..9479811e 100644 --- a/src/components/icons/Copilot.tsx +++ b/src/components/icons/Copilot.tsx @@ -7,7 +7,7 @@ const SvgCopilot = (props: SVGProps) => ( {...props} > diff --git a/src/components/icons/Discord.tsx b/src/components/icons/Discord.tsx index 8062dbd1..d040b49f 100644 --- a/src/components/icons/Discord.tsx +++ b/src/components/icons/Discord.tsx @@ -7,7 +7,7 @@ const SvgDiscord = (props: SVGProps) => ( {...props} > diff --git a/src/components/icons/Github.tsx b/src/components/icons/Github.tsx index e6f6d288..da690ebd 100644 --- a/src/components/icons/Github.tsx +++ b/src/components/icons/Github.tsx @@ -7,7 +7,7 @@ const SvgGithub = (props: SVGProps) => ( {...props} > ) => ( {...props} >