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

主题配色切换,logo图片切换代码html在哪修改,有知道的大佬麻烦告知小弟一声 #157

Open
zxalive opened this issue Aug 9, 2024 · 8 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@zxalive
Copy link

zxalive commented Aug 9, 2024

image image
@zxalive
Copy link
Author

zxalive commented Aug 9, 2024

image 位置找到了,怎么切,有大佬知道的告诉我一声

@zxalive
Copy link
Author

zxalive commented Aug 9, 2024

image
image
改了这2个地方,还是不行,大佬指点一下

@ruibaby
Copy link
Member

ruibaby commented Aug 22, 2024

需要确保已经编译,以及检查缓存。

@zxalive
Copy link
Author

zxalive commented Aug 24, 2024

需要确保已经编译,以及检查缓存。

感谢回复,清了缓存还是不行,控制台都没有打印,这个方法都不走,就很纳闷

@zxalive
Copy link
Author

zxalive commented Aug 24, 2024

需要确保已经编译,以及检查缓存。

我感觉是我代码写的不对,我不懂前端,这是我的修改记录:
https://zxalive.com/archives/halo-theme-earth-switch-logo-according-to-colorScheme

@zxalive
Copy link
Author

zxalive commented Aug 24, 2024

修改了main.ts,main.life.js怎么才能刷新
image

@JohnNiang
Copy link
Member

Hi @zx9588 ,看来你还是没有真正理解 #157 (comment) 提到的编译是什么意思。

关于如何构建请参考:https://github.com/halo-dev/theme-earth#%E6%9E%84%E5%BB%BA

/kind support

@f2c-ci-robot f2c-ci-robot bot added the kind/support Categorizes issue or PR as a support question. label Aug 25, 2024
@zxalive
Copy link
Author

zxalive commented Aug 26, 2024

Hi @zx9588 ,看来你还是没有真正理解 #157 (comment) 提到的编译是什么意思。

关于如何构建请参考:https://github.com/halo-dev/theme-earth#%E6%9E%84%E5%BB%BA。

/kind support

哦哦 漏了编译了 我一直不知道前端代码怎么打包到那个dist目录 解决了我一个大难题 感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

3 participants