From 439d86ecdc82916976e36c9e0b2a7d27b5cc8bef Mon Sep 17 00:00:00 2001 From: = Date: Sat, 11 Apr 2026 19:38:19 -0400 Subject: [PATCH] feat(ui): modernize aesthetics and layout spacing --- src/app/components/dashboard/dashboard.css | 51 ++++++++++++++-------- src/app/components/login/login.css | 11 ++--- src/styles.css | 8 ++++ 3 files changed, 46 insertions(+), 24 deletions(-) diff --git a/src/app/components/dashboard/dashboard.css b/src/app/components/dashboard/dashboard.css index 9288d76..9e382dc 100644 --- a/src/app/components/dashboard/dashboard.css +++ b/src/app/components/dashboard/dashboard.css @@ -26,7 +26,7 @@ .hero { background: #050505; color: #f7f7f7; - padding: 28px 32px 44px; + padding: 40px 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); } @@ -40,9 +40,10 @@ .brand { display: inline-flex; align-items: center; - gap: 10px; - font-size: 30px; - font-weight: 700; + gap: 12px; + font-size: 28px; + font-weight: 800; + letter-spacing: -0.02em; } .brand-icon { @@ -75,7 +76,7 @@ .hero-copy h1 { margin: 0 0 10px; - font-size: 42px; + font-size: 32px; line-height: 1.1; } @@ -87,9 +88,9 @@ } .content { - max-width: 1200px; + max-width: 1280px; margin: 0 auto; - padding: 30px 32px 40px; + padding: 24px 48px 80px; } .signals-section { @@ -101,7 +102,7 @@ justify-content: space-between; align-items: center; gap: 16px; - margin-bottom: 18px; + margin-bottom: 40px; } .section-header h2 { @@ -147,20 +148,30 @@ .workspace-list { display: grid; - grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); - gap: 16px; + grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); + gap: 24px; } .workspace-card { background: #ffffff; - border: 1px solid #e2e2e2; - border-radius: 12px; - padding: 18px; + border: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 16px; + padding: 32px; + transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); +} + +.workspace-card:hover { + transform: translateY(-4px); + box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.12); + border-color: rgba(0, 0, 0, 0.15); } .workspace-card h3 { margin: 0 0 8px; font-size: 20px; + font-weight: 700; + letter-spacing: -0.01em; } .workspace-card p { @@ -185,12 +196,14 @@ display: inline-flex; align-items: center; border-radius: 8px; - border: 1px solid #d0d0d0; - padding: 7px 12px; + border: 1px solid transparent; + padding: 9px 16px; font-size: 13px; + font-weight: 600; cursor: pointer; - background: #fff; + background: #f7f7f7; color: #111; + transition: all 0.15s ease; } .open-btn { @@ -216,10 +229,10 @@ } .empty-state { - border: 1px dashed #bcbcbc; - border-radius: 12px; + border: 1px solid rgba(0, 0, 0, 0.08); + border-radius: 16px; background: #fff; - padding: 26px; + padding: 48px 32px; text-align: center; } diff --git a/src/app/components/login/login.css b/src/app/components/login/login.css index 87539da..40dab63 100644 --- a/src/app/components/login/login.css +++ b/src/app/components/login/login.css @@ -209,7 +209,7 @@ h1 { .auth-tab.active { background: var(--bg); color: var(--fg); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); + box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } .form-section { @@ -243,14 +243,15 @@ h1 { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; - background: var(--bg); - color: var(--fg); + background: #ffffff; + color: #000000; + transition: all 0.2s ease; } .input-field:focus { outline: none; - border-color: var(--fg); - box-shadow: 0 0 0 3px var(--subtle); + border-color: #000000; + box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05); } .input-field.error { diff --git a/src/styles.css b/src/styles.css index 53f96eb..6c568d1 100644 --- a/src/styles.css +++ b/src/styles.css @@ -3,6 +3,9 @@ body { margin: 0; padding: 0; min-height: 100%; + font-family: 'Inter', system-ui, -apple-system, sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } *, @@ -10,3 +13,8 @@ body { *::after { box-sizing: border-box; } + +:focus-visible { + outline: 2px solid #000; + outline-offset: 2px; +}