CourtIQ / frontend /src /index.css
Ryan
initial commit
06c7838
Raw History Blame Contribute Delete
1.43 kB
@tailwind base;
@tailwind components;
@tailwind utilities;
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--team-accent: #818cf8; /* visible accent: brightened if team primary is too dark */
--team-primary-raw: #818cf8; /* exact team primary hex, used for low-opacity tints */
--team-transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
* { box-sizing: border-box; }
body {
background-color: #08080f;
color: #e8e8f8;
font-family: 'Inter', system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
}
/* scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0e0e1c; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--team-accent) 45%, #1a1a35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--team-accent); }
.positive { color: #34d399; }
.negative { color: #f87171; }
.neutral { color: #6b7280; }
/* card utility */
.card {
background: #0e0e1c;
border: 1px solid rgba(255,255,255,0.06);
border-radius: 14px;
}
/* table row hover */
.trow { transition: background 0.1s; }
.trow:hover { background: color-mix(in srgb, var(--team-primary-raw) 6%, transparent); }
/* accent glow for active elements */
.glow {
box-shadow: 0 0 20px color-mix(in srgb, var(--team-accent) 15%, transparent);
}