Implement Lucide Vue icon system and UI improvements

- Replace emoji icons with professional SVG icons from Lucide Vue
- Add collapsible MusicControls with compact top-right collapse button
- Improve icon system with dynamic sizing and proper prop handling
- Disable SSR to prevent hydration issues with audio APIs
- Update IconButton to support both emoji strings and SVG components
- Optimize bottom positioning for expanded vs collapsed states
- Document new icon system in DESIGN_SYSTEM.md
This commit is contained in:
2025-08-03 20:01:31 -06:00
parent 25cd914be4
commit 7cb35b8c27
17 changed files with 3397 additions and 176 deletions

View File

@@ -1,4 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import './animations.css';
:root {
/* Light mode variables */
@@ -46,8 +47,8 @@ body {
font-family: 'Inter', sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
overflow-x: hidden;
min-height: 100vh;
overflow: hidden;
height: 100vh;
}
/* Glassmorphism effect */
@@ -58,6 +59,9 @@ body {
border: 1px solid var(--border-glass);
border-radius: 20px;
box-shadow: var(--shadow-glass);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.glass-strong {
@@ -67,6 +71,9 @@ body {
border: 1px solid var(--border-glass);
border-radius: 20px;
box-shadow: var(--shadow-glass);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
/* Aurora background animation */
@@ -143,26 +150,35 @@ body {
.btn {
background: var(--bg-glass);
backdrop-filter: blur(20px);
border: 1px solid var(--border-glass);
border: none;
border-radius: 12px;
color: var(--text-primary);
cursor: pointer;
transition: all 0.3s ease;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
padding: 12px 20px;
font-weight: 500;
box-shadow:
0 4px 12px rgba(0, 0, 0, 0.15),
0 2px 4px rgba(0, 0, 0, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.15),
inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}
.btn:hover {
background: var(--accent-primary);
color: white;
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
transform: translateY(-3px);
box-shadow:
0 8px 20px rgba(59, 130, 246, 0.4),
0 4px 8px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.2),
inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.btn-icon {
background: var(--bg-glass);
backdrop-filter: blur(20px);
border: 1px solid var(--border-glass);
border: none;
border-radius: 50%;
width: 48px;
height: 48px;
@@ -170,13 +186,22 @@ body {
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow:
0 4px 12px rgba(0, 0, 0, 0.15),
0 2px 4px rgba(0, 0, 0, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.15),
inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}
.btn-icon:hover {
background: var(--accent-primary);
transform: scale(1.1);
box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
transform: scale(1.1) translateY(-2px);
box-shadow:
0 8px 20px rgba(59, 130, 246, 0.4),
0 4px 8px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.2),
inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
/* Music player container */