From c9baab602d92860357d68d6b7ceba3408b122ef8 Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 11 Nov 2026 14:03:38 +0800 Subject: [PATCH 1/2] Docs: brighter secondary text in the dark pipeline diagram Same change as ManySeg #18: dark-theme muted text #94A3B8 -> #CBD5E1, connector lines #64748B -> #7C8BA1. Co-Authored-By: Claude Opus 5.5 --- docs/assets/pipeline-dark.svg | 68 +++++++++++++++++------------------ scripts/make_diagram.py | 4 +-- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/docs/assets/pipeline-dark.svg b/docs/assets/pipeline-dark.svg index d1b3934..f601d20 100644 --- a/docs/assets/pipeline-dark.svg +++ b/docs/assets/pipeline-dark.svg @@ -1,19 +1,19 @@ - - - - - - + + + + + + - + - + @@ -23,31 +23,31 @@ - - + + - - + + - + - + - + - + @@ -80,24 +80,24 @@ - + - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/scripts/make_diagram.py b/scripts/make_diagram.py index a745184..ddbf036 100644 --- a/scripts/make_diagram.py +++ b/scripts/make_diagram.py @@ -58,8 +58,8 @@ def text(s, x, y, size, fill, weight="regular", anchor="start", tracking=0.0): ), "dark": dict( ink="#F1F5F9", - muted="#94A3B8", - line="#64748B", + muted="#CBD5E1", + line="#7C8BA1", plate="#1E293B", edge="#475569", soft="#334155", From cb62c96c52192cde4fa23ac211bc4b7db9bec45d Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 11 Nov 2026 14:09:29 +0800 Subject: [PATCH 2/2] Docs: larger text in the pipeline diagram Same as ManySeg 0a5bcca: titles 15 -> 16.5, captions and the option lists 12.5 -> 14 (option lines 18 -> 20 apart), column headers 12.5 -> 13.5, pill labels up about 1px. Canvas 400 -> 410 tall to fit. Co-Authored-By: Claude Opus 5.5 --- docs/assets/pipeline-dark.svg | 74 +++++++++++++++++----------------- docs/assets/pipeline-light.svg | 74 +++++++++++++++++----------------- scripts/make_diagram.py | 16 ++++---- 3 files changed, 82 insertions(+), 82 deletions(-) diff --git a/docs/assets/pipeline-dark.svg b/docs/assets/pipeline-dark.svg index f601d20..ab9f0d4 100644 --- a/docs/assets/pipeline-dark.svg +++ b/docs/assets/pipeline-dark.svg @@ -1,16 +1,16 @@ - + - - - - - + + + + + - - + + @@ -22,32 +22,32 @@ - - + + - + - + - + - + - - + + - - + + @@ -79,25 +79,25 @@ - + - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/docs/assets/pipeline-light.svg b/docs/assets/pipeline-light.svg index f604eaa..ee18935 100644 --- a/docs/assets/pipeline-light.svg +++ b/docs/assets/pipeline-light.svg @@ -1,16 +1,16 @@ - + - - - - - + + + + + - - + + @@ -22,32 +22,32 @@ - - + + - + - + - + - + - - + + - - + + @@ -79,25 +79,25 @@ - + - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/scripts/make_diagram.py b/scripts/make_diagram.py index ddbf036..2d85822 100644 --- a/scripts/make_diagram.py +++ b/scripts/make_diagram.py @@ -74,7 +74,7 @@ def text(s, x, y, size, fill, weight="regular", anchor="start", tracking=0.0): ), } -W, H = 1000, 400 +W, H = 1000, 410 COLS = {"in": 95, "tile": 290, "gpu": 495, "blend": 690, "out": 885} ROW = 125 # centre line of the icons LABEL = 222 # titles under the icons @@ -93,8 +93,8 @@ def arrow(x0, y0, x1, y1, col=None): ) def label(key, y, title, sub): - add(text(title, COLS[key], y, 15, t["ink"], "bold", "middle")) - add(text(sub, COLS[key], y + 18, 12.5, t["muted"], anchor="middle")) + add(text(title, COLS[key], y, 16.5, t["ink"], "bold", "middle")) + add(text(sub, COLS[key], y + 18, 14, t["muted"], anchor="middle")) for key, name in ( ("in", "INPUTS"), @@ -103,7 +103,7 @@ def label(key, y, title, sub): ("blend", "BLENDING"), ("out", "OUTPUTS"), ): - add(text(name, COLS[key], 34, 12.5, t["muted"], "bold", "middle", tracking=0.12)) + add(text(name, COLS[key], 34, 13.5, t["muted"], "bold", "middle", tracking=0.12)) # ---- inputs: a band stack (the scene) and files read by load_func cx = COLS["in"] @@ -158,7 +158,7 @@ def label(key, y, title, sub): f'' ) - add(text("batch", gx - 63, ROW + 40, 12, t["muted"], anchor="middle")) + add(text("batch", gx - 63, ROW + 40, 14, t["muted"], anchor="middle")) arrow(x0 + size + 8, ROW, gx - 92, ROW) steps = [ ("normalise", t["soft"], t["ink"]), @@ -168,7 +168,7 @@ def label(key, y, title, sub): for i, (name, fill, ink) in enumerate(steps): sy = ROW - 47 + i * 34 add(f'') - add(text(name, gx + 24, sy + 17.5, 12.5, ink, "bold", "middle")) + add(text(name, gx + 24, sy + 18, 13.5, ink, "bold", "middle")) arrow(gx - 40, ROW, gx - 28, ROW) label("gpu", LABEL, "batched inference", "copies overlap compute") @@ -211,7 +211,7 @@ def label(key, y, title, sub): f'' ) - add(text("0.82", ox + 47, ROW + 32, 13, t["ink"], "bold", "middle")) + add(text("0.82", ox + 47, ROW + 32, 14, t["ink"], "bold", "middle")) arrow(bx + 54, ROW, mx - 14, ROW) label("out", LABEL, "predictions", "arrays ยท GeoTIFFs") @@ -238,7 +238,7 @@ def label(key, y, title, sub): ) for key, lines in opts.items(): for i, s in enumerate(lines): - add(text(s, COLS[key], RULE_Y + 26 + i * 18, 12.5, t["muted"], anchor="middle")) + add(text(s, COLS[key], RULE_Y + 27 + i * 20, 14, t["muted"], anchor="middle")) defs = ( f'