This commit is contained in:
MacRimi 2025-02-15 13:01:40 +01:00
parent 3695a28b97
commit 56e52fb784
2 changed files with 20 additions and 2 deletions

View File

@ -68,3 +68,21 @@
color: #1f2937; color: #1f2937;
} }
/* Ajustes globales para el texto y los bordes */
.prose {
color: #1f2937; /* text-gray-800 */
}
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
color: #111827; /* text-gray-900 */
}
* {
border-color: white;
}

View File

@ -22,9 +22,9 @@ export default async function GuidePage({ params }: { params: { slug: string } }
const guideContent = await getGuideContent(params.slug) const guideContent = await getGuideContent(params.slug)
return ( return (
<div className="container mx-auto px-4 py-16 max-w-3xl bg-white text-gray-900"> <div className="container mx-auto px-4 py-16 max-w-3xl bg-white text-gray-900 border-white">
<div <div
className="prose prose-lg prose-gray max-w-none prose-pre:bg-gray-100 prose-pre:text-gray-900" className="prose prose-lg max-w-none prose-pre:bg-gray-100 prose-pre:text-gray-900 prose-headings:text-gray-900 prose-p:text-gray-800"
dangerouslySetInnerHTML={{ __html: guideContent }} dangerouslySetInnerHTML={{ __html: guideContent }}
/> />
</div> </div>