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
+170
View File
@@ -0,0 +1,170 @@
/* ============================================
Kinetic Precision - Stitch Design System
Shared component styles
============================================ */
/* Glassmorphism nav */
.glass-nav {
background: rgba(26, 26, 26, 0.7);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
/* Kinetic button - lime gradient */
.btn-kinetic {
background: linear-gradient(135deg, #cafd00 0%, #beee00 100%);
color: #516700;
font-family: 'Plus Jakarta Sans', sans-serif;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
border: none;
border-radius: 6px;
padding: 0.75rem 1.5rem;
cursor: pointer;
transition: all 150ms ease;
box-shadow: 0 4px 16px rgba(202, 253, 0, 0.3);
}
.btn-kinetic:hover {
transform: translateY(-1px);
box-shadow: 0 6px 24px rgba(202, 253, 0, 0.4);
}
.btn-kinetic:active {
transform: translateY(0);
box-shadow: 0 2px 8px rgba(202, 253, 0, 0.3);
}
/* Intensity indicator bar */
.intensity-bar-lime {
position: relative;
}
.intensity-bar-lime::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 4px;
background: #cafd00;
border-radius: 4px 0 0 4px;
}
.intensity-bar-orange {
position: relative;
}
.intensity-bar-orange::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 4px;
background: #ff7440;
border-radius: 4px 0 0 4px;
}
/* Glow progress ring */
.progress-ring-glow {
filter: drop-shadow(0 0 8px rgba(202, 253, 0, 0.5));
}
/* Data label - Space Grotesk */
.data-label {
font-family: 'Space Grotesk', monospace;
font-size: 0.75rem;
letter-spacing: 0.05em;
color: #adaaaa;
text-transform: uppercase;
}
.data-value {
font-family: 'Lexend', sans-serif;
font-weight: 700;
color: #cafd00;
}
/* Section separator via background shift (no borders) */
.surface-low { background: #131313; }
.surface-mid { background: #1a1a1a; }
.surface-high { background: #20201f; }
/* Progress bar */
.progress-bar-track {
width: 100%;
height: 6px;
background: #262626;
border-radius: 3px;
overflow: hidden;
}
.progress-bar-fill {
height: 100%;
background: linear-gradient(90deg, #cafd00 0%, #beee00 100%);
border-radius: 3px;
transition: width 400ms ease;
box-shadow: 0 0 8px rgba(202, 253, 0, 0.4);
}
.progress-bar-fill.secondary {
background: linear-gradient(90deg, #ff7440 0%, #ff8c5a 100%);
box-shadow: 0 0 8px rgba(255, 116, 64, 0.4);
}
/* Benchmark card */
.benchmark-card {
background: #1a1a1a;
border-radius: 8px;
padding: 1rem 1.25rem;
position: relative;
overflow: hidden;
}
/* Stat chip - Space Grotesk number display */
.stat-chip {
display: inline-flex;
align-items: baseline;
gap: 0.25rem;
}
.stat-chip .stat-number {
font-family: 'Lexend', sans-serif;
font-weight: 700;
font-size: 1.5rem;
color: #cafd00;
}
.stat-chip .stat-unit {
font-family: 'Space Grotesk', monospace;
font-size: 0.75rem;
color: #767575;
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* Goal badge */
.goal-badge {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.25rem 0.625rem;
border-radius: 4px;
font-family: 'Space Grotesk', monospace;
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.goal-badge.active {
background: rgba(202, 253, 0, 0.12);
color: #cafd00;
}
.goal-badge.secondary {
background: rgba(255, 116, 64, 0.12);
color: #ff7440;
}