feat(frontend): Kinetic Precision design system — new lime theme, glassmorphism, redesigned pages

- New design system: Stitch (kinetic-precision.css) with lime (#cafd00) accent
- New Google Fonts: Lexend, Plus Jakarta Sans, Space Grotesk
- New page: BenchmarksPage with strength/endurance/body tracking
- Redesigned: Dashboard, ProgressPage, WorkoutPage, LoginPage + LoginPage.css
- Add shared glassmorphism nav, kinetic buttons, intensity indicators
- Build: 265KB JS / 88KB CSS / 2.54s (clean)
This commit is contained in:
2026-04-27 08:49:07 +02:00
parent b6c39574c2
commit 1f2a892391
20 changed files with 2380 additions and 516 deletions
+66 -65
View File
@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
@@ -5,60 +7,61 @@
}
:root {
/* Dark fitness palette - refined */
--bg-primary: #0a0a0f;
--bg-secondary: #0d0d14;
--bg-tertiary: #12121a;
--bg-card: #16161f;
--bg-card-hover: #1c1c28;
--bg-elevated: #1a1a24;
--bg: #0a0a0f;
/* Kinetic Precision - Stitch Design System */
--bg-primary: #0e0e0e;
--bg-secondary: #131313;
--bg-tertiary: #1a1a1a;
--bg-card: #1a1a1a;
--bg-card-hover: #20201f;
--bg-elevated: #20201f;
--bg: #0e0e0e;
/* Text colors - better hierarchy */
--text-primary: #ffffff;
--text-secondary: #a1a1aa;
--text-muted: #71717a;
--text-tertiary: #52525b;
--text-secondary: #adaaaa;
--text-muted: #767575;
--text-tertiary: #484847;
--text: #ffffff;
/* Accent - refined energetic coral */
--accent: #ff6b4a;
--accent-hover: #ff8066;
--accent-subtle: rgba(255, 107, 74, 0.15);
--accent-glow: rgba(255, 107, 74, 0.25);
/* Primary: Electric Lime */
--accent: #cafd00;
--accent-hover: #beee00;
--accent-subtle: rgba(202, 253, 0, 0.12);
--accent-glow: rgba(202, 253, 0, 0.25);
--accent-on: #516700;
/* Status colors - refined */
--success: #22c55e;
--success-subtle: rgba(34, 197, 94, 0.15);
--warning: #f59e0b;
--warning-subtle: rgba(245, 158, 11, 0.15);
--error: #ef4444;
--error-subtle: rgba(239, 68, 68, 0.15);
/* Secondary: Orange */
--secondary: #ff7440;
--secondary-hover: #ff8c5a;
--secondary-subtle: rgba(255, 116, 64, 0.12);
--secondary-glow: rgba(255, 116, 64, 0.25);
/* Borders - refined */
--border: #1f1f2a;
--border-hover: #2a2a38;
--border-accent: var(--accent-subtle);
--success: #f3ffca;
--success-subtle: rgba(243, 255, 202, 0.12);
--warning: #ff7440;
--warning-subtle: rgba(255, 116, 64, 0.12);
--error: #ff7351;
--error-subtle: rgba(255, 115, 81, 0.15);
/* Shadows - key for enterprise feel */
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
--shadow-glow: 0 0 20px var(--accent-glow);
--shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
--shadow-elevated: 0 8px 16px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
--border: #1f1f1f;
--border-hover: #262626;
--border-accent: rgba(202, 253, 0, 0.2);
/* Workout type colors - refined */
--workout-push: #ef4444;
--workout-pull: #3b82f6;
--workout-legs: #22c55e;
--workout-shoulders: #f59e0b;
--workout-upper: #8b5cf6;
--workout-lower: #06b6d4;
--workout-default: #ff6b4a;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
--shadow-glow: 0 0 20px rgba(202, 253, 0, 0.3);
--shadow-card: 0 1px 3px rgba(0, 0, 0, 0.5);
--shadow-elevated: 0 8px 16px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
--workout-push: #ff7440;
--workout-pull: #f3ffca;
--workout-legs: #cafd00;
--workout-shoulders: #ff7440;
--workout-upper: #f3ffca;
--workout-lower: #beee00;
--workout-default: #cafd00;
/* Typography scale */
--font-xs: 0.75rem;
--font-sm: 0.875rem;
--font-base: 1rem;
@@ -67,7 +70,6 @@
--font-2xl: 1.5rem;
--font-3xl: 2rem;
/* Spacing scale */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
@@ -78,22 +80,20 @@
--space-10: 2.5rem;
--space-12: 3rem;
/* Transitions */
--transition-fast: 150ms ease;
--transition-base: 200ms ease;
--transition-slow: 300ms ease;
/* Border radius */
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 14px;
--radius-xl: 18px;
--radius-2xl: 24px;
--radius-sm: 4px;
--radius-md: 6px;
--radius-lg: 8px;
--radius-xl: 10px;
--radius-2xl: 12px;
--radius-full: 9999px;
}
html, body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
min-height: 100vh;
@@ -103,6 +103,7 @@ html, body {
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Lexend', sans-serif;
font-weight: 700;
line-height: 1.2;
}
@@ -277,13 +278,13 @@ input {
.auth-card button[type="submit"] {
padding: var(--space-4);
background: var(--accent);
color: white;
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
color: var(--accent-on);
border-radius: var(--radius-md);
font-size: var(--font-base);
font-weight: 600;
transition: all var(--transition-base);
box-shadow: 0 4px 12px rgba(255, 107, 74, 0.3);
box-shadow: 0 4px 12px rgba(202, 253, 0, 0.3);
position: relative;
overflow: hidden;
}
@@ -297,14 +298,14 @@ input {
}
.auth-card button[type="submit"]:hover:not(:disabled) {
background: var(--accent-hover);
background: linear-gradient(135deg, var(--accent-hover) 0%, #b0de00 100%);
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(255, 107, 74, 0.4);
box-shadow: 0 6px 20px rgba(202, 253, 0, 0.4);
}
.auth-card button[type="submit"]:active:not(:disabled) {
transform: translateY(0);
box-shadow: 0 2px 8px rgba(255, 107, 74, 0.3);
box-shadow: 0 2px 8px rgba(202, 253, 0, 0.3);
}
.auth-card button:disabled {
@@ -802,17 +803,17 @@ input {
}
.next-btn, .finish-btn {
background: var(--accent) !important;
color: white !important;
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%) !important;
color: var(--accent-on) !important;
font-weight: 600;
border: none !important;
box-shadow: 0 4px 12px rgba(255, 107, 74, 0.3);
box-shadow: 0 4px 12px rgba(202, 253, 0, 0.3);
}
.next-btn:hover:not(:disabled), .finish-btn:hover:not(:disabled) {
background: var(--accent-hover) !important;
background: linear-gradient(135deg, var(--accent-hover) 0%, #b0de00 100%) !important;
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(255, 107, 74, 0.4);
box-shadow: 0 6px 20px rgba(202, 253, 0, 0.4);
}
button:disabled {