diff --git a/src/app.css b/src/app.css index 7802b19..e720289 100644 --- a/src/app.css +++ b/src/app.css @@ -1,20 +1,47 @@ :root { color-scheme: dark; - --bg: #16181d; - --bg-card: #1e2127; - --fg: #e8e6e3; - --fg-muted: #9aa0a8; - --accent: #c2762f; - --error: #d4645c; - --ok: #6fa06b; - --border: #2a2e36; + /* Farbsystem angelehnt an llm-arena */ + --bg: #0f1115; + --bg-glow: rgba(255, 155, 69, 0.10); + --bg-card: #181b21; + --bg-card-2: #222630; + --fg: #eceff4; + --fg-muted: #9099a8; + --accent: #ff9b45; + --accent-soft: rgba(255, 155, 69, 0.14); + --accent-text: #1a1005; + --error: #ff7b72; + --ok: #6fd18a; + --radius: 12px; + --shadow: 0 6px 24px rgba(0, 0, 0, 0.35); + --border: #2b303a; +} + +@media (prefers-color-scheme: light) { + :root { + color-scheme: light; + --bg: #f6f3ef; + --bg-glow: rgba(255, 155, 69, 0.16); + --bg-card: #ffffff; + --bg-card-2: #f0ebe4; + --fg: #1d1a17; + --fg-muted: #6b645c; + --accent: #f08a2c; + --accent-soft: rgba(240, 138, 44, 0.14); + --accent-text: #ffffff; + --error: #c0392b; + --ok: #2e8b57; + --border: #e2dbd2; + --shadow: 0 6px 20px rgba(60, 40, 20, 0.10); + } } body { 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(--fg); - font-family: system-ui, sans-serif; + font-family: Inter, "Segoe UI", system-ui, sans-serif; font-size: 14px; } @@ -120,7 +147,7 @@ button.primary, .overlay { position: absolute; inset: 0; - background: rgba(10, 12, 15, 0.62); + background: rgba(8, 9, 12, 0.6); display: flex; align-items: flex-end; justify-content: flex-end; @@ -131,7 +158,7 @@ button.primary, color: #fff; font-size: 0.85rem; font-weight: 600; - background: rgba(10, 12, 15, 0.5); + background: rgba(8, 9, 12, 0.45); border-radius: 4px; padding: 0.05rem 0.4rem; } @@ -198,11 +225,11 @@ button.activechip { .card { background: var(--bg-card); border: 1px solid var(--border); - border-radius: 8px; + border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; -} + box-shadow: var(--shadow); .cover { aspect-ratio: 1 / 1; @@ -406,7 +433,7 @@ code { z-index: 6; max-height: 12rem; overflow: auto; - box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); + box-shadow: var(--shadow); } .bmrow { @@ -522,7 +549,7 @@ code { overflow: auto; background: var(--bg-card); border: 1px solid var(--border); - border-radius: 10px; + border-radius: var(--radius); padding: 1.2rem 1.4rem; z-index: 9; }