pulsecam / frontend /src /index.css
volfiros
fix: improve BPM accuracy with first-peak autocorrelation and bandpass fix
d78fd96
Raw History Blame Contribute Delete
3.11 kB
@import "tailwindcss";
@theme inline {
--color-background: #0f172a;
--color-bg-card: #1e293b;
--color-accent: #10b981;
--color-accent-glow: #34d399;
--color-accent-dim: rgba(16, 185, 129, 0.08);
--color-text: #f8fafc;
--color-text-secondary: #a1a1aa;
--color-text-muted: #52525b;
--color-danger: #ef4444;
--color-warning: #f59e0b;
--font-sans: "Outfit", system-ui, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, monospace;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--font-sans);
background-color: var(--color-background);
color: var(--color-text);
overflow: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
::selection {
background: rgba(16, 185, 129, 0.2);
}
.surface {
background: rgba(30, 41, 59, 0.25);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
}
.btn-cta {
padding: 10px 28px;
border: none;
border-radius: 8px;
font-family: var(--font-sans);
font-weight: 600;
font-size: 14px;
color: #ffffff;
cursor: pointer;
background: #10b981;
transition: background 150ms ease, opacity 150ms ease;
}
.btn-cta:hover {
background: #059669;
}
.btn-cta:active {
opacity: 0.9;
}
.btn-accent {
padding: 10px 28px;
background: rgba(16, 185, 129, 0.1);
border: 1px solid rgba(16, 185, 129, 0.3);
border-radius: 8px;
color: #10b981;
font-family: var(--font-sans);
font-weight: 600;
font-size: 14px;
transition: background 150ms ease;
}
.btn-accent:hover {
background: rgba(16, 185, 129, 0.2);
}
.btn-ghost {
padding: 10px 28px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 8px;
color: rgba(255, 255, 255, 0.5);
font-family: var(--font-sans);
font-weight: 600;
font-size: 14px;
transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn-ghost:hover {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.15);
color: #ffffff;
}
.label-secondary {
font-family: var(--font-mono);
font-size: 12px;
color: var(--color-text-muted);
}
.glass {
background: rgba(30, 41, 59, 0.95);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.t-page-slide {
--p-page-slide-duration: 0.5s;
--p-page-slide-easing: cubic-bezier(0.4, 0, 0.2, 1);
--p-page-slide-x: 100%;
}
.t-page-slide-enter {
transform: translateX(var(--p-page-slide-x));
opacity: 0;
}
.t-page-slide-enter-active {
transform: translateX(0);
opacity: 1;
transition: transform var(--p-page-slide-duration) var(--p-page-slide-easing),
opacity var(--p-page-slide-duration) var(--p-page-slide-easing);
}
.t-page-slide-exit {
transform: translateX(0);
opacity: 1;
}
.t-page-slide-exit-active {
transform: translateX(calc(-1 * var(--p-page-slide-x)));
opacity: 0;
transition: transform var(--p-page-slide-duration) var(--p-page-slide-easing),
opacity var(--p-page-slide-duration) var(--p-page-slide-easing);
}