fi3ework / hexo-theme-archer

🎯 A smart and modern theme for Hexo.
https://fi3ework.github.io/hexo-theme-archer
MIT License
1.52k stars 273 forks source link

fix: in dark theme, gitalk comment container has close color and background-color #344

Closed lulu010722 closed 2 years ago

lulu010722 commented 2 years ago

When you use gitalk in archer's dark mode, the textarea, preview container and the comment content container all have similar color and background color setting. This makes it very hard to see the text.

I have reformatted the dark.css under source\css. The lines that are really changed are 420 - 424.

LolipopJ commented 2 years ago

Thanks for contributing! 🥰

LolipopJ commented 2 years ago

奥,有个小问题:不应该直接修改 source/css 目录下的文件,主题构建的时候会使用 src/scss 目录下的 .scss 样式文件来生成 source/css 中的 .css 样式文件。

可以参考这个(简易)指南,其中与 Gitalk 相关的暗黑模式样式需要修改此文件

lulu010722 commented 2 years ago

啊不好意思,我对scss不太熟悉,我在本地改了css看到生效了就直接fork然后push了哈哈哈哈哈。 你已经merge了啊? 可以用么? 还需要改么?

LolipopJ commented 2 years ago

啊不好意思,我对scss不太熟悉,我在本地改了css看到生效了就直接fork然后push了哈哈哈哈哈。 你已经merge了啊? 可以用么? 还需要改么?

需要改一下的,不然下次构建的时候就会把你改动的地方覆盖掉了。source 目录下的文件都是工程自动生成的。

改好后发一个新的 PR 吧。🥲

lulu010722 commented 2 years ago

啊不好意思,我对scss不太熟悉,我在本地改了css看到生效了就直接fork然后push了哈哈哈哈哈。 你已经merge了啊? 可以用么? 还需要改么?

需要改一下的,不然下次构建的时候就会把你改动的地方覆盖掉了。source 目录下的文件都是工程自动生成的。

改好后发一个新的 PR 吧。🥲

好的。 另外,我又发现了一个问题,已经提交了issue。 (今天是被archer搞疯掉的一天。。)