Skip to content
Merged
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
2 changes: 1 addition & 1 deletion docs/docs/writing-tests/lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ flowchart TB

T0 --> T0a --> T0b --> T1 --> T2 --> T3 --> T4 --> T5 --> T6 --> T7

style T0b fill:#fff3e0,stroke:#ef6c00,color:#e65100
style T0b fill:#fff3e0,stroke:#ef6c00,color:#9a3412
style T3 fill:#c8e6c9,stroke:#2e7d32,color:#1b5e20
style T6 fill:#ffcdd2,stroke:#c62828,color:#b71c1c
```
Expand Down
6 changes: 6 additions & 0 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ body {
color: var(--text-body);
}

/* Mermaid assigns node text colours on a parent element. Keep labels inheriting
those colours instead of applying the global dark-mode paragraph colour. */
[data-theme='dark'] .docusaurus-mermaid-container .nodeLabel p {
color: inherit;
}

/* Better code block contrast */
[data-theme='dark'] code {
background: rgba(20, 184, 166, 0.15) !important;
Expand Down
Loading