Fix project and blog posts

This commit is contained in:
itsfinniii
2026-03-28 19:24:57 +01:00
parent f4319c4165
commit 54e53d278e
7 changed files with 72 additions and 24 deletions

View File

@@ -0,0 +1,13 @@
export function getTypographyClasses() {
return [
"prose prose-neutral",
"prose-h1:mb-2",
"prose-h2:mb-1.5 prose-h2:mt-0.5",
"prose-p:mt-1.5 prose-p:mb-7",
"[&>p:has(+:is(h1,h2,h3,h4,h5,h6))]:mb-8",
"[&>p:has(+p)]:mb-4",
"[&>*:first-child]:mt-0",
"[&>*:last-child]:mb-0",
"[&>pre]:max-w-[100%]"
].join(' ').trim();
}