From 6e9fb4b3408833615d27d3ef955fb53679724856 Mon Sep 17 00:00:00 2001 From: KazooTTT Date: Fri, 11 Oct 2024 21:40:37 +0800 Subject: [PATCH] feat: update comment theme --- src/components/GiscusComment.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GiscusComment.tsx b/src/components/GiscusComment.tsx index c3176a6..7950b47 100644 --- a/src/components/GiscusComment.tsx +++ b/src/components/GiscusComment.tsx @@ -24,7 +24,7 @@ const GiscusComment = () => { reactionsEnabled='1' emitMetadata='0' inputPosition='bottom' - theme='preferred_color_scheme' + theme={localStorage.getItem('theme') ?? 'preferred_color_scheme'} lang='zh-CN' loading='lazy' />