mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
fix: graph nodes now respect theme colors
Override React Flow's default node styling (white background) with transparent to allow the TaskNode component's bg-card class to show through with the correct theme colors.
This commit is contained in:
@@ -929,7 +929,8 @@
|
||||
}
|
||||
|
||||
@keyframes edge-glow {
|
||||
0%, 100% {
|
||||
0%,
|
||||
100% {
|
||||
filter: drop-shadow(0 0 2px var(--status-in-progress));
|
||||
}
|
||||
50% {
|
||||
@@ -954,7 +955,8 @@
|
||||
|
||||
/* Node animations */
|
||||
@keyframes pulse-subtle {
|
||||
0%, 100% {
|
||||
0%,
|
||||
100% {
|
||||
box-shadow: 0 0 0 0 var(--status-in-progress);
|
||||
}
|
||||
50% {
|
||||
@@ -1009,6 +1011,14 @@
|
||||
right: -6px;
|
||||
}
|
||||
|
||||
/* Node base styling - override React Flow defaults */
|
||||
.graph-canvas .react-flow__node {
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
/* Selection styles */
|
||||
.graph-canvas .react-flow__node.selected {
|
||||
outline: none;
|
||||
|
||||
Reference in New Issue
Block a user