diff --git a/doc/features/features.json b/doc/features/features.json index 0a321e95e..d4e3dfcbe 100644 --- a/doc/features/features.json +++ b/doc/features/features.json @@ -191,6 +191,14 @@ "fullRelativePath": "../../registry/dist/components/style/clear-home.js", "fullAbsolutePath": "registry/dist/components/style/clear-home.js" }, + { + "type": "component", + "name": "customFontFamily", + "displayName": "自定义字体", + "description": "by [@Tinhone](https://github.com/Tinhone)\n\n使用组件提供的字体设置覆盖原版的主站字体,并使主站字体可被自定义。字体设置写法请参考 [MDN](https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-family) 、默认设置与设置说明", + "fullRelativePath": "../../registry/dist/components/style/custom-font-family.js", + "fullAbsolutePath": "registry/dist/components/style/custom-font-family.js" + }, { "type": "component", "name": "customNavbar", diff --git a/doc/features/features.md b/doc/features/features.md index 9a5d721d8..072f9af9d 100644 --- a/doc/features/features.md +++ b/doc/features/features.md @@ -233,6 +233,17 @@ by [@RieN7](https://github.com/rien7) 删除首页特定类型的卡片 +### [自定义字体](../../registry/dist/components/style/custom-font-family.js) +`customFontFamily` + +**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/style/custom-font-family.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/style/custom-font-family.js) + +**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/custom-font-family.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/custom-font-family.js) + +by [@Tinhone](https://github.com/Tinhone) + +使用组件提供的字体设置覆盖原版的主站字体,并使主站字体可被自定义。字体设置写法请参考 [MDN](https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-family) 、默认设置与设置说明 + ### [自定义顶栏](../../registry/dist/components/style/custom-navbar.js) `customNavbar`