Skip to content

Commit d1202e2

Browse files
committed
feat: dim Paragraphs in dark mode
1 parent c4d89c7 commit d1202e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Paragraphs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const Paragraphs: FC<{
2828

2929
const child = (
3030
<div
31-
className="text-gray-700 leading-normal"
31+
className="text-gray-700 dark:[&_p]:text-gray-300 dark:[&_div]:text-gray-300 dark:[&_span]:text-gray-300 leading-normal"
3232
style={{
3333
maxHeight: limitHeight,
3434
overflow: 'hidden',

0 commit comments

Comments
 (0)