Skip to content

Commit 53eed63

Browse files
author
mariuste
authored
Enhance styles for device categories in wiring.d2
1 parent e6c3ef5 commit 53eed63

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

Elektronik/Wiring_Plan/wiring.d2

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,24 @@ classes: {
2525
# Geräte-Kategorien
2626
core_component: {
2727
shape: rectangle
28-
style: { stroke: "#ff0000"; stroke-width: 4 } # Roter Rahmen
28+
style: {
29+
stroke: "#ff0000"; stroke-width: 4
30+
fill: "#fff2f2" # Sehr helles Rot
31+
}
2932
}
3033
complex_device: {
3134
shape: rectangle
32-
style: { stroke: "#0000ff"; stroke-width: 3 } # Blauer Rahmen
35+
style: {
36+
stroke: "#0000ff"; stroke-width: 3
37+
fill: "#f2f7ff" # Sehr helles Blau
38+
}
3339
}
3440
end_device: {
3541
shape: rectangle
36-
style: { stroke: "#000000"; stroke-width: 2 } # Schwarzer Rahmen
42+
style: {
43+
stroke: "#000000"; stroke-width: 2
44+
fill: "#ffffff" # Weißer Hintergrund
45+
}
3746
}
3847
}
3948

0 commit comments

Comments
 (0)