diff --git a/public/widget.html b/public/widget.html index 4d4e249c..7a0dc5a0 100644 --- a/public/widget.html +++ b/public/widget.html @@ -21,6 +21,10 @@ html.dark #root { background: rgb(64 67 71); } + /* 暗黑模式 & 关闭状态 */ + html.dark.close #root { + background: transparent; + }
diff --git a/src/widget/Icon.tsx b/src/widget/Icon.tsx index 13320317..8e48f0b6 100644 --- a/src/widget/Icon.tsx +++ b/src/widget/Icon.tsx @@ -8,7 +8,7 @@ type Props = { const Icon = ({ handleClick }: Props) => { const { logo } = useAppSelector(store => store.server); if (!logo) return null; - return