Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

update node text colors

AykutSarac102e3e2aa27a
diff --git a/src/components/Input/index.tsx b/src/components/Input/index.tsx
index e1c9a98b..fcfc80bc 100644
--- a/src/components/Input/index.tsx
+++ b/src/components/Input/index.tsx
@@ -23,6 +23,7 @@ const StyledInput = styled.input`
font-size: 14px;
font-weight: 500;
transition: width 0.3s;
+ user-select: none;
&::-webkit-search-decoration,
&::-webkit-search-cancel-button,
diff --git a/src/containers/LiveEditor/CustomNode/styles.tsx b/src/containers/LiveEditor/CustomNode/styles.tsx
index ecf12c2f..45141c96 100644
--- a/src/containers/LiveEditor/CustomNode/styles.tsx
+++ b/src/containers/LiveEditor/CustomNode/styles.tsx
@@ -20,7 +20,7 @@ export const StyledText = styled.pre<{
flex-direction: column;
width: ${({ width }) => width};
height: ${({ height }) => height};
- color: ${({ theme }) => theme.SILVER};
+ color: ${({ theme }) => theme.TEXT_NORMAL};
`;
export const StyledForeignObject = styled.foreignObject`
@@ -37,7 +37,7 @@ export const StyledKey = styled.span<{
parent?: boolean;
}>`
color: ${({ theme, objectKey, parent }) =>
- parent ? theme.ORANGE : objectKey ? theme.BLURPLE : theme.LIGHTGREEN};
+ parent ? theme.ORANGE : objectKey ? "#5c87ff" : theme.TEXT_POSITIVE};
`;
export const StyledRow = styled.div<{ width: number }>`