style: remove hardcoded text color from Article components

This commit is contained in:
hypercross 2026-07-10 15:56:51 +08:00
parent d4ebca5fd0
commit 9790205468
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ const App: Component = () => {
<main ref={mainRef} class="flex-1 min-w-0 overflow-y-auto">
<div class="max-w-4xl mx-auto px-4 py-8">
<Article
class="prose text-black prose-sm max-w-full"
class="prose prose-sm max-w-full"
src={currentPath()}
>
<RevealManager />

View File

@ -121,7 +121,7 @@ export const Article: Component<ArticleProps & ParentProps> = (props) => {
return (
<article
class={`prose text-black ${props.class || ""}`}
class={`prose ${props.class || ""}`}
data-src={props.src}
>
<Show when={content.loading}>