Update docs

This commit is contained in:
the1812 2023-09-24 20:33:08 +08:00
parent b271983629
commit 7978f9491f
2 changed files with 19 additions and 0 deletions

View File

@ -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",

View File

@ -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`