Files
qbz/src/app.css
T
vicrodh 2275cffb2f fix(theme): replace light theme with Alucard and make NowPlayingBar theme-aware
- Replace harsh white light theme with Alucard (soft cream tones inspired by Dracula inverted)
- Replace all hardcoded colors in NowPlayingBar.svelte with CSS variables
- Now responds properly to theme changes (dark, light, OLED, warm)
2026-01-14 03:02:32 -06:00

134 lines
2.6 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400&display=swap');
:root {
/* QBZ Dark Theme Colors */
--bg-primary: #0f0f0f;
--bg-secondary: #1a1a1a;
--bg-tertiary: #2a2a2a;
--bg-hover: #1f1f1f;
--text-primary: #ffffff;
--text-secondary: #cccccc;
--text-muted: #888888;
--text-disabled: #555555;
--accent-primary: #4285F4;
--accent-hover: #5a9bf4;
--accent-active: #3275e4;
--border-subtle: #2a2a2a;
--border-strong: #3a3a3a;
/* Spacing System */
--spacing-micro: 4px;
--spacing-tight: 8px;
--spacing-default: 12px;
--spacing-component: 16px;
--spacing-section: 24px;
--spacing-large: 32px;
--spacing-page: 48px;
/* Typography */
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
--font-mono: 'JetBrains Mono', monospace;
}
/* Light Theme (Alucard - soft cream tones inspired by Dracula inverted) */
[data-theme="light"] {
--bg-primary: #F8F8F2;
--bg-secondary: #EEF0F5;
--bg-tertiary: #E2E5EB;
--bg-hover: #D8DCE5;
--text-primary: #282A36;
--text-secondary: #44475A;
--text-muted: #6272A4;
--text-disabled: #9CA3C0;
--accent-primary: #8B5CF6;
--accent-hover: #7C3AED;
--accent-active: #6D28D9;
--border-subtle: #D8DCE5;
--border-strong: #C8CCD5;
}
/* OLED Theme */
[data-theme="oled"] {
--bg-primary: #000000;
--bg-secondary: #0a0a0a;
--bg-tertiary: #1a1a1a;
--bg-hover: #111111;
}
/* Warm Theme */
[data-theme="warm"] {
--bg-primary: #1a1512;
--bg-secondary: #231d18;
--bg-tertiary: #2d2520;
--bg-hover: #28211c;
--accent-primary: #e89b5a;
--accent-hover: #f0ab6e;
--accent-active: #d88b4a;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
}
body {
font-family: var(--font-sans);
background-color: var(--bg-primary);
color: var(--text-primary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-track {
background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
background: var(--bg-tertiary);
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--border-strong);
}
/* Hide scrollbar for horizontal scroll containers */
.hide-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
/* Utility classes */
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tabular-nums {
font-variant-numeric: tabular-nums;
}