Skip to content

Commit 1c54296

Browse files
committed
docs: fix diagram and code visibility in light/dark modes
- Remove hardcoded Mermaid diagram colors for auto-theme adaptation - Add dark mode inline code styling (light text on dark background) Diagrams now render correctly in both light and dark modes. Inline code is readable regardless of theme.
1 parent d0f92e9 commit 1c54296

6 files changed

Lines changed: 6 additions & 16 deletions

File tree

docs/auto-update.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ flowchart LR
2020
verify --> launch["Launch installer"]
2121
end
2222
23-
style build fill:#0f3460,stroke:#16213e,color:#e0e0e0
24-
style host fill:#533483,stroke:#16213e,color:#e0e0e0
2523
```
2624

2725
!!! tip "Try it yourself"

docs/ci-cd.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ flowchart TB
3333
macos_sign --> publish["Publish — GitHub Release\n+ Update YML metadata"]
3434
msix --> publish
3535
36-
style tag fill:#e94560,stroke:#16213e,color:#e0e0e0
37-
style build fill:#1a1a2e,stroke:#16213e,color:#e0e0e0
38-
style publish fill:#0f3460,stroke:#16213e,color:#e0e0e0
3936
```
4037

4138
## `setup-nucleus` Action

docs/graalvm/automatic-metadata.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ flowchart LR
6161
serial --> out
6262
callback --> out
6363
64-
style scan fill:#0f3460,stroke:#16213e,color:#e0e0e0
65-
style out fill:#533483,stroke:#16213e,color:#e0e0e0
6664
```
6765

6866
## Level 5 — Generic cross-platform metadata
@@ -94,10 +92,6 @@ flowchart TB
9492
-H:ConfigurationFileDirectories=...`"]
9593
NI --> bin["Native binary"]
9694
97-
style build fill:#1a1a2e,stroke:#16213e,color:#e0e0e0
98-
style merge fill:#0f3460,stroke:#16213e,color:#e0e0e0
99-
style NI fill:#533483,stroke:#16213e,color:#e0e0e0
100-
style bin fill:#e94560,stroke:#16213e,color:#e0e0e0
10195
```
10296

10397
All of this happens transparently — no manual steps required. The result is that **most applications compile and run as native images without any manual reflection configuration**.

docs/native-access/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ flowchart TB
1515
B --> C["Your JVM code calls it like normal Kotlin"]
1616
1717
B@{ shape: rect }
18-
19-
style B fill:#0f3460,stroke:#16213e,color:#e0e0e0
2018
```
2119

2220
The plugin:

docs/runtime/notification-windows.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ graph TB
122122
inputs --> textbox["ToastTextBox"]
123123
inputs --> selbox["ToastSelectionBox"]
124124
125-
style TC fill:#0f3460,stroke:#16213e,color:#e0e0e0
126-
style visual fill:#533483,stroke:#16213e,color:#e0e0e0
127-
style actions fill:#533483,stroke:#16213e,color:#e0e0e0
128125
```
129126

130127
### Data Types

docs/stylesheets/extra.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@
5353
.md-social {
5454
display: none;
5555
}
56+
57+
/* Inline code readability in dark mode */
58+
[data-md-color-scheme="slate"] .md-typeset code {
59+
background-color: #1e293b;
60+
color: #e2e8f0;
61+
}

0 commit comments

Comments
 (0)