Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] 请问loveit主题怎么更换字体呢? #868

Open
hzp2333 opened this issue Mar 5, 2024 · 2 comments
Open

[FEATURE] 请问loveit主题怎么更换字体呢? #868

hzp2333 opened this issue Mar 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@hzp2333
Copy link

hzp2333 commented Mar 5, 2024

主题中文文档教程里描述了字体相关的自定义功能。
在自定义样式部分修改assets/css/_override.scss
我尝试修改了但没有变化,个人想要实现的字体:Noto Serif SC
对应调用:
https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap
但是最后页面没有改变,求问有谁知道怎么实现吗?十分感谢!

@hzp2333 hzp2333 added the enhancement New feature or request label Mar 5, 2024
@runzhliu
Copy link

image

global-font-family 也要配置,看看自己配置了没有,我这边测试是可以的。

@hzp2333
Copy link
Author

hzp2333 commented Mar 20, 2024

image

global-font-family 也要配置,看看自己配置了没有,我这边测试是可以的。

感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants