style: remove hardcoded text color from Article components
This commit is contained in:
parent
d4ebca5fd0
commit
9790205468
|
|
@ -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 />
|
||||
|
|
|
|||
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue