diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx index eb951ba07..17131ea7a 100644 --- a/src/frontend/src/CustomNodes/GenericNode/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx @@ -147,7 +147,7 @@ export default function GenericNode({ className={classNames( validationStatus && validationStatus.valid ? "w-4 h-4 rounded-full bg-green-500 opacity-100" - : "w-4 h-4 rounded-full bg-ring opacity-0 hidden animate-spin", + : "w-4 h-4 rounded-full bg-gray-500 opacity-0 hidden animate-spin", "absolute w-4 hover:text-gray-500 hover:dark:text-gray-300 transition-all ease-in-out duration-200" )} > @@ -155,7 +155,7 @@ export default function GenericNode({ className={classNames( validationStatus && !validationStatus.valid ? "w-4 h-4 rounded-full bg-red-500 opacity-100" - : "w-4 h-4 rounded-full bg-ring opacity-0 hidden animate-spin", + : "w-4 h-4 rounded-full bg-gray-500 opacity-0 hidden animate-spin", "absolute w-4 hover:text-gray-500 hover:dark:text-gray-300 transition-all ease-in-out duration-200" )} > @@ -163,7 +163,7 @@ export default function GenericNode({ className={classNames( !validationStatus ? "w-4 h-4 rounded-full bg-yellow-500 opacity-100" - : "w-4 h-4 rounded-full bg-ring opacity-0 hidden animate-spin", + : "w-4 h-4 rounded-full bg-gray-500 opacity-0 hidden animate-spin", "absolute w-4 hover:text-gray-500 hover:dark:text-gray-300 transition-all ease-in-out duration-200" )} > diff --git a/src/frontend/src/components/chatComponent/chatMessage/index.tsx b/src/frontend/src/components/chatComponent/chatMessage/index.tsx index e1c5e144f..8ca2e56e3 100644 --- a/src/frontend/src/components/chatComponent/chatMessage/index.tsx +++ b/src/frontend/src/components/chatComponent/chatMessage/index.tsx @@ -48,7 +48,7 @@ export default function ChatMessage({ chat }: { chat: ChatMessageType }) { ) : (
-
+
{chat.message}
diff --git a/src/frontend/src/components/codeAreaComponent/index.tsx b/src/frontend/src/components/codeAreaComponent/index.tsx index f855cd602..137e0917e 100644 --- a/src/frontend/src/components/codeAreaComponent/index.tsx +++ b/src/frontend/src/components/codeAreaComponent/index.tsx @@ -45,7 +45,7 @@ export default function CodeAreaComponent({ INPUT_STYLE : "truncate block w-full text-gray-500 px-3 py-2 rounded-md border border-gray-300 dark:border-gray-700 shadow-sm sm:text-sm" + INPUT_STYLE + - (disabled ? " bg-accent" : "") + (disabled ? " bg-gray-200" : "") } > {myValue !== "" ? myValue : "Type something..."} diff --git a/src/frontend/src/components/dropdownComponent/index.tsx b/src/frontend/src/components/dropdownComponent/index.tsx index 6e4325a1b..c6ed00ab9 100644 --- a/src/frontend/src/components/dropdownComponent/index.tsx +++ b/src/frontend/src/components/dropdownComponent/index.tsx @@ -72,7 +72,7 @@ export default function Dropdown({ className={({ active }) => classNames( active - ? "text-white bg-slate-400 dark:bg-white dark:text-gray-500" + ? " bg-accent dark:bg-white dark:text-gray-500" : "", editNode ? "relative cursor-default select-none py-0.5 pl-3 pr-12 dark:text-gray-300 dark:bg-gray-800" diff --git a/src/frontend/src/components/floatComponent/index.tsx b/src/frontend/src/components/floatComponent/index.tsx index 45c0d1357..8fef867ab 100644 --- a/src/frontend/src/components/floatComponent/index.tsx +++ b/src/frontend/src/components/floatComponent/index.tsx @@ -55,7 +55,7 @@ export default function FloatComponent({ INPUT_STYLE : "focus:placeholder-transparent block w-full form-input dark:bg-gray-900 dark:text-gray-300 dark:border-gray-600 rounded-md border-gray-300 shadow-sm ring-offset-gray-200 sm:text-sm" + INPUT_STYLE + - (disabled ? " bg-accent dark:bg-gray-700" : "") + (disabled ? " bg-gray-200 dark:bg-gray-700" : "") } placeholder={ editNode ? "Number 0 to 1" : "Type a number from zero to one" diff --git a/src/frontend/src/components/inputComponent/index.tsx b/src/frontend/src/components/inputComponent/index.tsx index 26924abcf..98e643871 100644 --- a/src/frontend/src/components/inputComponent/index.tsx +++ b/src/frontend/src/components/inputComponent/index.tsx @@ -47,7 +47,7 @@ export default function InputComponent({ }} className={classNames( "block w-full pr-12 form-input dark:bg-gray-900 dark:text-gray-300 dark:border-gray-600 rounded-md border-gray-300 shadow-sm sm:text-sm focus:placeholder-transparent", - disabled ? " bg-accent dark:bg-gray-700" : "", + disabled ? " bg-gray-200 dark:bg-gray-700" : "", password && !pwdVisible && myValue !== "" ? "password" : "", editNode ? "border-1 block w-full pt-0.5 pb-0.5 form-input dark:bg-gray-900 dark:text-gray-300 dark:border-gray-600 rounded-md border-gray-300 shadow-sm sm:text-sm text-center" + diff --git a/src/frontend/src/components/inputFileComponent/index.tsx b/src/frontend/src/components/inputFileComponent/index.tsx index a0d7b5296..01613d28e 100644 --- a/src/frontend/src/components/inputFileComponent/index.tsx +++ b/src/frontend/src/components/inputFileComponent/index.tsx @@ -82,7 +82,7 @@ export default function InputFileComponent({ INPUT_STYLE : "truncate block w-full text-gray-500 dark:text-gray-300 px-3 py-2 rounded-md border border-gray-300 dark:border-gray-700 shadow-sm sm:text-sm" + INPUT_STYLE + - (disabled ? " bg-accent" : "") + (disabled ? " bg-gray-200" : "") } > {myValue !== "" ? myValue : "No file"} diff --git a/src/frontend/src/components/inputListComponent/index.tsx b/src/frontend/src/components/inputListComponent/index.tsx index 754dd4276..4bb82147f 100644 --- a/src/frontend/src/components/inputListComponent/index.tsx +++ b/src/frontend/src/components/inputListComponent/index.tsx @@ -35,7 +35,7 @@ export default function InputListComponent({ ? "border-[1px] truncate cursor-pointer text-center placeholder:text-center text-gray-500 block w-full pt-0.5 pb-0.5 form-input dark:bg-gray-900 dark:text-gray-300 dark:border-gray-600 rounded-md border-gray-300 shadow-sm sm:text-sm" + INPUT_STYLE : "block w-full form-input rounded-md border-gray-300 shadow-sm focus:border-gray-500 focus:ring-gray-500 sm:text-sm" + - (disabled ? " bg-accent" : "") + + (disabled ? " bg-gray-200" : "") + "focus:placeholder-transparent" } placeholder="Type something..." diff --git a/src/frontend/src/components/intComponent/index.tsx b/src/frontend/src/components/intComponent/index.tsx index adbad43a2..962b4dd2b 100644 --- a/src/frontend/src/components/intComponent/index.tsx +++ b/src/frontend/src/components/intComponent/index.tsx @@ -69,7 +69,7 @@ export default function IntComponent({ INPUT_STYLE : "focus:placeholder-transparent block w-full form-input dark:bg-gray-900 dark:border-gray-600 dark:text-gray-300 rounded-md border-gray-300 shadow-sm ring-offset-background sm:text-sm" + INPUT_STYLE + - (disabled ? " bg-accent dark:bg-gray-700" : "") + (disabled ? " bg-gray-200 dark:bg-gray-700" : "") } placeholder={editNode ? "Integer number" : "Type a integer number"} onChange={(e) => { diff --git a/src/frontend/src/components/promptComponent/index.tsx b/src/frontend/src/components/promptComponent/index.tsx index c4c5b526a..df8070a2a 100644 --- a/src/frontend/src/components/promptComponent/index.tsx +++ b/src/frontend/src/components/promptComponent/index.tsx @@ -49,7 +49,7 @@ export default function PromptAreaComponent({ ? "cursor-pointer truncate placeholder:text-center text-gray-500 border-1 block w-full pt-0.5 pb-0.5 form-input dark:bg-gray-900 dark:text-gray-300 dark:border-gray-600 rounded-md border-gray-300 shadow-sm sm:text-sm" + INPUT_STYLE : "truncate block w-full text-gray-500 px-3 py-2 rounded-md border border-gray-300 dark:border-gray-700 shadow-sm sm:text-sm" + - (disabled ? " bg-accent" : "") + (disabled ? " bg-gray-200" : "") } > {myValue !== "" ? myValue : "Type your prompt here"} diff --git a/src/frontend/src/components/textAreaComponent/index.tsx b/src/frontend/src/components/textAreaComponent/index.tsx index c1efcfd16..4c0412994 100644 --- a/src/frontend/src/components/textAreaComponent/index.tsx +++ b/src/frontend/src/components/textAreaComponent/index.tsx @@ -54,7 +54,7 @@ export default function TextAreaComponent({ ? "truncate cursor-pointer placeholder:text-center text-gray-500 border-1 block w-full pt-0.5 pb-0.5 form-input dark:bg-gray-900 dark:text-gray-300 dark:border-gray-600 rounded-md border-gray-300 shadow-sm sm:text-sm" + INPUT_STYLE : "truncate block w-full text-gray-500 dark:text-muted px-3 py-2 rounded-md border border-gray-300 dark:border-gray-700 shadow-sm sm:text-sm" + - (disabled ? " bg-accent" : "") + (disabled ? " bg-gray-200" : "") } > {myValue !== "" ? myValue : "Type something..."} diff --git a/src/frontend/src/modals/NodeModal/index.tsx b/src/frontend/src/modals/NodeModal/index.tsx index 7f1344daa..6ceba62bf 100644 --- a/src/frontend/src/modals/NodeModal/index.tsx +++ b/src/frontend/src/modals/NodeModal/index.tsx @@ -45,7 +45,7 @@ export default function NodeModal({ data }: { data: NodeDataType }) { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -90,7 +90,7 @@ export default function NodeModal({ data }: { data: NodeDataType }) {
-
+
-
+
@@ -86,7 +86,7 @@ export default function TextAreaModal({
-
+