- {isEditMode ? (
+ {simulation === null ? (
{componentPin.name}
{componentPin.name}
- {value}
+
)}
diff --git a/src/pages/edit/Editor/renderer/Node/components/Interface/style.module.css b/src/pages/edit/Editor/renderer/Node/components/Interface/style.module.css
index 0e2eca1..dd1cf41 100644
--- a/src/pages/edit/Editor/renderer/Node/components/Interface/style.module.css
+++ b/src/pages/edit/Editor/renderer/Node/components/Interface/style.module.css
@@ -26,12 +26,9 @@
justify-content: center;
height: 100%;
padding: 0 4px;
+ gap: 1px;
& .name {
font-size: 8px;
}
-
- & .value {
- text-align: center;
- }
}
diff --git a/src/style.css b/src/style.css
index 9436309..aee1a98 100644
--- a/src/style.css
+++ b/src/style.css
@@ -12,6 +12,7 @@
--color-white: #ffffff;
--color-text-primary: #444444;
--color-primary: #009966;
+ --color-primary-light: #33ad84;
--color-error: #ff0000;
--color-border: #bbbbbb;
--color-editor-background: #fafafa;
diff --git a/src/style.ts b/src/style.ts
index c21e4c1..3843eb2 100644
--- a/src/style.ts
+++ b/src/style.ts
@@ -6,6 +6,7 @@ export const theme = {
white: "#ffffff",
textPrimary: "#444444",
primary: "#009966",
+ primaryLight: "#33ad84",
error: "#ff0000",
border: "#bbbbbb",
editorBackground: "#fafafa",