This commit is contained in:
Ivan Rezchikov
2026-07-11 21:20:57 +03:00
parent e192717466
commit 18161f4604
57 changed files with 1211 additions and 615 deletions
+35 -10
View File
@@ -4,6 +4,16 @@
@custom-variant dark (&:is(.dark *));
@theme {
--text-xs--line-height: 1.5;
--text-sm--line-height: 1.45;
--text-base--line-height: 1.5;
--text-lg--line-height: 1.4;
--text-xl--line-height: 1.35;
--text-2xl--line-height: 1.3;
--text-3xl--line-height: 1.25;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
@@ -133,29 +143,44 @@
}
h1 {
@apply text-3xl tracking-tight underline underline-offset-8 decoration-2
font-size: clamp(1.5rem, 1.3446rem + 0.663vw, 1.875rem);
line-height: 1.15;
letter-spacing: -0.03em;
@apply underline underline-offset-4 sm:underline-offset-8 decoration-2;
}
h2 {
@apply text-2xl tracking-tight
font-size: clamp(1.25rem, 1.1464rem + 0.442vw, 1.5rem);
line-height: 1.2;
letter-spacing: -0.025em;
}
h3 {
@apply text-xl tracking-tight
font-size: clamp(1.125rem, 1.0732rem + 0.221vw, 1.25rem);
line-height: 1.3;
letter-spacing: -0.02em;
}
h4 {
@apply text-lg tracking-tight
}
p {
@apply text-base tracking-tight
font-size: clamp(1rem, 0.9482rem + 0.221vw, 1.125rem);
line-height: 1.35;
letter-spacing: -0.02em;
}
h5 {
@apply text-sm tracking-tight
font-size: clamp(0.875rem, 0.6982rem + 0.221vw, 0.875rem);
line-height: 1.4;
letter-spacing: -0.015em;
}
h6 {
@apply text-xs tracking-tight
font-size: clamp(0.6875rem, 0.6616rem + 0.111vw, 0.75rem);
line-height: 1.4;
letter-spacing: -0.01em;
}
p {
font-size: 1rem;
line-height: 1.5;
letter-spacing: -0.011em;
}