-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from festoney8/dev
merge dev to main, v3.6.2
- Loading branch information
Showing
14 changed files
with
392 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { Group } from '../components/group' | ||
import { CheckboxItem } from '../components/item' | ||
import { isPageSpace } from '../utils/page-type' | ||
import settings from '../settings' | ||
|
||
const spaceGroupList: Group[] = [] | ||
|
||
if (isPageSpace()) { | ||
// 基本功能 | ||
const basicItems = [ | ||
// 修复字体 | ||
new CheckboxItem({ | ||
itemID: 'font-patch', | ||
description: '修复字体 (实验功能)\n直播/热门/空间/稍后再看页', | ||
itemCSS: ` | ||
${settings.fontFaceRegular} | ||
body, | ||
.h .h-sign, | ||
.reply-item .root-reply-container .content-warp .user-info .user-name, | ||
.bili-comment.browser-pc * { | ||
font-family: PingFang SC, HarmonyOS_Regular, Helvetica Neue, Microsoft YaHei, sans-serif !important; | ||
font-weight: 400; | ||
} | ||
body, | ||
.n .n-text { | ||
font-size: 14px; | ||
} | ||
#page-index .channel .channel-item .small-item, | ||
#page-video .page-head__left .be-tab-item, | ||
.n .n-data .n-data-k, | ||
.n .n-data .n-data-v { | ||
font-size: 13px; | ||
} | ||
`, | ||
}), | ||
] | ||
spaceGroupList.push(new Group('space-basic', '空间页 基本功能', basicItems)) | ||
} | ||
|
||
export { spaceGroupList } |
Oops, something went wrong.