GUI: dunkles Theme mit orangem Akzent, Ranking als Karten mit Tok/s, Logo und Icons, Start immer auf Benchmark

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-07 17:52:14 +01:00
parent ea4fb724d4
commit 0832b8c96f
26 changed files with 243 additions and 108 deletions

BIN
branding/logo-1024.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

15
branding/logo.svg Normal file
View File

@ -0,0 +1,15 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#ffb470"/>
<stop offset="1" stop-color="#ee8227"/>
</linearGradient>
</defs>
<rect x="32" y="32" width="960" height="960" rx="224" fill="url(#bg)"/>
<g fill="#1a1005">
<rect x="212" y="490" width="170" height="300" rx="44"/>
<rect x="427" y="340" width="170" height="450" rx="44"/>
<rect x="642" y="580" width="170" height="210" rx="44"/>
</g>
<circle cx="512" cy="245" r="46" fill="#1a1005"/>
</svg>

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 567 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 536 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 777 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1020 B

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 848 B

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -46,6 +46,9 @@ pub struct ModelRank {
pub successes: usize, pub successes: usize,
pub median_duration_ms: u128, pub median_duration_ms: u128,
pub mean_completion_tokens: f64, pub mean_completion_tokens: f64,
/// Median der Tokens pro Sekunde über die Läufe (Tokens geteilt durch die gesamte Laufzeit,
/// also inklusive Tool- und Prüfzeit, nicht die reine Erzeugungsgeschwindigkeit).
pub median_tps: Option<f64>,
} }
#[derive(Debug, Clone, PartialEq, Serialize)] #[derive(Debug, Clone, PartialEq, Serialize)]
@ -177,6 +180,16 @@ pub fn compute(batch_id: i64, all_runs: &[RunRecord], tasks: &BTreeMap<String, T
let mean_tokens = let mean_tokens =
rs.iter().map(|r| r.completion_tokens as f64).sum::<f64>() / rs.len() as f64; rs.iter().map(|r| r.completion_tokens as f64).sum::<f64>() / rs.len() as f64;
let mut tps: Vec<f64> = rs.iter().filter_map(|r| r.tps).filter(|t| t.is_finite()).collect();
tps.sort_by(|a, b| a.partial_cmp(b).unwrap_or(std::cmp::Ordering::Equal));
let median_tps = if tps.is_empty() {
None
} else if tps.len() % 2 == 1 {
Some(tps[tps.len() / 2])
} else {
Some((tps[tps.len() / 2 - 1] + tps[tps.len() / 2]) / 2.0)
};
ModelRank { ModelRank {
rank: 0, rank: 0,
model: model.to_string(), model: model.to_string(),
@ -187,6 +200,7 @@ pub fn compute(batch_id: i64, all_runs: &[RunRecord], tasks: &BTreeMap<String, T
successes: rs.iter().filter(|r| r.error_class == ErrorClass::Ok).count(), successes: rs.iter().filter(|r| r.error_class == ErrorClass::Ok).count(),
median_duration_ms: median_u128(&durations), median_duration_ms: median_u128(&durations),
mean_completion_tokens: mean_tokens, mean_completion_tokens: mean_tokens,
median_tps,
} }
}) })
.collect(); .collect();

View File

