Skip to content

Commit 09c2d89

Browse files
committed
Change styling
1 parent 068463e commit 09c2d89

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

assets/graphs/kp916.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -197,25 +197,27 @@ HCCS0 --> IIC0
197197
HCCS2 --> IIC0
198198
199199
200-
%% ──────────────────────── Styling ────────────────────────
201-
classDef socket fill:#f5faff,stroke:#333,stroke-width:2px;
202-
classDef fabric fill:#f0fff0,stroke:#333,stroke-width:1px;
203-
classDef fabricAlt fill:#f0f0f0,stroke:#333,stroke-width:1px,stroke-dasharray:5;
204-
classDef cluster fill:#fff5e6,stroke:#333,stroke-width:1px;
205-
classDef l2 fill:#fff,stroke:#333,stroke-width:1px;
206-
classDef llc fill:#ffe6e6,stroke:#333,stroke-width:1px;
207-
classDef hccs fill:#e0ecff,stroke:#333,stroke-width:1px;
208-
classDef link fill:#d8e8ff,stroke:#333,stroke-width:1px;
209-
classDef io fill:#e6f0ff,stroke:#333,stroke-width:1px;
210-
classDef mem fill:#f2e6ff,stroke:#333,stroke-width:1px;
211-
classDef router fill:#eaeaea,stroke:#333,stroke-width:1px;
212-
classDef core stroke:#666,fill:#fff;
213-
200+
%% ───────────── styling – light & dark friendly ─────────────
201+
classDef socket fill:#dbeafe,stroke:#2563eb,stroke-width:2px; %% blue-200 / blue-600
202+
classDef fabric fill:#dcfce7,stroke:#16a34a,stroke-width:1px; %% green-200 / green-600
203+
classDef fabricAlt fill:#fef3c7,stroke:#d97706,stroke-width:1px,stroke-dasharray:5; %% amber-200 / amber-600
204+
classDef cluster fill:#fce7f3,stroke:#c026d3,stroke-width:1px; %% fuchsia-200 / fuchsia-600
205+
classDef l2 fill:#e0e7ff,stroke:#4f46e5,stroke-width:1px; %% indigo-200 / indigo-600
206+
classDef llc fill:#fee2e2,stroke:#dc2626,stroke-width:1px; %% red-200 / red-600
207+
classDef hccs fill:#e0f2fe,stroke:#0284c7,stroke-width:1px; %% sky-200 / sky-600
208+
classDef link fill:#f0f9ff,stroke:#0369a1,stroke-width:1px; %% cyan-100(ish) / cyan-700
209+
classDef io fill:#ede9fe,stroke:#7c3aed,stroke-width:1px; %% violet-200 / violet-600
210+
classDef mem fill:#f3e8ff,stroke:#8b5cf6,stroke-width:1px; %% purple-200 / purple-600
211+
classDef router fill:#e5e7eb,stroke:#374151,stroke-width:1px; %% gray-200 / gray-700
212+
classDef core fill:#ffffff,stroke:#4b5563,stroke-width:1px,fill-opacity:0.8; %% semi-white on both themes
213+
214+
/* Attach the classes (unchanged) */
214215
class Socket0 socket;
215216
class Fabric0 fabric;
216-
class Fabric1 fabric;
217+
class Fabric1 fabricAlt;
217218
class DDR0,DDR1,DDR2,DDR3 mem;
218219
class Cluster0,Cluster1,Cluster2,Cluster3,Cluster4,Cluster5,Cluster6,Cluster7 cluster;
219220
class L2CL0,L2CL1,L2CL2,L2CL3,L2CL4,L2CL5,L2CL6,L2CL7 l2;
220221
class LLC0,LLC1,LLC2,LLC3 llc;
222+
221223
```

0 commit comments

Comments
 (0)