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 ( -
+

{post.attributes.createdAt}

@@ -62,7 +62,7 @@ const Post = ({ post, base }: PostProps) => {
{ return ( -
  • +
  • -

    {title}

    -

    {desc}

    +

    + {title} +

    +

    + {desc} +

    {tags ? : null} -
    diff --git a/src/app/components/ProjectCard.tsx b/src/app/components/ProjectCard.tsx index 3ee88ce..3c2d6d1 100644 --- a/src/app/components/ProjectCard.tsx +++ b/src/app/components/ProjectCard.tsx @@ -21,7 +21,7 @@ const ProjectCard = ({ createdAt, }: ProjectCardProps) => { return ( -
  • +
  • -

    {title}

    -

    {desc}

    +

    + {title} +

    +

    + {desc} +

    {tags ? : null}