From 9c727fdb24ddfc4b978c4b29460b08e6b2af9f2a Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Thu, 2 Mar 2023 09:22:16 -0300 Subject: [PATCH] changed color slate to gray --- space_flow/src/App.tsx | 2 +- .../src/CustomNodes/BooleanNode/index.tsx | 6 +++--- .../src/CustomNodes/ChatInputNode/index.tsx | 6 +++--- .../src/CustomNodes/ChatOutputNode/index.tsx | 4 ++-- .../components/parameterComponent/index.tsx | 4 ++-- .../src/CustomNodes/GenericNode/index.tsx | 6 +++--- .../src/CustomNodes/InputNode/index.tsx | 8 ++++---- space_flow/src/alerts/alertDropDown/index.tsx | 2 +- .../ExtraSidebarComponent/index.tsx | 4 ++-- .../src/components/HeaderComponent/index.tsx | 2 +- .../src/components/SidebarComponent/index.tsx | 2 +- .../src/components/chatComponent/index.tsx | 14 ++++++------- .../src/components/inputComponent/index.tsx | 2 +- .../components/textAreaComponent/index.tsx | 2 +- .../src/components/toggleComponent/index.tsx | 4 ++-- space_flow/src/modals/textAreaModal/index.tsx | 14 ++++++------- .../components/DisclosureComponent/index.tsx | 2 +- .../extraSidebarComponent/index.tsx | 20 +++++++++---------- .../components/tabComponent/index.tsx | 12 +++++------ .../components/tabsManagerComponent/index.tsx | 2 +- space_flow/src/pages/FlowPage/index.tsx | 4 ++-- 21 files changed, 61 insertions(+), 61 deletions(-) diff --git a/space_flow/src/App.tsx b/space_flow/src/App.tsx index cca4e3df1..c878aead7 100644 --- a/space_flow/src/App.tsx +++ b/space_flow/src/App.tsx @@ -105,7 +105,7 @@ export default function App() { {/* Main area */} -
+
{/* Primary column */}
diff --git a/space_flow/src/CustomNodes/BooleanNode/index.tsx b/space_flow/src/CustomNodes/BooleanNode/index.tsx index db4fd4e4f..707680964 100644 --- a/space_flow/src/CustomNodes/BooleanNode/index.tsx +++ b/space_flow/src/CustomNodes/BooleanNode/index.tsx @@ -10,8 +10,8 @@ export default function BooleanNode({ data }) { const [enabled, setEnabled] = useState(false); const {types, deleteNode} = useContext(typesContext); return ( -
-
+
+
isValidConnection(data,connection)} - className={"-mr-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-slate-800"} + className={"-mr-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-gray-800"} style={{ borderColor: nodeColors[types[data.type]], }} diff --git a/space_flow/src/CustomNodes/ChatInputNode/index.tsx b/space_flow/src/CustomNodes/ChatInputNode/index.tsx index e74071bb4..66cd8e51a 100644 --- a/space_flow/src/CustomNodes/ChatInputNode/index.tsx +++ b/space_flow/src/CustomNodes/ChatInputNode/index.tsx @@ -13,7 +13,7 @@ export default function ChatInputNode({ data }) { const { types } = useContext(typesContext); return (
@@ -24,7 +24,7 @@ export default function ChatInputNode({ data }) { } position={Position.Left} id={"str|Prefix|" + data.id} - className={"-ml-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-slate-800"} + className={"-ml-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-gray-800"} style={{ borderColor: nodeColors[types[data.type]], }} @@ -38,7 +38,7 @@ export default function ChatInputNode({ data }) { } position={Position.Right} id={"str|str|" + data.id} - className={"-mr-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-slate-800"} + className={"-mr-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-gray-800"} style={{ borderColor: nodeColors[types[data.type]], }} diff --git a/space_flow/src/CustomNodes/ChatOutputNode/index.tsx b/space_flow/src/CustomNodes/ChatOutputNode/index.tsx index c8ffbab79..48836d760 100644 --- a/space_flow/src/CustomNodes/ChatOutputNode/index.tsx +++ b/space_flow/src/CustomNodes/ChatOutputNode/index.tsx @@ -9,14 +9,14 @@ import { typesContext } from "../../contexts/typesContext"; export default function ChatOutputNode({ data }) { const {types} = useContext(typesContext); return ( -
+
isValidConnection(data,connection)} position={Position.Left} id={"str|output|"+data.id} - className={"-ml-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-slate-800" + className={"-ml-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-gray-800" } style={{ borderColor: nodeColors[types[data.type]], diff --git a/space_flow/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx b/space_flow/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx index fa86811b2..4864d0aa4 100644 --- a/space_flow/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx +++ b/space_flow/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx @@ -43,7 +43,7 @@ export default function ParameterComponent({ let disabled = reactFlowInstance?.getEdges().some((e) => (e.targetHandle === id)) ?? false; return ( -
+
<>
{title}{required ? " *" : ""}
@@ -56,7 +56,7 @@ export default function ParameterComponent({ } className={ (left ? "-ml-0.5 " : "-mr-0.5 ") + - "w-3 h-3 rounded-full border-2 bg-white dark:bg-slate-800" + "w-3 h-3 rounded-full border-2 bg-white dark:bg-gray-800" } style={{ borderColor: color, diff --git a/space_flow/src/CustomNodes/GenericNode/index.tsx b/space_flow/src/CustomNodes/GenericNode/index.tsx index d046746ab..dde32a486 100644 --- a/space_flow/src/CustomNodes/GenericNode/index.tsx +++ b/space_flow/src/CustomNodes/GenericNode/index.tsx @@ -16,8 +16,8 @@ export default function GenericNode({ data }) { return ( -
-
+
+
{data.type}
diff --git a/space_flow/src/CustomNodes/InputNode/index.tsx b/space_flow/src/CustomNodes/InputNode/index.tsx index 21031049f..dfda0edaf 100644 --- a/space_flow/src/CustomNodes/InputNode/index.tsx +++ b/space_flow/src/CustomNodes/InputNode/index.tsx @@ -15,7 +15,7 @@ import TextAreaComponent from "../../components/textAreaComponent"; export default function InputNode({ data }) { const {types, deleteNode} = useContext(typesContext); return ( -
+
isValidConnection(data, connection) } - className={"-ml-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-slate-800"} + className={"-ml-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-gray-800"} style={{ borderColor: nodeColors[types[data.type]], }} > -
+
isValidConnection(data, connection)} - className={"-mr-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-slate-800"} + className={"-mr-0.5 w-3 h-3 rounded-full border-2 bg-white dark:bg-gray-800"} style={{ borderColor: nodeColors[types[data.type]], }} diff --git a/space_flow/src/alerts/alertDropDown/index.tsx b/space_flow/src/alerts/alertDropDown/index.tsx index 87ecb5478..e8cb279e2 100644 --- a/space_flow/src/alerts/alertDropDown/index.tsx +++ b/space_flow/src/alerts/alertDropDown/index.tsx @@ -67,7 +67,7 @@ export default function AlertDropdown({closeFunction, open}: AlertDropdownProps) )) : -
+
No new notifications
} diff --git a/space_flow/src/components/ExtraSidebarComponent/index.tsx b/space_flow/src/components/ExtraSidebarComponent/index.tsx index 1f16098e0..ff15e8973 100644 --- a/space_flow/src/components/ExtraSidebarComponent/index.tsx +++ b/space_flow/src/components/ExtraSidebarComponent/index.tsx @@ -20,9 +20,9 @@ export default function ExtraSidebar() {