Significantly lightened all dark theme colors for reduced contrast: Background tones (lighter, softer): - waveform-bg: 16% (was 10% - too dark) - background: 18% (was 12% - lifted significantly) - card: 22% (was 15% - more visible) - muted: 25% (was 18% - lighter) - secondary: 28% (was 20% - softer) - accent: 30% (was 22% - warmer) - border: 32% (was 25% - more subtle) Foreground tones (softer, less harsh): - foreground: 78% (was 85% - reduced contrast) - card-foreground: 78% (was 85% - softer) - secondary-foreground: 75% (was 80% - gentler) - muted-foreground: 58% (was 60% - slightly muted) Color adjustments: - Reduced color intensity (0.14 vs 0.15) - Softer blue primary: oklch(68% 0.14 240) - More muted accent colors throughout Benefits: - Much softer, gentler appearance - Reduced contrast reduces eye strain - More comfortable for long editing sessions - Warmer, more inviting feel - Modern low-contrast aesthetic - Similar to VSCode's "Dark+" or Figma's dark mode The theme now has a beautiful, soft low-contrast aesthetic that's easy on the eyes while maintaining readability. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
358 lines
8.4 KiB
CSS
358 lines
8.4 KiB
CSS
@import "tailwindcss";
|
|
|
|
/* Source directives - scan components for Tailwind classes */
|
|
@source "../components/editor/*.{js,ts,jsx,tsx}";
|
|
@source "../components/effects/*.{js,ts,jsx,tsx}";
|
|
@source "../components/tracks/*.{js,ts,jsx,tsx}";
|
|
@source "../components/automation/*.{js,ts,jsx,tsx}";
|
|
@source "../components/analysis/*.{js,ts,jsx,tsx}";
|
|
@source "../components/recording/*.{js,ts,jsx,tsx}";
|
|
@source "../components/export/*.{js,ts,jsx,tsx}";
|
|
@source "../components/project/*.{js,ts,jsx,tsx}";
|
|
@source "../components/layout/*.{js,ts,jsx,tsx}";
|
|
@source "../components/ui/*.{js,ts,jsx,tsx}";
|
|
@source "*.{js,ts,jsx,tsx}";
|
|
|
|
/* Custom dark mode variant */
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
/* CSS Variables for theming */
|
|
@layer base {
|
|
:root {
|
|
/* Light mode colors using OKLCH - harmonized gray palette */
|
|
--background: oklch(96% 0.005 285.8);
|
|
--foreground: oklch(20% 0.015 285.8);
|
|
|
|
--card: oklch(98% 0.003 285.8);
|
|
--card-foreground: oklch(20% 0.015 285.8);
|
|
|
|
--popover: oklch(98% 0.003 285.8);
|
|
--popover-foreground: oklch(20% 0.015 285.8);
|
|
|
|
--primary: oklch(55% 0.15 240);
|
|
--primary-foreground: oklch(98% 0.003 285.8);
|
|
|
|
--secondary: oklch(92% 0.005 285.8);
|
|
--secondary-foreground: oklch(25% 0.015 285.8);
|
|
|
|
--muted: oklch(94% 0.005 285.8);
|
|
--muted-foreground: oklch(45% 0.01 285.9);
|
|
|
|
--accent: oklch(92% 0.005 285.8);
|
|
--accent-foreground: oklch(25% 0.015 285.8);
|
|
|
|
--destructive: oklch(55% 0.18 29.2);
|
|
--destructive-foreground: oklch(98% 0.003 285.8);
|
|
|
|
--border: oklch(88% 0.005 285.8);
|
|
--input: oklch(92% 0.005 285.8);
|
|
--ring: oklch(55% 0.15 240);
|
|
|
|
--radius: 0.5rem;
|
|
|
|
--success: oklch(55% 0.15 145);
|
|
--success-foreground: oklch(98% 0.003 285.8);
|
|
|
|
--warning: oklch(60% 0.15 85);
|
|
--warning-foreground: oklch(20% 0.015 285.8);
|
|
|
|
--info: oklch(60% 0.15 240);
|
|
--info-foreground: oklch(98% 0.003 285.8);
|
|
|
|
/* Audio-specific colors */
|
|
--waveform: oklch(55% 0.15 240);
|
|
--waveform-progress: oklch(55% 0.15 145);
|
|
--waveform-selection: oklch(60% 0.15 240);
|
|
--waveform-bg: oklch(99% 0.002 285.8);
|
|
}
|
|
|
|
.dark {
|
|
/* Dark mode colors using OKLCH - lighter, softer palette */
|
|
--background: oklch(18% 0.008 285.8);
|
|
--foreground: oklch(78% 0.005 285.8);
|
|
|
|
--card: oklch(22% 0.01 285.8);
|
|
--card-foreground: oklch(78% 0.005 285.8);
|
|
|
|
--popover: oklch(22% 0.01 285.8);
|
|
--popover-foreground: oklch(78% 0.005 285.8);
|
|
|
|
--primary: oklch(68% 0.14 240);
|
|
--primary-foreground: oklch(22% 0.01 285.8);
|
|
|
|
--secondary: oklch(28% 0.012 285.8);
|
|
--secondary-foreground: oklch(75% 0.005 285.8);
|
|
|
|
--muted: oklch(25% 0.01 285.8);
|
|
--muted-foreground: oklch(58% 0.008 285.9);
|
|
|
|
--accent: oklch(30% 0.012 285.8);
|
|
--accent-foreground: oklch(75% 0.005 285.8);
|
|
|
|
--destructive: oklch(58% 0.16 29.2);
|
|
--destructive-foreground: oklch(78% 0.005 285.8);
|
|
|
|
--border: oklch(32% 0.012 285.8);
|
|
--input: oklch(28% 0.012 285.8);
|
|
--ring: oklch(68% 0.14 240);
|
|
|
|
--success: oklch(62% 0.14 145);
|
|
--success-foreground: oklch(22% 0.01 285.8);
|
|
|
|
--warning: oklch(68% 0.14 85);
|
|
--warning-foreground: oklch(22% 0.01 285.8);
|
|
|
|
--info: oklch(66% 0.14 240);
|
|
--info-foreground: oklch(22% 0.01 285.8);
|
|
|
|
/* Audio-specific colors */
|
|
--waveform: oklch(68% 0.14 240);
|
|
--waveform-progress: oklch(62% 0.14 145);
|
|
--waveform-selection: oklch(68% 0.14 240);
|
|
--waveform-bg: oklch(16% 0.008 285.8);
|
|
}
|
|
}
|
|
|
|
/* Theme inline - map CSS variables to Tailwind colors */
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-card: var(--card);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-destructive: var(--destructive);
|
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
--color-border: var(--border);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--color-success: var(--success);
|
|
--color-success-foreground: var(--success-foreground);
|
|
--color-warning: var(--warning);
|
|
--color-warning-foreground: var(--warning-foreground);
|
|
--color-info: var(--info);
|
|
--color-info-foreground: var(--info-foreground);
|
|
--color-waveform: var(--waveform);
|
|
--color-waveform-progress: var(--waveform-progress);
|
|
--color-waveform-selection: var(--waveform-selection);
|
|
--color-waveform-bg: var(--waveform-bg);
|
|
|
|
--radius: var(--radius);
|
|
}
|
|
|
|
/* Global styles */
|
|
@layer base {
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
font-feature-settings: "rlig" 1, "calt" 1;
|
|
}
|
|
|
|
/* Apply custom scrollbar globally */
|
|
* {
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
|
background: var(--muted);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
background: color-mix(in oklch, var(--muted-foreground) 30%, transparent);
|
|
border-radius: 5px;
|
|
border: 2px solid var(--muted);
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background: color-mix(in oklch, var(--muted-foreground) 50%, transparent);
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:active {
|
|
background: color-mix(in oklch, var(--muted-foreground) 70%, transparent);
|
|
}
|
|
|
|
/* Scrollbar corners */
|
|
*::-webkit-scrollbar-corner {
|
|
background: var(--muted);
|
|
}
|
|
}
|
|
|
|
/* Custom animations */
|
|
@layer utilities {
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideInFromRight {
|
|
from {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateX(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
transform: translateY(-10px);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
transform: translateY(10px);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes scaleIn {
|
|
from {
|
|
transform: scale(0.95);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes pulseSubtle {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% {
|
|
background-position: -1000px 0;
|
|
}
|
|
100% {
|
|
background-position: 1000px 0;
|
|
}
|
|
}
|
|
|
|
@keyframes progress {
|
|
0% {
|
|
transform: translateX(-100%);
|
|
}
|
|
100% {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.animate-fadeIn {
|
|
animation: fadeIn 0.2s ease-out;
|
|
}
|
|
|
|
.animate-slideInFromRight {
|
|
animation: slideInFromRight 0.3s ease-out;
|
|
}
|
|
|
|
.animate-slideDown {
|
|
animation: slideDown 0.3s ease-out;
|
|
}
|
|
|
|
.animate-slideUp {
|
|
animation: slideUp 0.3s ease-out;
|
|
}
|
|
|
|
.animate-scaleIn {
|
|
animation: scaleIn 0.2s ease-out;
|
|
}
|
|
|
|
.animate-pulseSubtle {
|
|
animation: pulseSubtle 2s ease-in-out infinite;
|
|
}
|
|
|
|
.animate-shimmer {
|
|
animation: shimmer 2s linear infinite;
|
|
}
|
|
|
|
.animate-progress {
|
|
animation: progress 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
.animate-spin {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
}
|
|
|
|
/* Custom scrollbar */
|
|
@layer utilities {
|
|
.custom-scrollbar {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: color-mix(in oklch, var(--muted-foreground) 30%, transparent) var(--muted);
|
|
}
|
|
|
|
.custom-scrollbar::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
.custom-scrollbar::-webkit-scrollbar-track {
|
|
background: var(--muted);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.custom-scrollbar::-webkit-scrollbar-thumb {
|
|
background: color-mix(in oklch, var(--muted-foreground) 30%, transparent);
|
|
border-radius: 4px;
|
|
border: 2px solid var(--muted);
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
|
|
background: color-mix(in oklch, var(--muted-foreground) 50%, transparent);
|
|
}
|
|
|
|
.custom-scrollbar::-webkit-scrollbar-thumb:active {
|
|
background: color-mix(in oklch, var(--muted-foreground) 70%, transparent);
|
|
}
|
|
}
|