Skip to content

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

feat: update colors

AykutSarac7850d08cc176
diff --git a/src/constants/theme.ts b/src/constants/theme.ts
index dfc56bb3..dd92624a 100644
--- a/src/constants/theme.ts
+++ b/src/constants/theme.ts
@@ -67,6 +67,7 @@ export const darkTheme = {
BACKGROUND_NODE: "#2B2C3E",
BACKGROUND_TERTIARY: "#202225",
BACKGROUND_SECONDARY: "#2f3136",
+ TOOLBAR_BG: "#2f3136",
BACKGROUND_PRIMARY: "#36393f",
BACKGROUND_MODIFIER_ACCENT: "rgba(79,84,92,0.48)",
MODAL_BACKGROUND: "#36393E",
@@ -92,14 +93,15 @@ export const lightTheme = {
BACKGROUND_NODE: "#F6F8FA",
BACKGROUND_TERTIARY: "#e3e5e8",
BACKGROUND_SECONDARY: "#f2f3f5",
+ TOOLBAR_BG: "#FAFAFA",
BACKGROUND_PRIMARY: "#FFFFFF",
BACKGROUND_MODIFIER_ACCENT: "rgba(106,116,128,0.24)",
MODAL_BACKGROUND: "#FFFFFF",
TEXT_NORMAL: "#2e3338",
TEXT_POSITIVE: "#008736",
- GRID_BG_COLOR: "#FAFAFA",
- GRID_COLOR_PRIMARY: "#EBEBEB",
- GRID_COLOR_SECONDARY: "#EEEEEE",
+ GRID_BG_COLOR: "#f3f3f3",
+ GRID_COLOR_PRIMARY: "#E0E0E0",
+ GRID_COLOR_SECONDARY: "#E4E4E4",
};
const themeDs = {
diff --git a/src/containers/Editor/LiveEditor/Tools.tsx b/src/containers/Editor/LiveEditor/Tools.tsx
index 1e57ddf6..69459951 100644
--- a/src/containers/Editor/LiveEditor/Tools.tsx
+++ b/src/containers/Editor/LiveEditor/Tools.tsx
@@ -36,7 +36,7 @@ export const StyledTools = styled.div`
justify-content: space-between;
height: 36px;
padding: 4px 8px;
- background: ${({ theme }) => theme.BACKGROUND_SECONDARY};
+ background: ${({ theme }) => theme.TOOLBAR_BG};
color: ${({ theme }) => theme.SILVER};
box-shadow: 0 1px 0px ${({ theme }) => theme.BACKGROUND_TERTIARY};
z-index: 36;
diff --git a/src/layout/EditorWrapper/index.tsx b/src/layout/EditorWrapper/index.tsx
index 39899572..6a6507ec 100644
--- a/src/layout/EditorWrapper/index.tsx
+++ b/src/layout/EditorWrapper/index.tsx
@@ -34,10 +34,10 @@ const mantineTheme: MantineThemeOverride = {
fontWeight: 700,
},
header: {
- backgroundColor: theme.colorScheme === "dark" ? "#36393E" : "#FFFFFF",
+ backgroundColor: theme.colorScheme === "dark" ? "#36393E" : "#F3F3F3",
},
body: {
- backgroundColor: theme.colorScheme === "dark" ? "#36393E" : "#FFFFFF",
+ backgroundColor: theme.colorScheme === "dark" ? "#36393E" : "#F3F3F3",
},
}),
},