fix(ui): Add text-black to prose elements

This commit is contained in:
hyper
2026-07-03 22:11:50 +08:00
parent 0add3f27d5
commit d56e8ca23d
3 changed files with 9 additions and 3 deletions
+4 -1
View File
@@ -88,7 +88,10 @@ export const Article: Component<ArticleProps> = (props) => {
});
return (
<article class={`prose ${props.class || ""}`} data-src={props.src}>
<article
class={`prose text-black ${props.class || ""}`}
data-src={props.src}
>
<Show when={content.loading}>
<div class="text-gray-500">...</div>
</Show>
+1 -1
View File
@@ -80,7 +80,7 @@ export function CardLayer(props: CardLayerProps) {
return (
<>
<article
class="absolute flex flex-col items-stretch justify-center prose prose-sm cursor-pointer"
class="absolute flex flex-col items-stretch justify-center prose text-black prose-sm cursor-pointer"
classList={{
"ring-2 ring-blue-500 ring-offset-1":
isSelected() && !draggingState(),