businesslawrag / web /src /index.css
veltrixcode's picture
Upload 35 files
89096eb verified
Raw History Blame Contribute Delete
6.35 kB
@import "tailwindcss";
@plugin "@tailwindcss/typography";
@config "../tailwind.config.js";
/* ─── Apple SF Pro Font Families (CDN: https://sf-pro.kouzu.in) ─── */
@font-face {
font-family: 'SF Pro';
src: url('https://sf-pro.kouzu.in/SF-Pro.ttf') format('truetype');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro';
src: url('https://sf-pro.kouzu.in/SF-Pro-Italic.ttf') format('truetype');
font-weight: 100 900;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Display';
src: url('https://sf-pro.kouzu.in/SF-Pro-Display-Regular.otf') format('opentype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Display';
src: url('https://sf-pro.kouzu.in/SF-Pro-Display-Medium.otf') format('opentype');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Display';
src: url('https://sf-pro.kouzu.in/SF-Pro-Display-Semibold.otf') format('opentype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Display';
src: url('https://sf-pro.kouzu.in/SF-Pro-Display-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Text';
src: url('https://sf-pro.kouzu.in/SF-Pro-Text-Regular.otf') format('opentype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Text';
src: url('https://sf-pro.kouzu.in/SF-Pro-Text-Medium.otf') format('opentype');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Text';
src: url('https://sf-pro.kouzu.in/SF-Pro-Text-Semibold.otf') format('opentype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Rounded';
src: url('https://sf-pro.kouzu.in/SF-Pro-Rounded-Regular.otf') format('opentype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Rounded';
src: url('https://sf-pro.kouzu.in/SF-Pro-Rounded-Medium.otf') format('opentype');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Rounded';
src: url('https://sf-pro.kouzu.in/SF-Pro-Rounded-Semibold.otf') format('opentype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'SF Pro Rounded';
src: url('https://sf-pro.kouzu.in/SF-Pro-Rounded-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@layer base {
:root {
/* Claude Light Palette */
--colors-canvas: #faf9f5;
--colors-surface-soft: #f5f0e8;
--colors-surface-card: #efe9de;
--colors-surface-cream-strong: #e8e0d2;
--colors-surface-dark: #181715;
--colors-surface-dark-elevated: #252320;
--colors-surface-dark-soft: #1f1e1b;
--colors-hairline: #e6dfd8;
--colors-hairline-soft: #ebe6df;
--colors-primary: #cc785c;
--colors-primary-active: #a9583e;
--colors-primary-disabled: #e6dfd8;
--colors-accent-teal: #5db8a6;
--colors-accent-amber: #e8a55a;
--colors-ink: #141413;
--colors-body-strong: #252523;
--colors-body: #3d3d3a;
--colors-muted: #6c6a64;
--colors-muted-soft: #8e8b82;
--colors-on-primary: #ffffff;
--colors-on-dark: #faf9f5;
--colors-on-dark-soft: #a09d96;
--font-display: "Cormorant Garamond", "Instrument Serif", Garamond, "Times New Roman", serif;
--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, monospace;
--background: 40 30% 98%;
--foreground: 40 5% 10%;
--radius: 0.5rem;
}
.dark {
/* Claude Dark Palette (Exact match to screenshot: #191816, #201f1d, #2a2825, #ede8e1) */
--colors-canvas: #191816;
--colors-surface-soft: #141312;
--colors-surface-card: #201f1d;
--colors-surface-cream-strong: #2a2825;
--colors-surface-dark: #121110;
--colors-surface-dark-elevated: #262421;
--colors-surface-dark-soft: #1c1b18;
--colors-hairline: #2d2b27;
--colors-hairline-soft: #23221f;
--colors-primary: #d97757;
--colors-primary-active: #bf6143;
--colors-primary-disabled: #383531;
--colors-accent-teal: #5db8a6;
--colors-accent-amber: #e8a55a;
--colors-ink: #f0ebe1;
--colors-body-strong: #ded9d0;
--colors-body: #b8b3aa;
--colors-muted: #8c877e;
--colors-muted-soft: #635f58;
--colors-on-primary: #ffffff;
--colors-on-dark: #f0ebe1;
--colors-on-dark-soft: #8c877e;
--background: 24 6% 9%;
--foreground: 40 15% 94%;
}
}
html, body {
overflow-x: clip;
margin: 0;
padding: 0;
background-color: var(--colors-canvas);
color: var(--colors-ink);
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
transition: background-color 0.15s ease, color 0.15s ease;
}
/* Claude Copernicus / Tiempos serif display */
.font-display {
font-family: var(--font-display);
font-style: normal;
font-weight: 500;
letter-spacing: -0.025em;
overflow-wrap: anywhere;
min-width: 0;
}
.font-sans-body {
font-family: var(--font-sans);
letter-spacing: -0.01em;
}
.font-code {
font-family: var(--font-mono);
font-feature-settings: "zero" 1, "tnum" 1;
}
/* Subtle Claude canvas pattern */
.claude-ambient-bg {
background-color: var(--colors-canvas);
}
/* Custom Claude scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #d8d0c4;
border-radius: 9999px;
border: 1px solid rgba(0, 0, 0, 0.04);
}
::-webkit-scrollbar-thumb:hover {
background: #b8ac9c;
}
/* Warm text selection highlight */
::selection {
background-color: rgba(204, 120, 92, 0.22);
color: #141413;
}
@keyframes cursorBlink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
.animate-cursor {
display: inline-block;
width: 0.4em;
height: 1.05em;
vertical-align: -0.15em;
margin-left: 2px;
background-color: var(--colors-primary);
border-radius: 1px;
animation: cursorBlink 0.85s infinite;
}