Zuoqiu-Yingyi / siyuan-theme-dark-plus

思源笔记的一款多功能双模式主题 | A multifunctional dual-mode theme of SiYuan Note.
GNU Affero General Public License v3.0
139 stars 14 forks source link

请问如何自定义字体颜色池 #111

Closed tko81 closed 2 years ago

tko81 commented 2 years ago

没要要盯着电脑十几个小时,默认字体颜色有点太亮了,能否自定义颜色,之前在右下角里的开发者工具改过,但是重启后就失去效果了,请问自定义字体属性在哪个本地文件修改呢?

image image
tko81 commented 2 years ago
image

已经找到本地文件,但为什么在本地css内修改了颜色之后,重启思源,还是会回到之前的颜色代码呢,思源每次重启会自动重置本地配置文件吗

tko81 commented 2 years ago

修改完数据之后我把权限改为只读,思源直接打不开了,求大佬支招(修改个颜色好难)

image
Zuoqiu-Yingyi commented 2 years ago
image

已经找到本地文件,但为什么在本地css内修改了颜色之后,重启思源,还是会回到之前的颜色代码呢,思源每次重启会自动重置本地配置文件吗

默认配色文件缺失会在思源启动时重置, 想要自定义配色的话可以新建 data/widgets/custom-light.cssdata/widgets/custom-light.css 两个文件, 在里面设置需要覆盖的颜色配置

tko81 commented 1 year ago

非常感谢!


发件人: 颖逸 @.> 发送时间: 2022年10月2日 12:11 收件人: Zuoqiu-Yingyi/siyuan-theme-dark-plus @.> 抄送: tko81 @.>; Author @.> 主题: Re: [Zuoqiu-Yingyi/siyuan-theme-dark-plus] 请问如何自定义字体颜色池 (Issue #111)

[image]https://user-images.githubusercontent.com/104875084/193435597-9e098d82-4604-4cdd-b631-26e2541a43dd.png

已经找到本地文件,但为什么在本地css内修改了颜色之后,重启思源,还是会回到之前的颜色代码呢,思源每次重启会自动重置本地配置文件吗

默认配色文件缺失会在思源启动时重置, 想要自定义配色的话可以新建 data/widgets/custom-light.css 与 data/widgets/custom-light.css 两个文件, 在里面设置需要覆盖的颜色配置

― Reply to this email directly, view it on GitHubhttps://github.com/Zuoqiu-Yingyi/siyuan-theme-dark-plus/issues/111#issuecomment-1264545345, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZAEITBTXSOKPGLWWITT7VLWBEDP3ANCNFSM6AAAAAAQ2WSX2U. You are receiving this because you authored the thread.Message ID: @.***>