ace-step-webgpu / _source /src /index.css
shreyask's picture
Initial deploy: built app at root + source under _source/
24b9788 verified
@import "tailwindcss";
:root {
--bg: oklch(0.13 0.006 260);
--bg-elev: oklch(0.17 0.008 260);
--surface: oklch(0.22 0.01 260);
--border: oklch(0.28 0.01 260);
--text: oklch(0.95 0.005 260);
--text-muted: oklch(0.65 0.01 260);
--text-dim: oklch(0.45 0.008 260);
--accent: oklch(0.72 0.17 305);
--accent-glow: oklch(0.80 0.18 305);
--accent-soft: oklch(0.72 0.17 305 / 0.15);
--success: oklch(0.72 0.14 155);
--danger: oklch(0.65 0.2 22);
}
html, body, #root {
min-height: 100vh;
margin: 0;
}
body {
background: var(--bg);
color: var(--text);
font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
font-weight: 400;
letter-spacing: -0.005em;
-webkit-font-smoothing: antialiased;
}
code, pre, .font-mono {
font-family: "JetBrains Mono", ui-monospace, "Consolas", monospace;
}
/* Animated generation placeholder — pulse bars like ace-step-jam */
@keyframes wave-pulse {
0%, 100% { transform: scaleY(0.3); opacity: 0.2; }
50% { transform: scaleY(1); opacity: 0.6; }
}
@keyframes fade-in {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes soft-glow {
0%, 100% { box-shadow: 0 0 20px oklch(0.72 0.17 305 / 0.2); }
50% { box-shadow: 0 0 40px oklch(0.72 0.17 305 / 0.5); }
}
.pulse-bar {
animation: wave-pulse 1.2s ease-in-out infinite;
transform-origin: bottom;
}
.fade-in {
animation: fade-in 0.3s ease-out;
}
.glow {
animation: soft-glow 2s ease-in-out infinite;
}
/* Range slider styling */
input[type="range"] {
-webkit-appearance: none;
appearance: none;
background: transparent;
cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
height: 4px;
background: var(--border);
border-radius: 4px;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
height: 16px;
width: 16px;
background: var(--accent);
border-radius: 50%;
margin-top: -6px;
box-shadow: 0 0 12px oklch(0.72 0.17 305 / 0.4);
}
input[type="range"]:focus { outline: none; }
/* Scrollbar in textareas */
textarea::-webkit-scrollbar { width: 6px; }
textarea::-webkit-scrollbar-track { background: transparent; }
textarea::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
textarea::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }