From a0dacfd9065bfe5b7a7badc1373fd29c2c93e54a Mon Sep 17 00:00:00 2001 From: Emir Karabeg Date: Mon, 3 Feb 2025 22:43:17 -0800 Subject: [PATCH] Fixed styling on github block --- blocks/blocks/github.ts | 6 +++--- components/icons.tsx | 42 +++++++++++++++++++++++++---------------- 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/blocks/blocks/github.ts b/blocks/blocks/github.ts index e86cd80be5..46b7b43090 100644 --- a/blocks/blocks/github.ts +++ b/blocks/blocks/github.ts @@ -5,9 +5,9 @@ import { RepoInfoResponse } from '@/tools/github/repo' export const GitHubBlock: BlockConfig = { type: 'github_repo_info', toolbar: { - title: 'GitHub Repository Info', - description: 'Fetch GitHub repository information and metadata', - bgColor: '#ffffff', + title: 'GitHub Repository', + description: 'Fetch GitHub repository', + bgColor: '#181C1E', icon: GithubIcon, category: 'tools', }, diff --git a/components/icons.tsx b/components/icons.tsx index d6bd1d8f39..2a51973473 100644 --- a/components/icons.tsx +++ b/components/icons.tsx @@ -979,30 +979,40 @@ export const TranslateIcon = (props: SVGProps) => ( ) export const SlackIcon = (props: SVGProps) => ( - + - - - - + + + + ) export const GithubIcon = (props: SVGProps) => ( - GitHub - + ) - -