View Code? Open in Web Editor
NEW
[READ ONLY] Subtree split of the siyuan-packages-monorepo (see https://github.com/Zuoqiu-Yingyi/siyuan-packages-monorepo)
Home Page: https://github.com/Zuoqiu-Yingyi/siyuan-packages-monorepo/tree/main/workspace/plugins/custom-fonts
License: GNU Affero General Public License v3.0
Svelte 50.92%
TypeScript 47.28%
JavaScript 1.79%
siyuan-plugin-custom-fonts's Introduction
siyuan-plugin-custom-fonts's People
Contributors
Watchers
siyuan-plugin-custom-fonts's Issues
大佬您好,下面是我自己改的字体渲染片段,搭配你的插件一起感觉很好用,感觉可以集成进去让更多人用上,一些踩过的坑在这siyuan-note/siyuan#10902
:not(.katex):not(.overlaydiv):not([class*="icon"]):not([class*="button"]){
/*使字体渲染不会应用于部分特殊字符符号和图标以及按钮等网页元素*/
text-shadow: 0.01em 0.01em 0.01em #999999 ;
/*更改字体阴影及透明度,可修改数值实现不同的效果.*/
-webkit-text-stroke-width: 0.10px;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
/*使字体渲染不会应用于公式和图片制卡*/
span:not([class="katex"]) :not([class="overlaydiv"]){
text-shadow: 0.01em 0.01em 0.01em rgba(0,0,0,0) !important;
}
/*使字体渲染不会应用于加粗字体*/
.b3-typography strong, .b3-typography span[data-type~=strong], .protyle-wysiwyg strong, .protyle-wysiwyg span[data-type~=strong] {
text-shadow: 0.01em 0.01em 0.01em #999999 !important;
-webkit-text-stroke-width: 0px !important;
}
请问docker部署的siyuan如何用本插件自定义字体
在集市里下载了一个Twitter emoji插件之后,就失效了。卸载了Twitter emoji插件之后也还是没有恢复。不知道具体是什么原因导致的。
更新:又尝试了一次,恢复了~可能是从卸载到恢复存在一些时滞吧
您好,自定义字体会出现失效的情况,并且更换任何主题或者基础主题都是这样,但是编辑字体可以修改。我试过重新建立新空间,发现新空间不会受到影响,但是之后使用插件修改多次后会再次出现。
字体设置界面顶栏被遮住半行。当前主题是写味Savor 版本v3.8.8.当前思源版本时:2.12.3。