@ -1,15 +1,23 @@
:root { :root {
--bg: #f4f5f7; color-scheme: dark;
--surface: #ffffff; --bg: #0f1115;
--surface-2: #eef0f3; --bg-glow: rgba(255, 155, 69, 0.10);
--text: #1b1f24; --surface: #181b21;
--muted: #5d6673; --surface-2: #222630;
--border: #d8dce2; --text: #eceff4;
--accent: #2b6cb0; --muted: #9099a8;
--accent-text: #ffffff; --border: #2b303a;
--danger: #b3261e; --accent: #ff9b45;
--ok: #2e7d32; --accent-soft: rgba(255, 155, 69, 0.14);
--radius: 10px; --accent-text: #1a1005;
--danger: #ff7b72;
--ok: #6fd18a;
--gold: #ffcf5c;
--silver: #c3cad6;
--bronze: #d9915a;
--pct-l: 58%;
--radius: 14px;
--shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
font-size: 15px; font-size: 15px;
line-height: 1.5; line-height: 1.5;
@ -18,18 +26,26 @@
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: light) {
:root { :root {
--bg: #14171b; color-scheme: light;
--surface: #1d2127; --pct-l: 38%;
--surface-2: #272c34; --bg: #f6f3ef;
--text: #e6e9ed; --bg-glow: rgba(255, 155, 69, 0.16);
--muted: #98a2b0; --surface: #ffffff;
--border: #353b45; --surface-2: #f0ebe4;
--accent: #5b9bd5; --text: #1d1a17;
--accent-text: #0e1218; --muted: #6b645c;
--danger: #ff8a80; --border: #e2dbd2;
--ok: #7bc47f; --accent: #f08a2c;
--accent-soft: rgba(240, 138, 44, 0.14);
--accent-text: #ffffff;
--danger: #c0392b;
--ok: #2e8b57;
--gold: #d49a00;
--silver: #8a93a1;
--bronze: #b8691f;
--shadow: 0 6px 20px rgba(60, 40, 20, 0.10);
} }
} }
@ -39,7 +55,8 @@
body { body {
margin: 0; margin: 0;
background: var(--bg); min-height: 100vh;
background: radial-gradient(ellipse 70rem 28rem at 50% -8rem, var(--bg-glow), transparent), var(--bg);
color: var(--text); color: var(--text);
} }
@ -47,22 +64,23 @@ h1, h2, h3 {
line-height: 1.25; line-height: 1.25;
margin: 0 0 0.6rem; margin: 0 0 0.6rem;
} }
h2 { font-size: 1.15rem; } h2 { font-size: 1.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1rem; } h3 { font-size: 1rem; }
button { button {
font: inherit; font: inherit;
padding: 0.45rem 0.9rem; padding: 0.45rem 0.9rem;
border-radius: 8px; border-radius: 10px;
border: 1px solid var(--border); border: 1px solid var(--border);
background: var(--surface-2); background: var(--surface-2);
transition: border-color 0.12s, transform 0.12s, background 0.12s;
color: var(--text); color: var(--text);
cursor: pointer; cursor: pointer;
} }
button:hover:not(:disabled) { border-color: var(--accent); } button:hover:not(:disabled) { border-color: var(--accent); }
button:disabled { opacity: 0.5; cursor: not-allowed; } button:disabled { opacity: 0.5; cursor: not-allowed; }
button.primary { button.primary {
background: var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, white), var(--accent));
color: var(--accent-text); color: var(--accent-text);
border-color: var(--accent); border-color: var(--accent);
font-weight: 600; font-weight: 600;
@ -99,8 +117,9 @@ code, pre {
background: var(--surface); background: var(--surface);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: var(--radius); border-radius: var(--radius);
padding: 1rem 1.2rem; padding: 1.2rem 1.4rem;
margin-bottom: 1rem; margin-bottom: 1.1rem;
box-shadow: var(--shadow);
} }
.muted { color: var(--muted); } .muted { color: var(--muted); }
@ -115,6 +134,8 @@ code, pre {
background: var(--surface-2); background: var(--surface-2);
border: 1px solid var(--border); border: 1px solid var(--border);
} }
.chip.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); border-color: transparent; }
.chip.error { background: color-mix(in srgb, var(--danger) 16%, transparent); border-color: transparent; }
table { table {
width: 100%; width: 100%;
@ -134,3 +155,5 @@ th {
letter-spacing: 0.03em; letter-spacing: 0.03em;
} }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; } td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }

View File

@ -2,7 +2,8 @@
<html lang="de"> <html lang="de">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> <link rel="icon" type="image/svg+xml" href="%sveltekit.assets%/favicon.svg" />
<link rel="icon" type="image/png" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>coding-bench</title> <title>coding-bench</title>
%sveltekit.head% %sveltekit.head%

View File

