From 7334b832332462d46859d8082a9e0ac49091aeff Mon Sep 17 00:00:00 2001 From: midego1 Date: Thu, 6 Aug 2026 08:51:54 +0000 Subject: [PATCH] Use the integrations.sh logo for GitHub and OpenAI presets The GitHub presets pointed at svgl's `github_dark.svg`, which is the dark-BACKGROUND variant: its paths are filled `#ffff`. Rendered on the light UI that is a white mark on a white surface, so the GitHub entry in the integrations list and in the connect dialog looked blank. `openai_dark.svg` has the same problem. Point both at integrations.sh instead, which `integration-favicon.tsx` calls executor's single logo source and which the neighbouring Figma, Stripe and Vercel presets already use. Those logos carry their own background, so they stay legible on either theme -- preset icons render as a plain `` with no theme-aware variant selection, so one URL has to work on both. --- packages/plugins/graphql/src/sdk/presets.ts | 2 +- packages/plugins/openapi/src/sdk/presets.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/plugins/graphql/src/sdk/presets.ts b/packages/plugins/graphql/src/sdk/presets.ts index f648f88003..0dd00da993 100644 --- a/packages/plugins/graphql/src/sdk/presets.ts +++ b/packages/plugins/graphql/src/sdk/presets.ts @@ -15,7 +15,7 @@ export const graphqlPresets: readonly GraphqlPreset[] = [ summary: "Repos, issues, PRs, and users via GitHub's GraphQL API.", url: "https://api.github.com/graphql", endpoint: "https://api.github.com/graphql", - icon: "https://svgl.app/library/github_dark.svg", + icon: "https://integrations.sh/logo/github.com", featured: true, }, { diff --git a/packages/plugins/openapi/src/sdk/presets.ts b/packages/plugins/openapi/src/sdk/presets.ts index dcc2f81b75..0e9fea3e93 100644 --- a/packages/plugins/openapi/src/sdk/presets.ts +++ b/packages/plugins/openapi/src/sdk/presets.ts @@ -66,7 +66,7 @@ const openApiOnlyPresets: readonly OpenApiPreset[] = [ name: "GitHub REST", summary: "Repos, issues, pull requests, actions, and users.", url: "https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json", - icon: "https://svgl.app/library/github_dark.svg", + icon: "https://integrations.sh/logo/github.com", featured: true, }, { @@ -98,7 +98,7 @@ const openApiOnlyPresets: readonly OpenApiPreset[] = [ name: "OpenAI", summary: "Models, files, responses, and fine-tuning.", url: "https://app.stainless.com/api/spec/documented/openai/openapi.documented.yml", - icon: "https://svgl.app/library/openai_dark.svg", + icon: "https://integrations.sh/logo/openai.com", featured: true, }, {