From 79d3ecc1b81f099a7b16409a3f6bf0948f0e38c7 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 23 Jan 2026 09:25:09 +0800 Subject: [PATCH] feat(icons): update RightCode provider icon - Import new detailed RC icon from rc.svg (128x128 viewBox) - Add icon configuration to Claude provider preset - Remove duplicate old RC icon definition to fix TS1117 error --- src/config/claudeProviderPresets.ts | 4 +++- src/icons/extracted/index.ts | 2 +- src/icons/extracted/rc.svg | 7 +------ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index 9d9904a57..49254e29d 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -459,7 +459,9 @@ export const providerPresets: ProviderPreset[] = [ ANTHROPIC_AUTH_TOKEN: "", }, }, - category: "third_party" + category: "third_party", + icon: "rc", + iconColor: "#E96B2C", }, { name: "OpenRouter", diff --git a/src/icons/extracted/index.ts b/src/icons/extracted/index.ts index 0ac9282d9..2e451d36f 100644 --- a/src/icons/extracted/index.ts +++ b/src/icons/extracted/index.ts @@ -50,7 +50,7 @@ export const icons: Record = { zeroone: `01.AI`, zhipu: `Zhipu`, openrouter: `OpenRouter`, - rc: `RightCode`, + rc: `RightCode`, longcat: `LongCat`, modelscope: `ModelScope`, aihubmix: `AiHubMix`, diff --git a/src/icons/extracted/rc.svg b/src/icons/extracted/rc.svg index b8089148b..da1d0fdb2 100644 --- a/src/icons/extracted/rc.svg +++ b/src/icons/extracted/rc.svg @@ -1,6 +1 @@ - - RightCode - - - - + \ No newline at end of file