@ -5,6 +5,7 @@
errorLabel, errorLabel,
fmtDuration, fmtDuration,
fmtPct, fmtPct,
fmtTps,
isInfrastructure, isInfrastructure,
groupLabel, groupLabel,
pctColor, pctColor,
@ -96,56 +97,52 @@
{#if loading}<p class="muted">Lade …</p>{/if} {#if loading}<p class="muted">Lade …</p>{/if}
{#if ranking && ranking.models.length > 0} {#if ranking && ranking.models.length > 0}
<div class="scroll"> <div class="board">
<table class="rank"> {#each ranking.models as m (m.model)}
<thead> <article class="mcard" class:top={m.rank <= 3} data-rank={m.rank}>
<tr> <div class="badge r{Math.min(m.rank, 4)}" aria-label="Platz {m.rank}">{m.rank}</div>
<th class="num">#</th> <div class="mhead">
<th>Modell</th> <h3 class="mname">{m.model}</h3>
<th class="total">Gesamt</th> <div class="stats">
{#each ranking.groups as g (g)} <span title="Bestandene Läufe">✔ {m.successes}/{m.runs}</span>
<th class="grp" title={groupLabel(g)}>{g}<br /><span class="gl">{groupLabel(g)}</span></th> <span title="Median der Laufzeit">⏱ {fmtDuration(m.median_duration_ms)}</span>
{/each} <span title="Tokens pro Sekunde: Tokens geteilt durch die gesamte Laufzeit eines Laufs, also inklusive Tool- und Prüfzeit. Nicht die reine Erzeugungsgeschwindigkeit.">⚡ {fmtTps(m.median_tps)}</span>
<th>Schwächster Bereich</th> <span title="Durchschnittlich erzeugte Tokens je Lauf">∅ {Math.round(m.mean_completion_tokens)} Tokens</span>
<th class="num">Bestanden</th> </div>
<th class="num">Median-Dauer</th> </div>
</tr> <div class="total">
</thead> <div class="pct big" style:color={pctColor(m.total_percent)}>{fmtPct(m.total_percent)}</div>
<tbody> <div class="label">Gesamt</div>
{#each ranking.models as m (m.model)} </div>
<tr> <div class="groups">
<td class="num">{m.rank}</td> {#each m.groups as g (g.group)}
<td><strong>{m.model}</strong></td> <div class="g" title={groupLabel(g.group)}>
<td class="total"> <div class="gtop">
<div class="pct big" style:color={pctColor(m.total_percent)}>{fmtPct(m.total_percent)}</div> <span><b>{g.group}</b> {groupLabel(g.group)}</span>
<div class="meter"><div style:width="{m.total_percent}%" style:background={pctColor(m.total_percent)}></div></div>
</td>
{#each m.groups as g (g.group)}
<td class="grp">
{#if g.percent === null} {#if g.percent === null}
<span class="muted">–</span> <span class="muted">–</span>
{:else} {:else}
<div class="pct" style:color={pctColor(g.percent)}>{fmtPct(g.percent)}</div> <span class="pct" style:color={pctColor(g.percent)}>{fmtPct(g.percent)}</span>
<div class="meter small"><div style:width="{g.percent}%" style:background={pctColor(g.percent)}></div></div>
<div class="n" class:few={g.tasks < FEW_TASKS} title={g.tasks < FEW_TASKS ? "Wenige Aufgaben: der Wert ist nur ein grober Hinweis." : ""}>
{g.tasks} Aufg.{g.tasks < FEW_TASKS ? " (grob)" : ""}
</div>
{/if} {/if}
</td> </div>
{/each} <div class="meter">
<td> {#if g.percent !== null}
{#if m.weakest_group} <div style:width="{g.percent}%" style:background={pctColor(g.percent)}></div>
{m.weakest_group} · {groupLabel(m.weakest_group)} {/if}
{:else} </div>
<span class="muted">–</span> {#if g.percent !== null}
<div class="n" class:few={g.tasks < FEW_TASKS} title={g.tasks < FEW_TASKS ? "Wenige Aufgaben: der Wert ist nur ein grober Hinweis." : ""}>
{g.tasks} Aufg.{g.tasks < FEW_TASKS ? " (grob)" : ""}
</div>
{/if} {/if}
</td> </div>
<td class="num">{m.successes} / {m.runs}</td> {/each}
<td class="num">{fmtDuration(m.median_duration_ms)}</td> </div>
</tr> {#if m.weakest_group}
{/each} <div class="weak">Schwächster Bereich: {m.weakest_group} · {groupLabel(m.weakest_group)}</div>
</tbody> {/if}
</table> </article>
{/each}
</div> </div>
{#if ranking.excluded_runs > 0} {#if ranking.excluded_runs > 0}
@ -291,42 +288,86 @@
overflow-x: auto; overflow-x: auto;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.rank td,
.rank th {
vertical-align: top;
}
.matrix th { .matrix th {
text-transform: none; text-transform: none;
} }
.rank .total { .board {
min-width: 7.5rem; display: grid;
gap: 0.9rem;
margin-bottom: 1.2rem;
} }
.rank .grp { .mcard {
min-width: 6rem; position: relative;
display: grid;
grid-template-columns: auto 1fr auto;
grid-template-areas:
"badge head total"
"groups groups groups"
"weak weak weak";
gap: 0.4rem 1rem;
align-items: center;
padding: 1rem 1.2rem;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 12px;
} }
.gl { .mcard[data-rank="1"] {
font-weight: 400; border-color: color-mix(in srgb, var(--gold) 60%, var(--border));
text-transform: none; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 10%, var(--surface-2)), var(--surface-2) 60%);
letter-spacing: 0;
} }
.badge {
grid-area: badge;
width: 2.6rem;
height: 2.6rem;
border-radius: 50%;
display: grid;
place-items: center;
font-weight: 800;
font-size: 1.15rem;
color: #1a1005;
background: var(--muted);
}
.badge.r1 { background: var(--gold); }
.badge.r2 { background: var(--silver); }
.badge.r3 { background: var(--bronze); }
.badge.r4 { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
.mhead { grid-area: head; min-width: 0; }
.mname { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.stats {
display: flex;
flex-wrap: wrap;
gap: 0.2rem 1rem;
color: var(--muted);
font-size: 0.85rem;
font-variant-numeric: tabular-nums;
}
.total { grid-area: total; text-align: right; }
.total .label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.groups {
grid-area: groups;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
gap: 0.7rem 1.2rem;
margin-top: 0.6rem;
}
.gtop { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; }
.gtop b { color: var(--accent); }
.weak { grid-area: weak; font-size: 0.8rem; color: var(--muted); }
.pct { .pct {
font-weight: 700; font-weight: 700;
font-variant-numeric: tabular-nums; font-variant-numeric: tabular-nums;
} }
.pct.big { .pct.big {
font-size: 1.6rem; font-size: 2.2rem;
line-height: 1.1; line-height: 1;
} }
.meter { .meter {
height: 7px; height: 7px;
background: var(--surface-2); background: var(--bg);
border-radius: 999px; border-radius: 999px;
overflow: hidden; overflow: hidden;
margin: 0.25rem 0; margin: 0.25rem 0;
} }
.meter.small {
height: 5px;
}
.meter > div { .meter > div {
height: 100%; height: 100%;
} }

View File

@ -65,6 +65,7 @@ export type ModelRank = {
successes: number; successes: number;
median_duration_ms: number; median_duration_ms: number;
mean_completion_tokens: number; mean_completion_tokens: number;
median_tps: number | null;
}; };
export type MatrixCell = { model: string; task_id: string; runs: number; successes: number; mean_score: number }; export type MatrixCell = { model: string; task_id: string; runs: number; successes: number; mean_score: number };
export type TaskColumn = { id: string; group: string }; export type TaskColumn = { id: string; group: string };
@ -142,7 +143,7 @@ export function groupLabel(g: string): string {
/** Farbe für einen Prozentwert: rot bei 0, gelb in der Mitte, grün bei 100. */ /** Farbe für einen Prozentwert: rot bei 0, gelb in der Mitte, grün bei 100. */
export function pctColor(p: number): string { export function pctColor(p: number): string {
const hue = Math.max(0, Math.min(100, p)) * 1.2; const hue = Math.max(0, Math.min(100, p)) * 1.2;
return `hsl(${hue} 60% 42%)`; return `hsl(${hue} 72% var(--pct-l, 56%))`;
} }
export function fmtPct(p: number | null): string { export function fmtPct(p: number | null): string {
@ -153,3 +154,7 @@ export function fmtDuration(ms: number): string {
const s = ms / 1000; const s = ms / 1000;
return s < 90 ? `${s.toFixed(1)} s` : `${Math.floor(s / 60)} min ${Math.round(s % 60)} s`; return s < 90 ? `${s.toFixed(1)} s` : `${Math.floor(s / 60)} min ${Math.round(s % 60)} s`;
} }
export function fmtTps(t: number | null): string {
return t === null ? "–" : `${t < 10 ? t.toFixed(1) : Math.round(t)} Tok/s`;
}

View File

@ -20,8 +20,6 @@
try { try {
[models, tasks, paths] = await Promise.all([api.models(), api.tasks(), api.paths()]); [models, tasks, paths] = await Promise.all([api.models(), api.tasks(), api.paths()]);
runtime = await api.runtime(); runtime = await api.runtime();
// Ohne Modell beginnt man bei den Einstellungen.
if (models.length === 0) tab = "settings";
} catch (e) { } catch (e) {
loadError = String(e); loadError = String(e);
} finally { } finally {
@ -43,7 +41,18 @@
<header> <header>
<div class="inner"> <div class="inner">
<span class="logo">coding-bench</span> <span class="logo">
<svg viewBox="0 0 1024 1024" width="28" height="28" aria-hidden="true">
<rect x="32" y="32" width="960" height="960" rx="224" fill="var(--accent)" />
<g fill="var(--accent-text)">
<rect x="212" y="490" width="170" height="300" rx="44" />
<rect x="427" y="340" width="170" height="450" rx="44" />
<rect x="642" y="580" width="170" height="210" rx="44" />
<circle cx="512" cy="245" r="46" />
</g>
</svg>
coding<b>-bench</b>
</span>
<nav> <nav>
{#each tabs as t (t.id)} {#each tabs as t (t.id)}
<button class="tab" class:active={tab === t.id} onclick={() => (tab = t.id)}>{t.label}</button> <button class="tab" class:active={tab === t.id} onclick={() => (tab = t.id)}>{t.label}</button>
@ -73,47 +82,59 @@
<style> <style>
header { header {
background: var(--surface); background: color-mix(in srgb, var(--bg) 82%, transparent);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border); border-bottom: 1px solid var(--border);
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 5; z-index: 5;
} }
.inner { .inner {
max-width: 62rem; max-width: 66rem;
margin: 0 auto; margin: 0 auto;
padding: 0 1rem; padding: 0.7rem 1rem;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 2rem; gap: 2rem;
} }
.logo { .logo {
display: inline-flex;
align-items: center;
gap: 0.55rem;
font-weight: 600;
font-size: 1.1rem;
letter-spacing: -0.01em;
}
.logo b {
color: var(--accent);
font-weight: 700; font-weight: 700;
letter-spacing: 0.01em; margin-left: -0.5rem;
} }
nav { nav {
display: flex; display: flex;
gap: 0.2rem; gap: 0.3rem;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 999px;
padding: 0.25rem;
} }
.tab { .tab {
border: none; border: none;
border-bottom: 3px solid transparent; border-radius: 999px;
border-radius: 0;
background: none; background: none;
padding: 0.9rem 1rem 0.75rem; padding: 0.4rem 1.1rem;
color: var(--muted); color: var(--muted);
} }
.tab:hover:not(:disabled) { .tab:hover:not(:disabled) {
color: var(--text); color: var(--text);
border-color: transparent;
} }
.tab.active { .tab.active {
color: var(--text); background: var(--accent-soft);
border-bottom-color: var(--accent); color: var(--accent);
font-weight: 600; font-weight: 600;
} }
main { main {
max-width: 62rem; max-width: 66rem;
margin: 0 auto; margin: 0 auto;
padding: 1.2rem 1rem 3rem; padding: 1.2rem 1rem 3rem;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

15
static/favicon.svg Normal file
View File

@ -0,0 +1,15 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#ffb470"/>
<stop offset="1" stop-color="#ee8227"/>
</linearGradient>
</defs>
<rect x="32" y="32" width="960" height="960" rx="224" fill="url(#bg)"/>
<g fill="#1a1005">
<rect x="212" y="490" width="170" height="300" rx="44"/>
<rect x="427" y="340" width="170" height="450" rx="44"/>
<rect x="642" y="580" width="170" height="210" rx="44"/>
</g>
<circle cx="512" cy="245" r="46" fill="#1a1005"/>
</svg>

After

Width:  |  Height:  |  Size: 626 B