Mega push vol 4
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Tilt+Warp&family=Work+Sans:wght@400;500;600;700&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Tilt+Warp&family=Work+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');
|
||||
@import 'tailwindcss';
|
||||
@plugin '@tailwindcss/forms';
|
||||
@plugin '@tailwindcss/typography';
|
||||
@@ -26,8 +27,26 @@
|
||||
/* Typography - Figma Fonts */
|
||||
--font-heading: 'Tilt Warp', sans-serif;
|
||||
--font-body: 'Work Sans', sans-serif;
|
||||
--font-input: 'Inter', sans-serif;
|
||||
--font-sans: 'Work Sans', system-ui, -apple-system, sans-serif;
|
||||
|
||||
/* Font Sizes - Figma Text Styles (--text-* → text-* utilities) */
|
||||
/* Headings (heading font) */
|
||||
--text-h1: 32px;
|
||||
--text-h2: 28px;
|
||||
--text-h3: 24px;
|
||||
--text-h4: 20px;
|
||||
--text-h5: 16px;
|
||||
--text-h6: 14px;
|
||||
/* Button text (heading font) */
|
||||
--text-btn-lg: 20px;
|
||||
--text-btn-md: 16px;
|
||||
--text-btn-sm: 14px;
|
||||
/* Body text (body font) */
|
||||
--text-body: 16px;
|
||||
--text-body-md: 14px;
|
||||
--text-body-sm: 12px;
|
||||
|
||||
/* Border Radius - Figma Design */
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 16px;
|
||||
@@ -37,127 +56,44 @@
|
||||
--radius-circle: 128px;
|
||||
}
|
||||
|
||||
/* Base styles */
|
||||
html, body {
|
||||
background-color: var(--color-background);
|
||||
color: var(--color-light);
|
||||
font-family: var(--font-body);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
/* Base layer — element defaults via Tailwind utilities */
|
||||
@layer base {
|
||||
html, body {
|
||||
@apply bg-background text-light font-body antialiased;
|
||||
}
|
||||
|
||||
h1 { @apply font-heading font-normal text-h1 leading-normal; }
|
||||
h2 { @apply font-heading font-normal text-h2 leading-normal; }
|
||||
h3 { @apply font-heading font-normal text-h3 leading-normal; }
|
||||
h4 { @apply font-heading font-normal text-h4 leading-normal; }
|
||||
h5 { @apply font-heading font-normal text-h5 leading-normal; }
|
||||
h6 { @apply font-heading font-normal text-h6 leading-normal; }
|
||||
}
|
||||
|
||||
/* Headings */
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: var(--font-heading);
|
||||
font-weight: 400;
|
||||
}
|
||||
/* Scrollbar — no Tailwind equivalent for pseudo-elements */
|
||||
::-webkit-scrollbar { width: 8px; height: 8px; }
|
||||
::-webkit-scrollbar-track { background: transparent; }
|
||||
::-webkit-scrollbar-thumb { @apply bg-night rounded-pill; }
|
||||
::-webkit-scrollbar-thumb:hover { @apply bg-dark; }
|
||||
|
||||
/* Scrollbar styling */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
/* Focus & Selection — pseudo-elements require raw CSS */
|
||||
:focus-visible { @apply outline-2 outline-primary outline-offset-2; }
|
||||
::selection { @apply text-light; background-color: rgba(0, 163, 224, 0.3); }
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--color-night);
|
||||
border-radius: var(--radius-pill);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--color-dark);
|
||||
}
|
||||
|
||||
/* Focus styles */
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--color-primary);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* Selection */
|
||||
::selection {
|
||||
background-color: rgba(0, 163, 224, 0.3);
|
||||
color: var(--color-light);
|
||||
}
|
||||
|
||||
/* Prose/Markdown styles */
|
||||
.prose {
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.prose p {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.prose strong {
|
||||
font-weight: 700;
|
||||
color: var(--color-light);
|
||||
}
|
||||
|
||||
.prose code {
|
||||
background: var(--color-night);
|
||||
padding: 0.15em 0.4em;
|
||||
border-radius: 4px;
|
||||
font-family: 'Consolas', 'Monaco', monospace;
|
||||
font-size: 0.9em;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.prose pre {
|
||||
background: var(--color-night);
|
||||
padding: 1em;
|
||||
border-radius: var(--radius-sm);
|
||||
overflow-x: auto;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.prose pre code {
|
||||
background: none;
|
||||
padding: 0;
|
||||
color: var(--color-light);
|
||||
}
|
||||
|
||||
.prose blockquote {
|
||||
border-left: 3px solid var(--color-primary);
|
||||
padding-left: 1em;
|
||||
margin: 0.5em 0;
|
||||
color: var(--color-text-muted);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.prose ul, .prose ol {
|
||||
padding-left: 1.5em;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.prose ul {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
.prose ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
.prose li {
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
|
||||
.prose h1, .prose h2, .prose h3, .prose h4 {
|
||||
color: var(--color-light);
|
||||
margin: 0.75em 0 0.5em;
|
||||
font-family: var(--font-heading);
|
||||
}
|
||||
|
||||
.prose a {
|
||||
color: var(--color-primary);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.prose hr {
|
||||
border: none;
|
||||
border-top: 1px solid var(--color-dark);
|
||||
margin: 1em 0;
|
||||
/* Prose/Markdown styles — used by the TipTap editor */
|
||||
@layer components {
|
||||
.prose { @apply leading-relaxed; }
|
||||
.prose p { @apply my-2; }
|
||||
.prose strong { @apply font-bold text-light; }
|
||||
.prose code { @apply bg-night px-1.5 py-0.5 rounded text-primary text-[0.9em]; font-family: 'Consolas', 'Monaco', monospace; }
|
||||
.prose pre { @apply bg-night p-4 rounded-sm overflow-x-auto my-2; }
|
||||
.prose pre code { @apply bg-transparent p-0 text-light; }
|
||||
.prose blockquote { @apply border-l-3 border-primary pl-4 my-2 text-text-muted italic; }
|
||||
.prose ul, .prose ol { @apply pl-6 my-2; }
|
||||
.prose ul { @apply list-disc; }
|
||||
.prose ol { @apply list-decimal; }
|
||||
.prose li { @apply my-1; }
|
||||
.prose h1, .prose h2, .prose h3, .prose h4 { @apply text-light font-heading; margin: 0.75em 0 0.5em; }
|
||||
.prose a { @apply text-primary underline; }
|
||||
.prose hr { @apply border-t border-dark my-4; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user