also looking at this
Harden AnalyticsHQ release and dashboard quality
#52
34 files
+1236
-340
| @@ -87,14 +87,14 @@ onMount(() => { | ||
| 87 | 87 | |
| 88 | 88 | {{-- Tokens, body and .wordmark now come from resources/layouts/app.stx, which carries |
| 89 | 89 | the superset of what this page and the dashboard each had. What stays is what only |
| 90 | this page uses. It is pushed rather than left loose because a loose <style> under a | |
| 90 | this page uses. It is pushed rather than left loose because a loose style block under a | |
| 91 | 91 | layout gets swept out of the page and appended after the content, in the body. --}} |
| 92 | 92 | @push('styles') |
| 93 | 93 | <style> |
| 94 | 94 | .card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; } |
| 95 | 95 | .btn { border-radius: 10px; transition: transform 0.12s ease, opacity 0.15s ease, background-color 0.15s ease; font-weight: 600; } |
| 96 | 96 | .btn:active { transform: translateY(1px); } |
| 97 | .btn-primary { background: var(--accent); color: #fff; } | |
| 97 | .btn-primary { background: var(--accent); color: var(--accent-ink); } | |
| 98 | 98 | .btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); } |
| 99 | 99 | .btn-ghost { border: 1px solid var(--border); color: var(--text); } |
| 100 | 100 | .btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); } |
| @@ -118,7 +118,7 @@ onMount(() => { | ||
| 118 | 118 | </div> |
| 119 | 119 | </header> |
| 120 | 120 | |
| 121 | {{-- A <div>, not <main>: the layout owns the single router container. Same classes. --}} | |
| 121 | {{-- A div rather than another main: the layout owns the single router container. Same classes. --}} | |
| 122 | 122 | <div class="mx-auto px-5 py-8 md:px-6 max-w-3xl"> |
| 123 | 123 | <h1 class="mb-6 text-2xl wordmark">Account</h1> |
| 124 | 124 | |