diff --git a/src/app/components/Comment.tsx b/src/app/components/Comment.tsx index aaba1cc..1a48b8b 100644 --- a/src/app/components/Comment.tsx +++ b/src/app/components/Comment.tsx @@ -6,7 +6,9 @@ const UTTERANCES_SCRIPT_OPTIONS = { repo: 'Shubidumdu/shubidumdu.github.io', 'issue-term': 'pathname', label: 'comment', - theme: 'github-light', + theme: window.matchMedia('(prefers-color-scheme: dark)').matches + ? 'dark-blue' + : 'github-light', crossorigin: 'anonymous', } as const; diff --git a/src/app/components/Post.tsx b/src/app/components/Post.tsx index 8eb6d24..f894a8e 100644 --- a/src/app/components/Post.tsx +++ b/src/app/components/Post.tsx @@ -54,7 +54,7 @@ const Post = ({ post, base }: PostProps) => { if (!parsedMarkDown) return null; return ( -
{desc}
++ {desc} +
{desc}
++ {desc} +