From acfc248e33dfbdcb3a9ba6cb813265cd3099e1ab Mon Sep 17 00:00:00 2001 From: huisc Date: Mon, 17 Apr 2023 17:35:55 +0800 Subject: [PATCH] =?UTF-8?q?Waline=E4=BC=9A=E8=87=AA=E5=8A=A8=E9=80=82?= =?UTF-8?q?=E9=85=8D=E7=99=BD=E5=A4=A9/=E9=BB=91=E5=A4=9C=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E6=97=A0=E9=9C=80=E5=86=8D=E5=86=99CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/WalineComponent.js | 1 + styles/globals.css | 14 -------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/components/WalineComponent.js b/components/WalineComponent.js index 7ddc00eec38..0b03392291e 100644 --- a/components/WalineComponent.js +++ b/components/WalineComponent.js @@ -29,6 +29,7 @@ const WalineComponent = (props) => { serverURL: BLOG.COMMENT_WALINE_SERVER_URL, lang: BLOG.lang, reaction: true, + dark: 'html.dark', emoji: [ '//npm.elemecdn.com/@waline/emojis@1.1.0/tieba', '//npm.elemecdn.com/@waline/emojis@1.1.0/weibo', diff --git a/styles/globals.css b/styles/globals.css index 41d9fcd234a..972618ab9b9 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -181,20 +181,6 @@ nav { margin: -0.125em 0.25em; } - -/* waline评论插件夜间适配 */ -.wl-panel{ - @apply dark:bg-black dark:border-gray-800 -} - -.wl-input,.wl-editor{ - @apply dark:focus-within:bg-gray-900 dark:text-gray-200 -} - -.wl-meta > span { - @apply dark:bg-gray-800 !important -} - /* 固定两行 */ .text-line-2 { overflow : hidden;