feat(windkarte): neuer Status entwurf_2_voraussichtlich (orange)
Deploy / verify (push) Successful in 56s
Deploy / deploy (push) Successful in 1m3s

Farbe #d4752a. Legende, Typ-Union, Übersetzungen ergänzt.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Peter Meier
2026-05-13 14:17:15 +02:00
parent ca742345f3
commit 7d4f52ba02
4 changed files with 11 additions and 4 deletions
+4 -3
View File
@@ -24,9 +24,10 @@
let buffering = $state(false);
const COLORS: Record<string, { fill: string; stroke: string }> = {
rechtskraeftig: { fill: "#2d7a45", stroke: "#1a4d28" },
entwurf_2: { fill: "#b08a52", stroke: "#6e5530" },
entwurf_3: { fill: "#436e85", stroke: "#264150" },
rechtskraeftig: { fill: "#2d7a45", stroke: "#1a4d28" },
entwurf_2: { fill: "#b08a52", stroke: "#6e5530" },
entwurf_2_voraussichtlich:{ fill: "#d4752a", stroke: "#8a4a18" },
entwurf_3: { fill: "#436e85", stroke: "#264150" },
};
function style(status: string, selected: boolean, hovered = false) {
@@ -135,6 +135,10 @@ let areas = $state<WindArea[]>([]);
<span class="inline-block size-2.5 rounded-sm" style="background:#b08a52; opacity:.7"></span>
{t(T.windkarte_legend_entwurf_2)}
</span>
<span class="flex items-center gap-1.5">
<span class="inline-block size-2.5 rounded-sm" style="background:#d4752a; opacity:.7"></span>
{t(T.windkarte_legend_entwurf_2_voraussichtlich)}
</span>
<span class="flex items-center gap-x-3 gap-y-1 flex-wrap text-stein-300">
<span class="text-stein-400">{t(T.windkarte_legend_distances)}</span>
{#each [{ color: "#e35651", label: "200 m" }, { color: "#b08a52", label: "600 m" }, { color: "#436e85", label: "1 km" }] as ring}