mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 09:08:38 +00:00
fix(docs): remove hardcoded Mermaid init blocks that break dark mode
Four Mermaid diagrams had `%%{init: { 'theme': 'base', ... }}%%` blocks
that forced black text and white backgrounds, overriding Mintlify's
native dark mode theming and making the diagrams unreadable.
This commit is contained in:
committed by
Sebastian
parent
e355f6e093
commit
ef3783ea97
@@ -56,22 +56,6 @@ Protocol details:
|
|||||||
## Connection lifecycle (single client)
|
## Connection lifecycle (single client)
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: {
|
|
||||||
'theme': 'base',
|
|
||||||
'themeVariables': {
|
|
||||||
'primaryColor': '#ffffff',
|
|
||||||
'primaryTextColor': '#000000',
|
|
||||||
'primaryBorderColor': '#000000',
|
|
||||||
'lineColor': '#000000',
|
|
||||||
'secondaryColor': '#f9f9fb',
|
|
||||||
'tertiaryColor': '#ffffff',
|
|
||||||
'clusterBkg': '#f9f9fb',
|
|
||||||
'clusterBorder': '#000000',
|
|
||||||
'nodeBorder': '#000000',
|
|
||||||
'mainBkg': '#ffffff',
|
|
||||||
'edgeLabelBackground': '#ffffff'
|
|
||||||
}
|
|
||||||
}}%%
|
|
||||||
sequenceDiagram
|
sequenceDiagram
|
||||||
participant Client
|
participant Client
|
||||||
participant Gateway
|
participant Gateway
|
||||||
|
|||||||
@@ -11,22 +11,6 @@ OpenClaw.app uses SSH tunneling to connect to a remote gateway. This guide shows
|
|||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: {
|
|
||||||
'theme': 'base',
|
|
||||||
'themeVariables': {
|
|
||||||
'primaryColor': '#ffffff',
|
|
||||||
'primaryTextColor': '#000000',
|
|
||||||
'primaryBorderColor': '#000000',
|
|
||||||
'lineColor': '#000000',
|
|
||||||
'secondaryColor': '#f9f9fb',
|
|
||||||
'tertiaryColor': '#ffffff',
|
|
||||||
'clusterBkg': '#f9f9fb',
|
|
||||||
'clusterBorder': '#000000',
|
|
||||||
'nodeBorder': '#000000',
|
|
||||||
'mainBkg': '#ffffff',
|
|
||||||
'edgeLabelBackground': '#ffffff'
|
|
||||||
}
|
|
||||||
}}%%
|
|
||||||
flowchart TB
|
flowchart TB
|
||||||
subgraph Client["Client Machine"]
|
subgraph Client["Client Machine"]
|
||||||
direction TB
|
direction TB
|
||||||
|
|||||||
@@ -801,22 +801,6 @@ Commit the updated `.secrets.baseline` once it reflects the intended state.
|
|||||||
## The Trust Hierarchy
|
## The Trust Hierarchy
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: {
|
|
||||||
'theme': 'base',
|
|
||||||
'themeVariables': {
|
|
||||||
'primaryColor': '#ffffff',
|
|
||||||
'primaryTextColor': '#000000',
|
|
||||||
'primaryBorderColor': '#000000',
|
|
||||||
'lineColor': '#000000',
|
|
||||||
'secondaryColor': '#f9f9fb',
|
|
||||||
'tertiaryColor': '#ffffff',
|
|
||||||
'clusterBkg': '#f9f9fb',
|
|
||||||
'clusterBorder': '#000000',
|
|
||||||
'nodeBorder': '#000000',
|
|
||||||
'mainBkg': '#ffffff',
|
|
||||||
'edgeLabelBackground': '#ffffff'
|
|
||||||
}
|
|
||||||
}}%%
|
|
||||||
flowchart TB
|
flowchart TB
|
||||||
A["Owner (Peter)"] -- Full trust --> B["AI (Clawd)"]
|
A["Owner (Peter)"] -- Full trust --> B["AI (Clawd)"]
|
||||||
B -- Trust but verify --> C["Friends in allowlist"]
|
B -- Trust but verify --> C["Friends in allowlist"]
|
||||||
|
|||||||
@@ -34,22 +34,6 @@ Start conservative:
|
|||||||
You want this:
|
You want this:
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init: {
|
|
||||||
'theme': 'base',
|
|
||||||
'themeVariables': {
|
|
||||||
'primaryColor': '#ffffff',
|
|
||||||
'primaryTextColor': '#000000',
|
|
||||||
'primaryBorderColor': '#000000',
|
|
||||||
'lineColor': '#000000',
|
|
||||||
'secondaryColor': '#f9f9fb',
|
|
||||||
'tertiaryColor': '#ffffff',
|
|
||||||
'clusterBkg': '#f9f9fb',
|
|
||||||
'clusterBorder': '#000000',
|
|
||||||
'nodeBorder': '#000000',
|
|
||||||
'mainBkg': '#ffffff',
|
|
||||||
'edgeLabelBackground': '#ffffff'
|
|
||||||
}
|
|
||||||
}}%%
|
|
||||||
flowchart TB
|
flowchart TB
|
||||||
A["<b>Your Phone (personal)<br></b><br>Your WhatsApp<br>+1-555-YOU"] -- message --> B["<b>Second Phone (assistant)<br></b><br>Assistant WA<br>+1-555-ASSIST"]
|
A["<b>Your Phone (personal)<br></b><br>Your WhatsApp<br>+1-555-YOU"] -- message --> B["<b>Second Phone (assistant)<br></b><br>Assistant WA<br>+1-555-ASSIST"]
|
||||||
B -- linked via QR --> C["<b>Your Mac (openclaw)<br></b><br>Pi agent"]
|
B -- linked via QR --> C["<b>Your Mac (openclaw)<br></b><br>Pi agent"]
|
||||||
|
|||||||
Reference in New Issue
Block a user