feat: fixed dark mode compliancy for nodes and background

ref: N25B-114
This commit is contained in:
JGerla
2025-10-02 13:12:01 +02:00
parent 70ebb16359
commit 0a4a3fb46c
2 changed files with 7 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
.default-node {
padding: 10px 15px;
background-color: white;
background-color: canvas;
border-radius: 5pt;
outline: black solid 2pt;
filter: drop-shadow(0 0 0.75rem black);
@@ -8,7 +8,7 @@
.default-node__norm {
padding: 10px 15px;
background-color: white;
background-color: canvas;
border-radius: 5pt;
outline: forestgreen solid 2pt;
filter: drop-shadow(0 0 0.25rem forestgreen);
@@ -16,7 +16,7 @@
.default-node__phase {
padding: 10px 15px;
background-color: white;
background-color: canvas;
border-radius: 5pt;
outline: dodgerblue solid 2pt;
filter: drop-shadow(0 0 0.25rem dodgerblue);
@@ -24,7 +24,7 @@
.default-node__start {
padding: 10px 15px;
background-color: white;
background-color: canvas;
border-radius: 5pt;
outline: orange solid 2pt;
filter: drop-shadow(0 0 0.25rem orange);
@@ -32,7 +32,7 @@
.default-node__end {
padding: 10px 15px;
background-color: white;
background-color: canvas;
border-radius: 5pt;
outline: red solid 2pt;
filter: drop-shadow(0 0 0.25rem red);

View File

@@ -13,6 +13,7 @@ import {
useEdgesState,
reconnectEdge,
addEdge,
MiniMap,
MarkerType,
type Edge,
type Connection,
@@ -110,6 +111,7 @@ const VisProgUI = ()=> {
proOptions={{hideAttribution: true }}
>
<Controls />
<MiniMap />
<Background />
</ReactFlow>
</div>