From 18fa644198759082ff12adfef20b600dad3fcf1f Mon Sep 17 00:00:00 2001 From: Hakadao Date: Thu, 12 Dec 2024 02:26:17 +0800 Subject: [PATCH] fix(top-bar): enforce white icons on user space page --- src/components/TopBar/TopBar.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/TopBar/TopBar.vue b/src/components/TopBar/TopBar.vue index 2aca2591..a659c9d9 100644 --- a/src/components/TopBar/TopBar.vue +++ b/src/components/TopBar/TopBar.vue @@ -72,6 +72,8 @@ const forceWhiteIcon = computed((): boolean => { ) // watch later & history page || /https?:\/\/(?:www.)?bilibili.com\/(?:watchlater|account\/history).*/.test(location.href) + // user space page 空間頁 + || /https?:\/\/space.bilibili\.com\.*/.test(location.href) ) { return true }