Notifications
diff --git a/src/frontend/src/components/chatComponent/index.tsx b/src/frontend/src/components/chatComponent/index.tsx
index 850837f6b..58c058866 100644
--- a/src/frontend/src/components/chatComponent/index.tsx
+++ b/src/frontend/src/components/chatComponent/index.tsx
@@ -72,7 +72,7 @@ export default function Chat({ flow }: ChatType) {
}
prevNodesRef.current = currentNodes;
- }, [tabsState, flow.id, nodes]);
+ }, [tabsState, flow.id]);
return (
<>
diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx
index 895f01d79..8f8618eff 100644
--- a/src/frontend/src/components/headerComponent/index.tsx
+++ b/src/frontend/src/components/headerComponent/index.tsx
@@ -121,7 +121,7 @@ export default function Header() {
<>
diff --git a/src/frontend/src/components/ui/separator.tsx b/src/frontend/src/components/ui/separator.tsx
index a770af987..1fa0287d8 100644
--- a/src/frontend/src/components/ui/separator.tsx
+++ b/src/frontend/src/components/ui/separator.tsx
@@ -17,7 +17,7 @@ const Separator = React.forwardRef<
decorative={decorative}
orientation={orientation}
className={cn(
- "shrink-0 bg-border",
+ "shrink-0 bg-ring/40",
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
className
)}
diff --git a/src/frontend/src/constants.tsx b/src/frontend/src/constants.tsx
index 25c0dc7d5..108b6780b 100644
--- a/src/frontend/src/constants.tsx
+++ b/src/frontend/src/constants.tsx
@@ -551,10 +551,3 @@ export const NOUNS: string[] = [
*
*/
export const USER_PROJECTS_HEADER = "My Collection";
-/**
- * CSS for highlight HTML
- * @constant
- *
- */
-export const HIGHLIGHT_CSS =
- "block pl-3 pr-14 py-2 w-full h-full text-sm outline-0 border-0 break-all overflow-y-hidden max-w-[75vw]";
diff --git a/src/frontend/src/index.css b/src/frontend/src/index.css
index 31d48bf77..ca77405a2 100644
--- a/src/frontend/src/index.css
+++ b/src/frontend/src/index.css
@@ -62,7 +62,7 @@
.dark {
--background: 224 35% 7.5%; /* hsl(224 40% 10%) */
- --foreground: 213 31% 85%; /* hsl(213 31% 91%) */
+ --foreground: 213 31% 80%; /* hsl(213 31% 91%) */
--muted: 223 27% 11%; /* hsl(223 27% 11%) */
--muted-foreground: 215.4 16.3% 56.9%; /* hsl(215 16% 56%) */
@@ -76,13 +76,13 @@
--border: 216 24% 17%; /* hsl(216 34% 17%) */
--input: 216 24% 17%; /* hsl(216 34% 17%) */
- --primary: 210 20% 80%; /* hsl(210 40% 98%) */
+ --primary: 210 20% 80%; /* hsl(210 20% 80%) */
--primary-foreground: 222.2 27.4% 1.2%; /* hsl(222 47% 1%) */
- --secondary: 222.2 47.4% 11.2%; /* hsl(222 47% 11%) */
- --secondary-foreground: 210 40% 98%; /* hsl(210 40% 98%) */
+ --secondary: 222.2 37.4% 7.2%; /* hsl(222 47% 11%) */
+ --secondary-foreground: 210 40% 80%; /* hsl(210 40% 80%) */
- --accent: 216 24% 17%; /* hsl(216 34% 17%) */
+ --accent: 216 24% 20%; /* hsl(216 34% 17%) */
--accent-foreground: 210 30% 98%; /* hsl(210 40% 98%) */
--destructive: 0 63% 31%; /* hsl(0 63% 31%) */
@@ -93,7 +93,7 @@
--radius: 0.5rem;
--round-btn-shadow: #00000063;
-
+
--success-background: #022c22;
--success-foreground: #ecfdf5;
@@ -925,13 +925,16 @@ The cursor: default; property value restores the browser's default cursor style
}
.form-modal-lock-true {
- @apply bg-input text-black
+ @apply bg-input text-primary
}
.form-modal-no-input {
- @apply bg-input text-center text-black dark:bg-gray-700 dark:text-gray-300
+ @apply bg-input text-center text-primary dark:bg-gray-700 dark:text-gray-300
}
.form-modal-lock-false {
- @apply bg-white text-black
+ @apply bg-white text-primary
+ }
+ .code-highlight{
+ @apply block px-3 py-2 w-full h-full text-sm outline-0 border-0 break-all overflow-y-hidden
}
.form-modal-lockchat {
@apply form-input focus:ring-ring focus:border-ring block w-full rounded-md border-border p-4 pr-16 custom-scroll sm:text-sm
@@ -1084,5 +1087,9 @@ The cursor: default; property value restores the browser's default cursor style
@apply font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70
}
+ .chat-message-highlight {
+ @apply px-0.5 rounded-md bg-indigo-100 dark:bg-indigo-900
+ }
+
}
diff --git a/src/frontend/src/modals/formModal/chatMessage/index.tsx b/src/frontend/src/modals/formModal/chatMessage/index.tsx
index 7737a171b..8cbf0877c 100644
--- a/src/frontend/src/modals/formModal/chatMessage/index.tsx
+++ b/src/frontend/src/modals/formModal/chatMessage/index.tsx
@@ -150,8 +150,8 @@ export default function ChatMessage({