From 06fcc88a191f87b918b37b76e4614c29d2d0fe80 Mon Sep 17 00:00:00 2001 From: swve Date: Fri, 16 May 2025 16:01:00 +0200 Subject: [PATCH] feat: update InfoCalloutComponent styles and icon for improved UI --- .../Extensions/Callout/Info/InfoCalloutComponent.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/components/Objects/Editor/Extensions/Callout/Info/InfoCalloutComponent.tsx b/apps/web/components/Objects/Editor/Extensions/Callout/Info/InfoCalloutComponent.tsx index 12317e3a..ebb4e82e 100644 --- a/apps/web/components/Objects/Editor/Extensions/Callout/Info/InfoCalloutComponent.tsx +++ b/apps/web/components/Objects/Editor/Extensions/Callout/Info/InfoCalloutComponent.tsx @@ -1,6 +1,6 @@ import { useEditorProvider } from '@components/Contexts/Editor/EditorContext' import { NodeViewContent, NodeViewWrapper } from '@tiptap/react' -import { AlertCircle, X } from 'lucide-react' +import { AlertCircle, Info, X } from 'lucide-react' import React, { useState } from 'react' import styled from 'styled-components' @@ -100,11 +100,11 @@ function InfoCalloutComponent(props: any) { const getVariantClasses = () => { switch(options.variant) { case 'filled': - return 'bg-blue-500 text-white'; + return 'bg-gray-300 text-gray-700'; case 'outlined': - return 'bg-transparent border-2 border-blue-500 text-blue-700'; + return 'bg-transparent border-2 border-gray-300 text-gray-500'; default: - return 'bg-blue-200 text-blue-900'; + return 'bg-gray-100 text-gray-600'; } } @@ -119,12 +119,12 @@ function InfoCalloutComponent(props: any) { return ( - +