Skip to content

Commit

Permalink
💄 Adapt openAI logo to dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Apr 13, 2023
1 parent 27f1015 commit 868b5b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const GoogleSheetConnectModal = ({
<Image
src="/images/google-spreadsheets-scopes.jpeg"
alt="Google Spreadsheets checkboxes"
rounded="md"
/>
<Flex>
<Button
Expand Down
4 changes: 3 additions & 1 deletion apps/builder/src/features/editor/components/BlockIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export const BlockIcon = ({ type, ...props }: BlockIconProps): JSX.Element => {
const blue = useColorModeValue('blue.500', 'blue.300')
const orange = useColorModeValue('orange.500', 'orange.300')
const purple = useColorModeValue('purple.500', 'purple.300')
const openAIColor = useColorModeValue('black', 'white')

switch (type) {
case BubbleBlockType.TEXT:
return <TextBubbleIcon color={blue} {...props} />
Expand Down Expand Up @@ -106,7 +108,7 @@ export const BlockIcon = ({ type, ...props }: BlockIconProps): JSX.Element => {
case IntegrationBlockType.CHATWOOT:
return <ChatwootLogo {...props} />
case IntegrationBlockType.OPEN_AI:
return <OpenAILogo {...props} />
return <OpenAILogo fill={openAIColor} {...props} />
case 'start':
return <FlagIcon {...props} />
}
Expand Down
1 change: 0 additions & 1 deletion packages/lib/pricing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export const getChatsLimit = ({
plan === Plan.STARTER || plan === Plan.PRO
? chatsLimit[plan].graduatedPrice[additionalChatsIndex].totalIncluded
: chatsLimit[plan].totalIncluded
if (totalIncluded === infinity) return infinity
return totalIncluded
}

Expand Down

0 comments on commit 868b5b8

Please sign in to comment.