Replace font-bold, font-black, and font-semibold with font-normal throughout: - 26 component files - 1 CSS utility file (globals.css) - 291 total occurrences Text hierarchy now maintained through font-size differences only. All tests passing (291/291). Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
93 lines
2.0 KiB
CSS
93 lines
2.0 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Fira+Sans:wght@300;400;500;600;700&display=swap');
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
/* Dark Mode (OLED) - Improved Contrast Palette */
|
|
--background: #0A0E27;
|
|
--foreground: #F0F4F8;
|
|
--primary: #3B82F6;
|
|
--primary-foreground: #FFFFFF;
|
|
--font-code: 'Fira Code', monospace;
|
|
--font-sans: 'Fira Sans', sans-serif;
|
|
}
|
|
|
|
body {
|
|
color: var(--foreground);
|
|
background-color: var(--background);
|
|
font-family: var(--font-sans);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-code);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Custom Scrollbar Styling */
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #020617; /* slate-950 */
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #1e293b; /* slate-800 */
|
|
border-radius: 10px;
|
|
border: 2px solid #020617; /* adds padding effect */
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #334155; /* slate-700 */
|
|
}
|
|
|
|
/* Removed: glass-card utility (eliminated glassmorphism aesthetic) */
|
|
@layer utilities {
|
|
|
|
.text-fluid-lg {
|
|
font-size: clamp(1.125rem, 3cqi, 1.5rem);
|
|
}
|
|
|
|
.text-fluid-xl {
|
|
font-size: clamp(1.5rem, 5cqi, 2.25rem);
|
|
}
|
|
|
|
.card-title {
|
|
@apply text-base font-normal text-slate-100 tracking-tight;
|
|
}
|
|
|
|
.card-subtitle {
|
|
@apply text-xs font-normal text-slate-500 tracking-[0.08em] mt-0.5;
|
|
}
|
|
}
|
|
|
|
/* Safe Area Insets for Modern Mobile Devices (iOS Notch/Home Bar) */
|
|
.pb-safe {
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
.pt-safe {
|
|
padding-top: env(safe-area-inset-top);
|
|
}
|
|
|
|
/* Accessibility: Respect user's reduced motion preference */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
|
|
.animate-scan-fast,
|
|
.animate-spin-slow,
|
|
.animate-pulse {
|
|
animation: none !important;
|
|
}
|
|
}
|