Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/lib/ui/Breadcrumb.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@
align-items: center;
gap: 0.25rem;
padding: 0.375rem 1rem;
border-bottom: 1px solid #eee;
background: #fff;
border-bottom: 1px solid var(--zf-border);
background: var(--zf-panel-bg);
font-size: 0.8rem;
color: #555;
color: var(--zf-text-secondary);
min-height: 2rem;
}

.breadcrumb-sep {
color: #bbb;
color: var(--zf-text-muted);
}

.breadcrumb-item {
Expand All @@ -78,7 +78,7 @@
}

.breadcrumb-item--link {
color: #1a56cc;
color: var(--zf-accent);
cursor: pointer;
text-decoration: none;
}
Expand All @@ -88,7 +88,7 @@
}

.breadcrumb-item--current {
color: #333;
color: var(--zf-text-primary);
font-weight: 500;
}
</style>
52 changes: 51 additions & 1 deletion src/lib/ui/Canvas.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,56 @@
.canvas-root {
width: 100%;
height: 100%;
background: #f8f8f8;
background: var(--zf-bg);
}

/* Svelte Flow chrome — controls panel */
.canvas-root :global(.svelte-flow__controls) {
border: 1px solid var(--zf-border);
border-radius: var(--zf-radius-md);
background: var(--zf-panel-bg);
box-shadow: var(--zf-shadow-sm);
overflow: hidden;
}

.canvas-root :global(.svelte-flow__controls-button) {
background: var(--zf-panel-bg);
border-bottom: 1px solid var(--zf-border-muted);
color: var(--zf-text-secondary);
fill: var(--zf-text-secondary);
}

.canvas-root :global(.svelte-flow__controls-button:last-child) {
border-bottom: none;
}

.canvas-root :global(.svelte-flow__controls-button:hover) {
background: var(--zf-surface-hover);
color: var(--zf-accent);
fill: var(--zf-accent);
}

/* Edge lines */
.canvas-root :global(.svelte-flow__edge-path) {
stroke: var(--zf-border-strong);
stroke-width: 1.5;
}

.canvas-root :global(.svelte-flow__edge.selected .svelte-flow__edge-path) {
stroke: var(--zf-accent);
}

/* Connection handles */
.canvas-root :global(.svelte-flow__handle) {
background: var(--zf-node-border);
border: 2px solid var(--zf-node-bg);
width: 8px;
height: 8px;
border-radius: 50%;
}

.canvas-root :global(.svelte-flow__handle:hover) {
background: var(--zf-accent);
border-color: var(--zf-accent-soft);
}
</style>
6 changes: 3 additions & 3 deletions src/lib/ui/ContextIndicator.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
<style>
.context-indicator {
padding: 0.3rem 1rem;
background: #f0f4ff;
border-bottom: 1px solid #dde4f5;
background: var(--zf-accent-soft);
border-bottom: 1px solid var(--zf-accent-border);
font-size: 0.78rem;
font-weight: 500;
color: #2a4580;
color: var(--zf-accent);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down
Loading
Loading