Stat-Box: gruener Border wenn at-scale (analog Hover-Akzent)

User: wenn die 2-stoeckige Massstab-Pille gruen ist (atScale=true), soll
auch der Border gruen sein — konsistent mit den anderen Hover/Active-
Akzenten in der Topbar.

Border: '1px solid border' → '1px solid (accent wenn atScale, sonst
border)'. Transition fuer smooth Wechsel beim Snap auf 100%.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-21 00:06:20 +02:00
parent 205c626a5a
commit 4a31652f78
+2 -1
View File
@@ -705,12 +705,13 @@ export default function OberleisteApp() {
width: STAT_W, height: BAR_H * 2 + 4,
background: atScale ? 'var(--accent-dim)' : 'var(--bg-input)',
color: atScale ? 'var(--accent-light)' : 'var(--text-primary)',
border: '1px solid var(--border)',
border: '1px solid ' + (atScale ? 'var(--accent)' : 'var(--border)'),
borderRadius: 14,
overflow: 'hidden',
fontFamily: 'DM Mono, monospace', fontSize: 11,
fontWeight: atScale ? 600 : 500,
flexShrink: 0,
transition: 'border-color 0.15s, background 0.15s',
}}>
<div style={{
height: BAR_H,