From e3ca5ac0cf725d6a0f4361f4db5d242a248e9181 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 1 Jun 2026 00:08:08 -0400 Subject: [PATCH] docs(spike): darken Mermaid label text for readability Add explicit dark text color (per-class color + base theme override) to the store-and-forward mermaid diagram so node/edge labels read clearly regardless of gitea's page theme. --- docs/requirements/Component-StoreAndForward.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/requirements/Component-StoreAndForward.md b/docs/requirements/Component-StoreAndForward.md index 3396fa57..85a60c8d 100644 --- a/docs/requirements/Component-StoreAndForward.md +++ b/docs/requirements/Component-StoreAndForward.md @@ -26,6 +26,7 @@ Site clusters only. The central cluster does not buffer messages. ## Message Lifecycle ```mermaid +%%{init: {'theme':'base', 'themeVariables': {'textColor':'#111111','lineColor':'#555555','edgeLabelBackground':'#ffffff','fontSize':'15px'}}}%% flowchart TD A([Script submits message]) --> B[Attempt immediate delivery] B --> C{Delivered?} @@ -36,11 +37,11 @@ flowchart TD G -->|Success| H([Remove from buffer
+ notify standby]) G -->|Max retries exhausted| I([Park message
dead-letter]) - classDef ok fill:#d5e8d4,stroke:#82b366; - classDef proc fill:#dae8fc,stroke:#6c8ebf; - classDef dec fill:#fff2cc,stroke:#d6b656; - classDef buf fill:#ffe6cc,stroke:#d79b00; - classDef bad fill:#f8cecc,stroke:#b85450; + classDef ok fill:#d5e8d4,stroke:#82b366,color:#111111; + classDef proc fill:#dae8fc,stroke:#6c8ebf,color:#111111; + classDef dec fill:#fff2cc,stroke:#d6b656,color:#111111; + classDef buf fill:#ffe6cc,stroke:#d79b00,color:#111111; + classDef bad fill:#f8cecc,stroke:#b85450,color:#111111; class A,D,H ok class B,F proc class C,G dec