Skip to content

Commit 7277881

Browse files
committed
Change styling
1 parent 09c2d89 commit 7277881

File tree

1 file changed

+25
-13
lines changed

1 file changed

+25
-13
lines changed

assets/graphs/kp916.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -197,19 +197,31 @@ HCCS0 --> IIC0
197197
HCCS2 --> IIC0
198198
199199
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
200+
%% ───── Style palette: neutral mid-tones (light & dark friendly) ─────
201+
%% Socket outline
202+
classDef socket fill:#dbeafe,stroke:#1e3a8a,stroke-width:2px
203+
%% Coherent fabric – die 0
204+
classDef fabric fill:#dcfce7,stroke:#166534,stroke-width:1px
205+
%% Coherent fabric – die 1 (dashed)
206+
classDef fabricAlt fill:#fef9c3,stroke:#ca8a04,stroke-width:1px,stroke-dasharray:5
207+
%% Core clusters
208+
classDef cluster fill:#fce7f3,stroke:#9d174d,stroke-width:1px
209+
%% Shared L2 caches
210+
classDef l2 fill:#e0e7ff,stroke:#4338ca,stroke-width:1px
211+
%% LLC slices
212+
classDef llc fill:#fee2e2,stroke:#b91c1c,stroke-width:1px
213+
%% HCCS controller fabric
214+
classDef hccs fill:#e0f2fe,stroke:#0369a1,stroke-width:1px
215+
%% High-speed links (die-to-die / socket-to-socket)
216+
classDef link fill:#cffafe,stroke:#0e7490,stroke-width:1px
217+
%% IO blocks (PCIe, 10 GbE, peripheral ctrl)
218+
classDef io fill:#ede9fe,stroke:#6d28d9,stroke-width:1px
219+
%% DDR PHYs
220+
classDef mem fill:#f3e8ff,stroke:#7e22ce,stroke-width:1px
221+
%% CCN routers
222+
classDef router fill:#e5e7eb,stroke:#374151,stroke-width:1px
223+
%% Individual A72 cores (slightly transparent white)
224+
classDef core fill:#ffffff,stroke:#4b5563,stroke-width:1px,fill-opacity:0.85
213225
214226
/* Attach the classes (unchanged) */
215227
class Socket0 socket;

0 commit comments

Comments
 (0)